diff options
author | 2020-07-28 17:58:22 +0000 | |
---|---|---|
committer | 2020-07-28 17:58:22 +0000 | |
commit | 32eae2731c8ac4e7b7787ca620cf19f2b7e5ddd6 (patch) | |
tree | bebf9f80cb26bacd24eda18dfdd21d7c429bf644 /tools/simple-wsclient/src | |
parent | 2169b3fbf66153ea7e066ba0057585822208d6f4 (diff) | |
parent | b2e2d5f8daeefb08873d11de44cb4cfe7cfab03a (diff) |
Merge "SONAR assertions apex-pdp"
Diffstat (limited to 'tools/simple-wsclient/src')
-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 |