Add partical test files
[nemo.git] / nemo-impl / src / test / java / org / opendaylight / nemo / user / transactionmanager / TransactionEndTest.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.transactionmanager;
9
10 import org.opendaylight.nemo.user.transactionmanager.TransactionEnd;
11
12 import static org.mockito.Mockito.mock;
13
14 import org.junit.Assert;
15 import org.junit.Before;
16 import org.junit.Test;
17
18 import org.opendaylight.nemo.user.tenantmanager.AAA;
19 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.intent.rev151010.EndTransactionInput;
20 /**
21  * Created by wangjunfei on 2015/11/9.
22  */
23 public class TransactionEndTest {
24     private AAA aaa;
25     private EndTransactionInput input;
26     private TransactionEnd end;
27
28     @org.junit.Before
29     public void setUp() throws Exception {
30         aaa = mock(AAA.class);
31         input = mock(EndTransactionInput.class);
32         end = mock(TransactionEnd.class);
33     }
34
35     @org.junit.Test
36     public void testTransactionend() throws Exception {
37         Assert.assertNull(end.transactionend(aaa, input));
38     }
39 }