add test case of restCall to outgoing request header test 36/96536/1
authorEylon Malin <eylon.malin@intl.att.com>
Thu, 3 Oct 2019 05:32:54 +0000 (08:32 +0300)
committerEylon Malin <eylon.malin@intl.att.com>
Thu, 3 Oct 2019 05:32:54 +0000 (08:32 +0300)
Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I3d32b225c47f9cf5af187d2c2bb850e9519d4bfc

vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java

index c27d6e4..94282f3 100644 (file)
@@ -123,6 +123,7 @@ public class OutgoingRequestHeadersTest {
     public Object[][] msoMethods() {
         return Stream.<ThrowingConsumer<RestMsoImplementation>>of(
                 client -> client.GetForObject("/any path", Object.class),
+                client -> client.restCall(HttpMethod.DELETE, Object.class, "some payload", "/any path", Optional.of("userId")),
                 client -> client.PostForObject("some payload", "/any path", Object.class)
         ).map(l -> ImmutableList.of(l).toArray()).collect(Collectors.toList()).toArray(new Object[][]{});
     }