Fix Eclipse compilation errors and warnings
[nemo.git] / nemo-impl / src / test / java / org / opendaylight / nemo / user / vnspacemanager / instancecheck / OperationInstanceCheckTest.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.instancecheck;
9
10 import static org.mockito.Mockito.mock;
11
12 import org.junit.Assert;
13 import org.opendaylight.nemo.user.tenantmanager.TenantManage;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.common.rev151010.UserId;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.intent.rev151010.user.intent.operations.Operation;
16 /**
17  * Created by wangjunfei on 2015/11/10.
18  */
19 public class OperationInstanceCheckTest {
20     private OperationInstanceCheck operationInstanceCheck;
21     private TenantManage tenantManage;
22     private UserId userId;
23     private Operation operation;
24
25     @org.junit.Before
26     public void setUp() throws Exception {
27         tenantManage = mock(TenantManage.class);
28         userId = mock(UserId.class);
29         operation = mock(Operation.class);
30         operationInstanceCheck = mock(OperationInstanceCheck.class);
31     }
32
33     @org.junit.Test
34     public void testCheckOperationInstance() throws Exception {
35         Assert.assertNull(operationInstanceCheck.checkOperationInstance(userId,operation));
36     }
37 }