Cleanup netconf-impl tests 02/96302/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 23 May 2021 17:57:41 +0000 (19:57 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 23 May 2021 17:58:32 +0000 (19:58 +0200)
commitb4fd666ef21dedfea9506cd63c0c44d2f7565b46
tree5638da202655836985bed3f1081d4b861471b284
parentf3732177f3314e4c00a1d195cfc6e1119049b88a
Cleanup netconf-impl tests

Use static imports for assert methods, and use assertThrows() instead
of try/catch blocks.

Change-Id: I0054becc441cbe33c6aedf156b267429eb53e224
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-impl/src/test/java/org/opendaylight/netconf/impl/NetconfServerSessionListenerTest.java
netconf/netconf-impl/src/test/java/org/opendaylight/netconf/impl/NetconfServerSessionTest.java
netconf/netconf-impl/src/test/java/org/opendaylight/netconf/impl/osgi/AggregatedNetconfOperationServiceFactoryTest.java
netconf/netconf-impl/src/test/java/org/opendaylight/netconf/impl/osgi/NetconfOperationRouterImplTest.java