2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdc.be.servlets;
23 import javax.servlet.http.HttpServletRequest;
24 import javax.ws.rs.core.Response;
26 import org.junit.Test;
29 public class AdditionalInformationServletTest {
31 private AdditionalInformationServlet createTestSubject() {
32 return new AdditionalInformationServlet();
37 public void testCreateResourceAdditionalInformationLabel() throws Exception {
38 AdditionalInformationServlet testSubject;
39 String resourceId = "";
41 HttpServletRequest request = null;
42 String userUserId = "";
46 testSubject = createTestSubject();
52 public void testCreateServiceAdditionalInformationLabel() throws Exception {
53 AdditionalInformationServlet testSubject;
54 String serviceId = "";
56 HttpServletRequest request = null;
57 String userUserId = "";
61 testSubject = createTestSubject();
67 public void testUpdateResourceAdditionalInformationLabel() throws Exception {
68 AdditionalInformationServlet testSubject;
69 String resourceId = "";
72 HttpServletRequest request = null;
77 testSubject = createTestSubject();
83 public void testUpdateServiceAdditionalInformationLabel() throws Exception {
84 AdditionalInformationServlet testSubject;
85 String serviceId = "";
88 HttpServletRequest request = null;
93 testSubject = createTestSubject();
99 public void testUpdateResourceAdditionalInformationLabel_1() throws Exception {
100 AdditionalInformationServlet testSubject;
101 String resourceId = "";
103 HttpServletRequest request = null;
108 testSubject = createTestSubject();
114 public void testDeleteServiceAdditionalInformationLabel() throws Exception {
115 AdditionalInformationServlet testSubject;
116 String serviceId = "";
118 HttpServletRequest request = null;
123 testSubject = createTestSubject();
129 public void testGetResourceAdditionalInformationLabel() throws Exception {
130 AdditionalInformationServlet testSubject;
131 String resourceId = "";
133 HttpServletRequest request = null;
138 testSubject = createTestSubject();
144 public void testGetServiceAdditionalInformationLabel() throws Exception {
145 AdditionalInformationServlet testSubject;
146 String serviceId = "";
148 HttpServletRequest request = null;
153 testSubject = createTestSubject();
159 public void testGetAllResourceAdditionalInformationLabel() throws Exception {
160 AdditionalInformationServlet testSubject;
161 String resourceId = "";
162 HttpServletRequest request = null;
167 testSubject = createTestSubject();
173 public void testGetAllServiceAdditionalInformationLabel() throws Exception {
174 AdditionalInformationServlet testSubject;
175 String serviceId = "";
176 HttpServletRequest request = null;
181 testSubject = createTestSubject();