Unit test modified to be order independent 73/35773/1
authorliamfallon <liam.fallon@ericsson.com>
Wed, 14 Mar 2018 13:41:17 +0000 (13:41 +0000)
committerliamfallon <liam.fallon@ericsson.com>
Wed, 14 Mar 2018 14:03:09 +0000 (14:03 +0000)
commit6b7958a2b6844ef61269adc9b8f0d9571a590718
treef037d859645726662928d53ce7369251b913cc2d
parent22a233570c270369fbe20a712f97430a21652b20
Unit test modified to be order independent

The change of dmaap version caused the order of execution of unit tests to
change. This triggered an assertion fail in this test. The test has been redesigned
to be independent of test invocation order.

Also some small Sonar issues fixed.

Change-Id: I3b3a5b1cb69785c69f818eab2473fdbfbb85dbd1
Issue-ID: POLICY-694
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
policy-management/src/test/java/org/onap/policy/drools/controller/DroolsControllerFactoryTest.java