Modernize AbstractLocalTransactionRequestTest 97/103097/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Nov 2022 21:17:46 +0000 (22:17 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Nov 2022 21:18:31 +0000 (22:18 +0100)
commit52e799f3376cbe41d9da965054c7847c98775df9
treed9833e001d72d4359c30dd73e13acd611ed1fe1b
parentbe61ca85c121e1b1fe05be37ab893e305683e0b7
Modernize AbstractLocalTransactionRequestTest

Use static imports and use assertThrows() and better assertion on the
thrown exception.

Change-Id: I9b11e8a6797b76efa52f1eb3506b630de4a3ae44
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/commands/AbstractLocalTransactionRequestTest.java