Modernize ExceptionReportingTest 64/100064/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Mar 2022 08:05:22 +0000 (09:05 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Mar 2022 10:29:15 +0000 (11:29 +0100)
commit930e41e099e19109e13d4bca4f3bc90aa890e702
treebaacf35109c2e9166bd82b99c7969d1d12e59e04
parent2cb2f633b95084c2a2a00a8ae14e2a97bf9fff4f
Modernize ExceptionReportingTest

Use assertThrows() instead of @Test(expected = ) and make sure we
do not perform active operations during class init.

Change-Id: I54b54ebe1f98d632878c9359e7dc42aa1d44d803
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/ExceptionReportingTest.java