* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.onap.workflow.resources;
import static org.powermock.api.mockito.PowerMockito.mock;
@After
public void tearDown() throws Exception {}
+ @SuppressWarnings("static-access")
@Test
public final void testExecuteHttp() throws Exception {
HttpEntity httpEntity = mock(HttpEntity.class);
restClient.executeHttp(HttpMethod.POST, "127.0.0.1", 80, "test", httpEntity);
}
+ @SuppressWarnings("static-access")
@Test
public final void testExecuteHttpDeleteDeploy() throws Exception {
HttpEntity httpEntity = mock(HttpEntity.class);
restClient.executeHttpDeleteDeploy(HttpMethod.DELETE, "127.0.0.1", 80, "test");
}
+ @SuppressWarnings("static-access")
@Test
public final void testExecuteHttpStartIntance() throws Exception {