summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/common/EventConnectionStateTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/dcae/common/EventConnectionStateTest.java')
-rw-r--r--src/test/java/org/onap/dcae/common/EventConnectionStateTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/java/org/onap/dcae/common/EventConnectionStateTest.java b/src/test/java/org/onap/dcae/common/EventConnectionStateTest.java
index c6327bc..8970e73 100644
--- a/src/test/java/org/onap/dcae/common/EventConnectionStateTest.java
+++ b/src/test/java/org/onap/dcae/common/EventConnectionStateTest.java
@@ -17,11 +17,14 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.dcae.common;
+import static org.junit.Assert.assertEquals;
+
import org.junit.Test;
-import static org.junit.Assert.assertEquals;
+
public class EventConnectionStateTest {
@@ -30,7 +33,7 @@ public class EventConnectionStateTest {
assertEquals(EventConnectionState.INIT, EventConnectionState.fromString("init"));
assertEquals(EventConnectionState.SUBSCRIBED, EventConnectionState.fromString("subscribed"));
assertEquals(EventConnectionState.UNSUBSCRIBED, EventConnectionState.fromString("unsubscribed"));
- assertEquals(EventConnectionState.Unspecified, EventConnectionState.fromString("unspecified"));
+ assertEquals(EventConnectionState.UNSPECIFIED, EventConnectionState.fromString("unspecified"));
}
@Test(expected = IllegalArgumentException.class)