Migrate to assertThrows() 62/99662/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Feb 2022 17:52:38 +0000 (18:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Feb 2022 17:52:38 +0000 (18:52 +0100)
commit849505ca5c8e65e52149677b468de2f61f212bfb
tree8a0a716854564ddeaddc073295b1aa4489e79337
parent86655234bc3de66c76e120e2235ad1d06bb89aab
Migrate to assertThrows()

ExpectedException.none() is deprecated, use assertThrows() to narrow
down the code that is expected to throw instead.

Change-Id: Iaeeef4adb3309e1356eb03ff30fb1c6988d5491a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
extension/openflowplugin-extension-nicira/src/test/java/org/opendaylight/openflowplugin/extension/vendor/nicira/convertor/action/RegLoad2ConvertorTest.java