summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/MapActionTest.java
blob: 7a3c9a190a82319c30310873b88e9408f1520e6d (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
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));
    }

}