* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Hashtable;
import java.util.Map;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.DecisionRequestParameters;
+import org.onap.policy.api.DecisionRequestParameters;
import static org.junit.Assert.*;
// add additional test code here
assertNotNull(result);
- assertEquals(null, result.getECOMPComponentName());
+ assertEquals(null, result.getONAPComponentName());
assertEquals(null, result.getDecisionAttributes());
assertEquals(null, result.getRequestID());
}
@Test
public void testDecisionRequestParameters_2()
throws Exception {
- String eCOMPComponentName = "";
+ String onapComponentName = "";
Map<String, String> decisionAttributes = new Hashtable<String, String>();
UUID requestID = UUID.randomUUID();
- DecisionRequestParameters result = new DecisionRequestParameters(eCOMPComponentName, decisionAttributes, requestID);
+ DecisionRequestParameters result = new DecisionRequestParameters(onapComponentName, decisionAttributes, requestID);
// add additional test code here
assertNotNull(result);
- assertEquals("", result.getECOMPComponentName());
+ assertEquals("", result.getONAPComponentName());
}
/**
}
/**
- * Run the String getECOMPComponentName() method test.
+ * Run the String getONAPComponentName() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testGetECOMPComponentName_1()
+ public void testGetONAPComponentName_1()
throws Exception {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
- String result = fixture.getECOMPComponentName();
+ String result = fixture.getONAPComponentName();
// add additional test code here
assertEquals("", result);
}
/**
- * Run the void setECOMPComponentName(String) method test.
+ * Run the void setONAPComponentName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testSetECOMPComponentName_1()
+ public void testSetONAPComponentName_1()
throws Exception {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
- String eCOMPComponentName = "";
+ String onapComponentName = "";
- fixture.setECOMPComponentName(eCOMPComponentName);
+ fixture.setONAPComponentName(onapComponentName);
// add additional test code here
}