Remove use of org.junit.rules.ExpectedException 00/87100/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 11:02:46 +0000 (12:02 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 23 Jan 2020 11:19:43 +0000 (11:19 +0000)
commit219f8cfe65beae4753ceddae0063a461426137ad
tree3fe756c6ce2c17098c6250375de1ddc4b15e1576
parent7a16567bacf436c18cf666633938c490424ef107
Remove use of org.junit.rules.ExpectedException

We can use assertThrows() instead.

Change-Id: I8d752851d11496c74388f625067e41582447a8c5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-util/src/test/java/org/opendaylight/mdsal/binding/model/util/BindingGeneratorUtilTest.java
binding/mdsal-binding-generator-util/src/test/java/org/opendaylight/mdsal/binding/model/util/TypeNameTest.java