Changes to startup archetype to incorporate IT testing
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / impl / src / test / java / __packageInPathFormat__ / impl / __classPrefix__ProviderTest.java
diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/test/java/__packageInPathFormat__/impl/__classPrefix__ProviderTest.java b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/test/java/__packageInPathFormat__/impl/__classPrefix__ProviderTest.java
deleted file mode 100644 (file)
index 09b3dc4..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-#set( $provider = "${classPrefix}Provider" )
-/*
- * ${copyright} 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 ${package}.impl;
-
-import org.junit.Test;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-
-import static org.mockito.Mockito.mock;
-
-public class ${classPrefix}ProviderTest {
-    @Test
-    public void testOnSessionInitiated() {
-        ${provider} provider = new ${provider}();
-
-        // ensure no exceptions
-        // currently this method is empty
-        provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
-    }
-
-    @Test
-    public void testClose() throws Exception {
-        ${provider} provider = new ${provider}();
-
-        // ensure no exceptions
-        // currently this method is empty
-        provider.close();
-    }
-}