Support Throwables in expectException() 62/69762/2
authorJim Hahn <jrh3@att.com>
Wed, 3 Oct 2018 16:09:28 +0000 (12:09 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 3 Oct 2018 17:23:56 +0000 (13:23 -0400)
commitee70adfa3010dbde69e2fffda8527d81a6429e96
tree8a01df88de9a07e560aab800bcb4496bbe259854
parentd94a034ad6a871e024d84d42d97d40b83af0770d
Support Throwables in expectException()

Also fixed some bugs in the junit tests.
Renamed expectException() to assertThrows().
Added test cases.

Change-Id: I13dff0007e35c2d2521a4ca40bb65e6820416ed1
Issue-ID: POLICY-1148
Signed-off-by: Jim Hahn <jrh3@att.com>
utils-test/src/main/java/org/onap/policy/common/utils/test/PolicyAssert.java
utils-test/src/test/java/org/onap/policy/common/utils/test/PolicyAssertTest.java