diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2019-03-20 11:40:27 +0100 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2019-03-22 12:19:23 +0100 |
commit | e1e919792e77cd504e41bb21f93b3a50ef894541 (patch) | |
tree | b6e6af8dac76710f2b93d5b8a8f0b14aa63ecafd /rest-services/cbs-client/src/test | |
parent | 9b5df83176a2e2bf20442285b01ba4cd710fb7b8 (diff) |
Add JavaDoc to CBS streams API
Change-Id: Ia702750e0ec6bf54418eafb00523681429d86b22
Issue-ID: DCAEGEN2-1341
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'rest-services/cbs-client/src/test')
-rw-r--r-- | rest-services/cbs-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/cbs/client/impl/CbsClientImplIT.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rest-services/cbs-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/cbs/client/impl/CbsClientImplIT.java b/rest-services/cbs-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/cbs/client/impl/CbsClientImplIT.java index 33b09208..a51b87aa 100644 --- a/rest-services/cbs-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/cbs/client/impl/CbsClientImplIT.java +++ b/rest-services/cbs-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/cbs/client/impl/CbsClientImplIT.java @@ -35,6 +35,7 @@ import org.onap.dcaegen2.services.sdk.rest.services.adapters.http.test.DummyHttp import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.CbsClient; import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.CbsClientFactory; import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.CbsRequests; +import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.exceptions.StreamParsingException; import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.streams.DataStreams; import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.streams.StreamFromGsonParser; import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.streams.StreamFromGsonParsers; @@ -222,7 +223,7 @@ class CbsClientImplIT { // then StepVerifier.create(result) .expectErrorSatisfies(ex -> { - assertThat(ex).isInstanceOf(IllegalArgumentException.class); + assertThat(ex).isInstanceOf(StreamParsingException.class); assertThat(ex).hasMessageContaining("Invalid stream type"); assertThat(ex).hasMessageContaining("message_router"); assertThat(ex).hasMessageContaining("kafka"); |