Migrate concepts tests to use assertThrows() 02/87102/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 12:46:39 +0000 (13:46 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 12:46:39 +0000 (13:46 +0100)
commit3eb81c8dac223b82c8ebc277e7646e4ea38054ec
tree969e86c4d8c4ee912c122709bece23c9bf31c290
parent68e44f106cc8b3ba8e2354f3dfeb3770b868b25a
Migrate concepts tests to use assertThrows()

Rather than using Test(expected=) use a dedicated test, which
pinpoints exactly which call should throw the exception.

Change-Id: I7ff2af221e3260b04ce9a31b7562f6e516af5fdc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/concepts/src/test/java/org/opendaylight/yangtools/concepts/AbstractIllegalArgumentCodecTest.java
common/concepts/src/test/java/org/opendaylight/yangtools/concepts/CheckedValueTest.java