diff options
author | Taka Cho <takamune.cho@att.com> | 2020-06-08 15:58:46 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-06-10 12:36:02 +0000 |
commit | e0c469dccc5e9c65e1e37d1865b29de4cc7b5fe5 (patch) | |
tree | 7e095339aff2fc417b311896ac041d656f74d943 /feature-pooling-dmaap/src | |
parent | 4bd5e29a227174f95ab91cc0f46cdaf8ae968e3d (diff) |
reduce sonar issue - drools-pdp
remove unused import
rename the method name
Issue-ID: POLICY-2616
Change-Id: I15845159063ec5fa3cfb34a59b9c433ba3201ccc
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'feature-pooling-dmaap/src')
-rw-r--r-- | feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/ProcessingStateTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/ProcessingStateTest.java b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/ProcessingStateTest.java index 14784fc2..3682dcb4 100644 --- a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/ProcessingStateTest.java +++ b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/ProcessingStateTest.java @@ -23,6 +23,7 @@ package org.onap.policy.drools.pooling.state; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; @@ -268,7 +269,7 @@ public class ProcessingStateTest extends SupportBasicStateTester { String[] arr = captureHostArray(); - assertTrue(arr != HOST_ARR3); + assertNotSame(arr, HOST_ARR3); assertEquals(Arrays.asList(HOST_ARR3), Arrays.asList(arr)); } |