diff options
Diffstat (limited to 'controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java')
-rw-r--r-- | controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java b/controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java index f193a8de7..2b6dc7452 100644 --- a/controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java +++ b/controlloop/common/model-impl/aai/src/test/java/org/onap/policy/aai/AAINQExtraPropertyTest.java @@ -38,9 +38,11 @@ public class AAINQExtraPropertyTest { @Test public void test() { AAINQExtraProperty aaiNQExtraProperty = new AAINQExtraProperty(); - aaiNQExtraProperty.propertyName = "model.model-name"; - aaiNQExtraProperty.propertyValue= "service-instance"; + aaiNQExtraProperty.setPropertyName("model.model-name"); + aaiNQExtraProperty.setPropertyValue("service-instance"); assertNotNull(aaiNQExtraProperty); - } + assertEquals(aaiNQExtraProperty.getPropertyName(), "model.model-name"); + assertEquals(aaiNQExtraProperty.getPropertyValue(), "service-instance"); + } } |