Initial checkin for ITM module
[vpnservice.git] / itm / itm-impl / src / test / java / org / opendaylight / vpnservice / itm / impl / ItmProviderTest.java
diff --git a/itm/itm-impl/src/test/java/org/opendaylight/vpnservice/itm/impl/ItmProviderTest.java b/itm/itm-impl/src/test/java/org/opendaylight/vpnservice/itm/impl/ItmProviderTest.java
new file mode 100644 (file)
index 0000000..537d0ac
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.vpnservice.itm.impl;
+
+import org.junit.Test;
+import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
+import org.opendaylight.vpnservice.itm.impl.ItmProvider;
+
+import static org.mockito.Mockito.mock;
+
+public class ItmProviderTest {
+    @Test
+    public void testOnSessionInitiated() {
+        ItmProvider provider = new ItmProvider();
+
+        // ensure no exceptions
+        // currently this method is empty
+        provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
+    }
+
+    @Test
+    public void testClose() throws Exception {
+        ItmProvider provider = new ItmProvider();
+
+        // ensure no exceptions
+        // currently this method is empty
+        provider.close();
+    }
+}