diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-10-03 08:32:54 +0300 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-10-03 08:32:54 +0300 |
commit | ee96ce43b819ff4a65345a03f6336b79b2f3e1b8 (patch) | |
tree | 654b9abc65f5097eb176bc055b046cc5ab65f50a | |
parent | 70998db210b9969a9012fcaba79198e69b9abb5b (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
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java | 1 |
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[][]{}); } |