diff options
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java')
-rw-r--r-- | src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java new file mode 100644 index 0000000..7a3c9a1 --- /dev/null +++ b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java @@ -0,0 +1,27 @@ +package org.onap.sdc.dcae.composition.restmodels.ruleeditor; + +import org.junit.Test; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +public class MapActionTest { + private MapAction classUnderTest = new MapAction(); + + @Test + public void checkEqualsTrueOther() { + MapAction equalMapAction = new MapAction(); + assertTrue(classUnderTest.equals(equalMapAction)); + } + + @Test + public void checkEqualsTrueSame() { + assertTrue(classUnderTest.equals(classUnderTest)); + } + + @Test + public void checkEqualsFalse() { + assertFalse(classUnderTest.equals(null)); + } + +} |