diff options
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java')
-rw-r--r-- | src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java new file mode 100644 index 0000000..defec7f --- /dev/null +++ b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java @@ -0,0 +1,28 @@ +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 DateFormatterActionTest { + private DateFormatterAction classUnderTest = new DateFormatterAction(); + + @Test + public void checkEqualsTrueOther() { + DateFormatterAction dateFormatterAction = new DateFormatterAction(); + assertTrue(classUnderTest.equals(dateFormatterAction)); + } + + @Test + public void checkEqualsTrueSame() { + assertTrue(classUnderTest.equals(classUnderTest)); + } + + @Test + public void checkEqualsFalse() { + assertFalse(classUnderTest.equals(null)); + } + + +} |