c41e1fd21f2864939a4b119681662c54b16759a7
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / DistributionServiceServletTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.be.servlets;
22
23 import javax.servlet.ServletContext;
24 import javax.servlet.http.HttpServletRequest;
25 import javax.ws.rs.core.Response;
26
27 import org.junit.Test;
28 import org.openecomp.sdc.be.components.impl.DistributionMonitoringBusinessLogic;
29
30 public class DistributionServiceServletTest {
31
32         private DistributionServiceServlet createTestSubject() {
33                 return new DistributionServiceServlet();
34         }
35
36         
37         @Test
38         public void testGetServiceById() throws Exception {
39                 DistributionServiceServlet testSubject;
40                 String serviceUUID = "";
41                 HttpServletRequest request = null;
42                 String userId = "";
43                 Response result;
44
45                 // default test
46                 testSubject = createTestSubject();
47         }
48
49         
50         @Test
51         public void testGetListOfDistributionStatuses() throws Exception {
52                 DistributionServiceServlet testSubject;
53                 String did = "";
54                 HttpServletRequest request = null;
55                 String userId = "";
56                 Response result;
57
58                 // default test
59                 testSubject = createTestSubject();
60         }
61
62         
63         @Test
64         public void testInit() throws Exception {
65                 DistributionServiceServlet testSubject;
66                 HttpServletRequest request = null;
67
68                 // default test
69                 testSubject = createTestSubject();
70         }
71
72         
73         @Test
74         public void testGetDistributionBL() throws Exception {
75                 DistributionServiceServlet testSubject;
76                 ServletContext context = null;
77                 DistributionMonitoringBusinessLogic result;
78
79                 // default test
80                 testSubject = createTestSubject();
81         }
82 }