diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-11-01 14:33:14 +0200 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-11-01 14:33:14 +0200 |
commit | c6fe4a8796faaa3ff85d7e47f6e5b8bce2d1b51f (patch) | |
tree | 987c1d7ace2de22ff7991db8f70eb33894e3003e /src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java | |
parent | 446286494f4b23f221aef20507807a6b5a86b157 (diff) |
Adding more UTscasablanca
Raising the code coverage in the project
Change-Id: I4561f75db959bbea12310c08965bacb544cb1f7a
Issue-ID: SDC-1872
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
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)); + } + +} |