Modernize netconf-util tests 03/96303/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 23 May 2021 18:06:45 +0000 (20:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 23 May 2021 18:07:47 +0000 (20:07 +0200)
commit096fb6e154cae2dda192360bf2b7bea17cfe9f4c
treee88209ed1e108f0af87d9463a06219093f8cfb3b
parentb4fd666ef21dedfea9506cd63c0c44d2f7565b46
Modernize netconf-util tests

Use assertThrows() and fixup imports a bit.

Change-Id: I2816141af08815afb0dc926e78ace962ba561ded
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-util/src/test/java/org/opendaylight/netconf/util/CloseableUtilTest.java
netconf/netconf-util/src/test/java/org/opendaylight/netconf/util/NetconfUtilTest.java
netconf/netconf-util/src/test/java/org/opendaylight/netconf/util/xml/HardcodedNamespaceResolverTest.java
netconf/netconf-util/src/test/java/org/opendaylight/netconf/util/xml/XMLNetconfUtilTest.java