summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test/java/io
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/lisp2vpp/src/test/java/io')
-rw-r--r--lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/initializers/LispInitializerTest.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/initializers/LispInitializerTest.java b/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/initializers/LispInitializerTest.java
deleted file mode 100644
index d14140f3f..000000000
--- a/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/initializers/LispInitializerTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package io.fd.honeycomb.lisp.translate.initializers;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.mockito.Mockito.mock;
-
-import org.junit.Test;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev161214.Lisp;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev161214.LispState;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev161214.LispStateBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev161214.lisp.feature.data.grouping.LispFeatureDataBuilder;
-
-
-public class LispInitializerTest {
- @Test
- public void convert() throws Exception {
-
- final LispInitializer initializer = new LispInitializer(mock(DataBroker.class));
- final LispState state = new LispStateBuilder()
- .setEnable(true)
- .setLispFeatureData(new LispFeatureDataBuilder().build())
- .build();
-
- final Lisp operational = initializer.convert(state);
-
- assertNotNull(operational);
- assertEquals(operational.isEnable(), state.isEnable());
- assertEquals(operational.getLispFeatureData(), state.getLispFeatureData());
- }
-
-} \ No newline at end of file