54b83be9112e940c89c90d5cf7a0cc543d7bd105
[nemo.git] / nemo-impl / src / test / java / org / opendaylight / nemo / user / vnspacemanager / structurestyle / deleteintent / DeleteFlowTest.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.FlowId;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.common.rev151010.UserId;
16 public class DeleteFlowTest{
17         private DataBroker dataBroker;
18     private TenantManage tenantManage;
19         private DeleteFlow deleteflow;
20         private UserId userId;
21     private     FlowId flowId;
22         @org.junit.Before
23         public void setUp() throws Exception {
24                 dataBroker=mock(DataBroker.class);
25                 tenantManage=mock(TenantManage.class);
26                 deleteflow=mock(DeleteFlow.class);
27                 userId=mock(UserId.class);
28                 flowId=mock(FlowId.class);
29         }
30         @org.junit.Test
31         public void  DeleteFlowHandlingTest() throws Exception{
32                 Assert.assertNull(deleteflow.DeleteFlowHandling(userId,flowId));
33         }
34 }