Merge "Use ${project.version} for internal dependencies"
[ovsdb.git] / netvirt / renderers / neutron / src / test / java / org / opendaylight / ovsdb / netvirt / renderers / neutron / NeutronProviderTest.java
1 /*
2  * Copyright (c) 2016 Red Hat, Inc. 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.ovsdb.netvirt.renderers.neutron;
9
10 import org.junit.Test;
11 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
12
13 import static org.mockito.Mockito.mock;
14
15 public class NeutronProviderTest {
16     @Test
17     public void testOnSessionInitiated() {
18         NeutronProvider provider = new NeutronProvider();
19
20         // ensure no exceptions
21         // currently this method is empty
22         provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
23     }
24
25     @Test
26     public void testClose() throws Exception {
27         NeutronProvider provider = new NeutronProvider();
28
29         // ensure no exceptions
30         // currently this method is empty
31         provider.close();
32     }
33 }