From ee96ce43b819ff4a65345a03f6336b79b2f3e1b8 Mon Sep 17 00:00:00 2001 From: Eylon Malin Date: Thu, 3 Oct 2019 08:32:54 +0300 Subject: add test case of restCall to outgoing request header test Issue-ID: VID-253 Signed-off-by: Eylon Malin Change-Id: I3d32b225c47f9cf5af187d2c2bb850e9519d4bfc --- .../src/test/java/org/onap/vid/mso/rest/OutgoingRequestHeadersTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'vid-app-common/src/test/java/org') 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.>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[][]{}); } -- cgit 1.2.3-korg