9719a45dd18023ed3090b4b1fd46935c7d2ebea1
[nemo.git] / nemo-impl / src / test / java / org / opendaylight / nemo / user / vnspacemanager / structurestyle / deleteintent / DeleteConnectionTest.java
1 /*
2  * Copyright (c) 2015 Huawei, 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.nemo.user.vnspacemanager.structurestyle.deleteintent;
9 import static org.mockito.Mockito.mock;
10
11 import org.junit.Assert;
12 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
13 import org.opendaylight.nemo.user.tenantmanager.TenantManage;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.common.rev151010.ConnectionId;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.common.rev151010.UserId;
16 public class  DeleteConnectionTest{
17             private DataBroker dataBroker;
18         private TenantManage tenantManage;
19         private DeleteConnection deleteconnection;
20         private UserId userId;
21         private ConnectionId connectionID;
22 @org.junit.Before
23 public void setUp() throws Exception {
24             dataBroker=mock(DataBroker.class);
25                 tenantManage=mock(TenantManage.class);
26         deleteconnection=mock(DeleteConnection.class);
27         userId=mock(UserId.class);
28         connectionID=mock(ConnectionId.class);
29         }
30 @org.junit.Test
31 public void DeleteConnectionHandlingTest() throws Exception{
32         Assert.assertNull(deleteconnection.DeleteConnectionHandling(userId,connectionID));
33         }
34         }