Modernize testutils tests 70/100870/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Apr 2022 16:44:50 +0000 (18:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Apr 2022 16:44:50 +0000 (18:44 +0200)
commit80197ad7e563032a0243f4df9d178909c6f79610
tree64a8ed36b083631cfa4d0d97ff5fd651f526b002
parent973291f2cbf36233db82096856131ec63ee1728e
Modernize testutils tests

Ditch the use of Truth and use assertThrows() instead of explicit
try/catch blocks.

Change-Id: I449b187fe5fa1497fe5bf6a63367e42fa9706fa7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/testutils/pom.xml
common/testutils/src/test/java/org/opendaylight/yangtools/testutils/mockito/tests/MethodExtensionsTest.java
common/testutils/src/test/java/org/opendaylight/yangtools/testutils/mockito/tests/MikitoTest.java
common/testutils/src/test/java/org/opendaylight/yangtools/testutils/mockito/tests/MockitoExampleTutorialTest.java
common/testutils/src/test/java/org/opendaylight/yangtools/testutils/mockito/tests/MockitoUnstubbedMethodExceptionAnswerTest.java