Add unit test for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git] / wfenginemgrservice / src / test / java / org / onap / workflow / resources / WorkflowAppConfigTest.java
1 /**
2  * Copyright 2017 ZTE Corporation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.workflow.resources;
18
19 import org.junit.After;
20 import org.junit.AfterClass;
21 import org.junit.Before;
22 import org.junit.BeforeClass;
23 import org.junit.Test;
24 import org.onap.workflow.entity.MsbClientConfig;
25
26 public class WorkflowAppConfigTest {
27
28   private MsbClientConfig msbClientConfig;
29
30   @BeforeClass
31   public static void setUpBeforeClass() throws Exception {}
32
33   @AfterClass
34   public static void tearDownAfterClass() throws Exception {}
35
36   @Before
37   public void setUp() throws Exception {
38     msbClientConfig = new MsbClientConfig();
39   }
40
41   @After
42   public void tearDown() throws Exception {}
43
44   @Test
45   public final void testGetMsbClientConfig() {
46     msbClientConfig.getMsbSvrIp();
47     // assertTrue("true", 1 == 1);
48   }
49
50
51   @Test
52   public final void testSetMsbClientConfig() {
53     msbClientConfig.setMsbSvrIp("127.0.0.1");
54     // assertTrue("true", 1 == 1);
55   }
56
57 }