aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-05-21 15:12:08 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-05-21 15:12:16 +0530
commitc5a7332b4eb975fd0e50b5dfd80c1d655a246a9a (patch)
tree9fa0d99c0f4a4451faecb44fdcc28de5f99620d0 /src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java
parentebbbdfe1543809bc044781f3ce30e65d106e21d8 (diff)
fixed some JUnits
Issue-ID: DMAAP-1415 Change-Id: I22386744f2d015bd7a9aeb1ee3a6aa47fcb475a2 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java')
-rw-r--r--src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java b/src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java
index 8c71f2f..af5ccd2 100644
--- a/src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java
+++ b/src/test/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchConsumerTest.java
@@ -31,6 +31,7 @@ import org.junit.Test;
import org.onap.dmaap.mr.client.MRClientFactory;
import org.onap.dmaap.mr.client.MRConsumer;
+import static org.junit.Assert.assertNotNull;
public class MRSimplerBatchConsumerTest {
@@ -60,7 +61,8 @@ public class MRSimplerBatchConsumerTest {
}
} catch (Exception e) {
System.err.println ( e.getClass().getName () + ": " + e.getMessage () );
- }
+ }
+ assertNotNull(cc);
}