Remove use of org.junit.rules.ExpectedException 99/87099/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 11:02:46 +0000 (12:02 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 11:03:43 +0000 (12:03 +0100)
commitf80dcb3d1ce9ff204e879d4d03874b6b1249934d
tree082bc0c42191c9e22b8f944c0ebe543b955fdbba
parentc4903ecfaca2898bcda71921c839c066411a7c6c
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