diff options
Diffstat (limited to 'src/test/java/org/onap/aai/sparky/config/oxm/OxmEntityDescriptorTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/sparky/config/oxm/OxmEntityDescriptorTest.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/test/java/org/onap/aai/sparky/config/oxm/OxmEntityDescriptorTest.java b/src/test/java/org/onap/aai/sparky/config/oxm/OxmEntityDescriptorTest.java deleted file mode 100644 index dea5d79..0000000 --- a/src/test/java/org/onap/aai/sparky/config/oxm/OxmEntityDescriptorTest.java +++ /dev/null @@ -1,41 +0,0 @@ -package org.onap.aai.sparky.config.oxm; - -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; - -import java.util.ArrayList; - -import org.junit.Before; -import org.junit.Test; - -public class OxmEntityDescriptorTest { - - private OxmEntityDescriptor oxmEntityDescriptor; - private ArrayList<String> primaryKeyAttributeNames; - - @Before - public void init() throws Exception { - oxmEntityDescriptor = new OxmEntityDescriptor(); - primaryKeyAttributeNames = new ArrayList<String>(); - - } - - @Test - public void updateValues() { - - oxmEntityDescriptor.setEntityName(""); - assertNotNull(oxmEntityDescriptor.getEntityName()); - oxmEntityDescriptor.setPrimaryKeyAttributeNames(primaryKeyAttributeNames); - assertNotNull(oxmEntityDescriptor.getPrimaryKeyAttributeNames()); - oxmEntityDescriptor.addPrimaryKeyName(""); - assertNotNull(oxmEntityDescriptor.toString()); - oxmEntityDescriptor.setEntityName(null); - assertNull(oxmEntityDescriptor.getEntityName()); - oxmEntityDescriptor.setPrimaryKeyAttributeNames(null); - assertNull(oxmEntityDescriptor.getPrimaryKeyAttributeNames()); - assertNotNull(oxmEntityDescriptor.toString()); - - - } - -} |