diff options
Diffstat (limited to 'tools/simple-wsclient')
-rw-r--r-- | tools/simple-wsclient/src/test/java/org/onap/policy/apex/tools/simple/wsclient/WsClientTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/simple-wsclient/src/test/java/org/onap/policy/apex/tools/simple/wsclient/WsClientTest.java b/tools/simple-wsclient/src/test/java/org/onap/policy/apex/tools/simple/wsclient/WsClientTest.java index 8ff185504..6faafe759 100644 --- a/tools/simple-wsclient/src/test/java/org/onap/policy/apex/tools/simple/wsclient/WsClientTest.java +++ b/tools/simple-wsclient/src/test/java/org/onap/policy/apex/tools/simple/wsclient/WsClientTest.java @@ -21,6 +21,7 @@ package org.onap.policy.apex.tools.simple.wsclient; +import static org.assertj.core.api.Assertions.assertThatCode; import static org.junit.Assert.assertTrue; import java.io.ByteArrayInputStream; @@ -38,7 +39,7 @@ public class WsClientTest { final String[] EventArgs = { "-h" }; - WsClientMain.main(EventArgs); + assertThatCode(() -> WsClientMain.main(EventArgs)).doesNotThrowAnyException(); } @Test |