Migrate concepts tests to use assertThrows() 04/87104/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:53:43 +0000 (13:53 +0100)
commit14dfa746369dbb6f19c2be1dc5bcab23d69ca50a
tree3db210935b222cd32ee377b35735d5fabcf7228f
parent074c3c767aa476dac172969bbce980dc8a05abda
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