Modernize XmlUtilTest 17/105217/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 4 Apr 2023 12:10:17 +0000 (14:10 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 4 Apr 2023 12:56:16 +0000 (12:56 +0000)
commitb70dee56e903aa7de212771c12f16a2df943ad4c
treec0b5e71f65766e069a56986036a1f501830ea359
parent91e642dd6c8079ad221f934c71dafd1583dc81a6
Modernize XmlUtilTest

Use assertThrows() and text blocks to make it clearer as to what
we are doing.

Change-Id: I3ac89a14bc76d4427449aa9f24d820268b709d6e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-api/src/test/java/org/opendaylight/netconf/api/xml/XmlUtilTest.java