Remove use of ExpectedException 05/90005/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 27 May 2020 14:28:55 +0000 (16:28 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 27 May 2020 14:29:20 +0000 (16:29 +0200)
commit4e991c7dc07090690a29b20c962b24ee4dd1f157
tree9b0d2016c4028a4fb054e10620547867f13e6203
parentc4a5044acac899561cf0a2a211e5f3e6128b456c
Remove use of ExpectedException

We have Assert.assertThrows(), hence we can simplify these two tests.

Change-Id: I7a30634c4ae8cd89fb317230bd94f12bac6d8953
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ModuleShardStrategyTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactoryTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.