Update project structure to org.onap.aaf
[aaf/authz.git] / authz-service / src / test / java / org / onap / aaf / authz / service / api / JU_API_Delegate.java
1 /*******************************************************************************\r
2  * ============LICENSE_START====================================================\r
3  * * org.onap.aaf\r
4  * * ===========================================================================\r
5  * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6  * * ===========================================================================\r
7  * * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * * you may not use this file except in compliance with the License.\r
9  * * You may obtain a copy of the License at\r
10  * * \r
11  *  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * * \r
13  *  * Unless required by applicable law or agreed to in writing, software\r
14  * * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * * See the License for the specific language governing permissions and\r
17  * * limitations under the License.\r
18  * * ============LICENSE_END====================================================\r
19  * *\r
20  * * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
21  * *\r
22  ******************************************************************************/\r
23 package org.onap.aaf.authz.service.api;\r
24 \r
25 import org.junit.Before;\r
26 import org.junit.Test;\r
27 import org.mockito.Mock;\r
28 import org.onap.aaf.authz.facade.AuthzFacade;\r
29 import org.onap.aaf.authz.service.AuthAPI;\r
30 import org.onap.aaf.authz.service.api.API_Delegate;\r
31 \r
32 public class JU_API_Delegate {\r
33 API_Delegate api_Delegate;\r
34 @Mock\r
35 AuthAPI authzAPI;\r
36 AuthzFacade facade;\r
37         @Before\r
38         public void setUp() {\r
39                 \r
40                 \r
41         }\r
42         \r
43         @SuppressWarnings("static-access")\r
44         @Test\r
45         public void testInit(){\r
46                 \r
47                 try {\r
48                         api_Delegate.init(authzAPI, facade);\r
49                 } catch (Exception e) {\r
50                         // TODO Auto-generated catch block\r
51                         e.printStackTrace();\r
52                 }\r
53         }\r
54 \r
55 }\r