summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-10-03 08:32:54 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-10-03 08:32:54 +0300
commitee96ce43b819ff4a65345a03f6336b79b2f3e1b8 (patch)
tree654b9abc65f5097eb176bc055b046cc5ab65f50a /vid-app-common/src/test
parent70998db210b9969a9012fcaba79198e69b9abb5b (diff)
add test case of restCall to outgoing request header test
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d32b225c47f9cf5af187d2c2bb850e9519d4bfc
Diffstat (limited to 'vid-app-common/src/test')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java b/vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java
index c27d6e4e1..94282f343 100644
--- a/vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java
@@ -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[][]{});
}