537d0acea9fd44b51550cd3d2e3f7162f972161d
[vpnservice.git] / itm / itm-impl / src / test / java / org / opendaylight / vpnservice / itm / impl / ItmProviderTest.java
1 /*
2  * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.vpnservice.itm.impl;
9
10 import org.junit.Test;
11 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
12 import org.opendaylight.vpnservice.itm.impl.ItmProvider;
13
14 import static org.mockito.Mockito.mock;
15
16 public class ItmProviderTest {
17     @Test
18     public void testOnSessionInitiated() {
19         ItmProvider provider = new ItmProvider();
20
21         // ensure no exceptions
22         // currently this method is empty
23         provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
24     }
25
26     @Test
27     public void testClose() throws Exception {
28         ItmProvider provider = new ItmProvider();
29
30         // ensure no exceptions
31         // currently this method is empty
32         provider.close();
33     }
34 }