bdc11c18414659694d161490e4ee71e4aca5fd55
[vfc/nfvo/wfengine.git] / wfenginemgrservice / src / test / java / org / onap / workflow / resources / ToolUtilTest.java
1 /**
2  * Copyright 2016-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 static org.junit.Assert.assertTrue;
20
21 import org.junit.After;
22 import org.junit.AfterClass;
23 import org.junit.Before;
24 import org.junit.BeforeClass;
25 import org.junit.Test;
26 import org.mockito.InjectMocks;
27 import org.onap.workflow.activitiext.common.ToolUtil;
28
29 /**
30  * @author 10175158
31  *
32  */
33 public class ToolUtilTest {
34
35   @InjectMocks
36   private ToolUtil toolUtil;
37
38   /**
39    * @throws java.lang.Exception
40    */
41   @BeforeClass
42   public static void setUpBeforeClass() throws Exception {}
43
44   /**
45    * @throws java.lang.Exception
46    */
47   @AfterClass
48   public static void tearDownAfterClass() throws Exception {}
49
50   /**
51    * @throws java.lang.Exception
52    */
53   @Before
54   public void setUp() throws Exception {}
55
56   /**
57    * @throws java.lang.Exception
58    */
59   @After
60   public void tearDown() throws Exception {}
61
62   @SuppressWarnings("static-access")
63   @Test
64   public void test() {
65     toolUtil.isEmptyString(null);
66   }
67
68 }