Add blueprint wiring for openstack/net-virt-providers
[netvirt.git] / netvirt / renderers / neutron / src / test / java / org / opendaylight / netvirt / 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.netvirt.netvirt.renderers.neutron;
9
10 import org.junit.Test;
11 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
12 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
13 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
14
15 import static org.mockito.Mockito.mock;
16
17 public class NeutronProviderTest {
18     @Test
19     public void testOnSessionInitiated() {
20
21         NeutronProvider provider = new NeutronProvider();
22
23         // ensure no exceptions
24         // currently this method is empty
25
26         //TODO
27         //provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class));
28     }
29
30     @Test
31     public void testClose() throws Exception {
32         NeutronProvider provider = new NeutronProvider();
33
34         // ensure no exceptions
35         // currently this method is empty
36         provider.close();
37     }
38 }