summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/DateFormatterActionTest.java
blob: defec7f10a7bfb61eb1d5cf1e9a89b63bf7d589c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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));
    }


}