1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 #set( $provider = "${classPrefix}Provider" )
6 * ${copyright} and others. All rights reserved.
8 * This program and the accompanying materials are made available under the
9 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
10 * and is available at http://www.eclipse.org/legal/epl-v10.html
12 package ${package}.impl;
14 import org.junit.Test;
15 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
17 import static org.mockito.Mockito.mock;
19 public class ${classPrefix}ProviderTest {
21 public void testOnSessionInitiated() {
22 ${provider} provider = new ${provider}();
24 // ensure no exceptions
25 // currently this method is empty
26 provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
30 public void testClose() throws Exception {
31 ${provider} provider = new ${provider}();
33 // ensure no exceptions
34 // currently this method is empty