X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=itm%2Fitm-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fitm%2Fimpl%2FItmProviderTest.java;fp=itm%2Fitm-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fitm%2Fimpl%2FItmProviderTest.java;h=537d0acea9fd44b51550cd3d2e3f7162f972161d;hb=0a2b4b7ada462bbbfa5ad07ea104b82fc2f2a497;hp=0000000000000000000000000000000000000000;hpb=ff50887efd3e49baa83d8b36a782ab0d139d4976;p=vpnservice.git 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 index 00000000..537d0ace --- /dev/null +++ b/itm/itm-impl/src/test/java/org/opendaylight/vpnservice/itm/impl/ItmProviderTest.java @@ -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(); + } +}