Utility test classes have to have a private constructor, but there
is no point in guarding it with an UOE.
Change-Id: I658835c9c6a93032637198d66f08f8d0e0d6b0b5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
YangInstanceIdentifier.builder(ANOTHER_SHARD_PATH).node(NEW_SHARD_LIST).build();
private TestModel() {
- throw new UnsupportedOperationException();
+ // Hidden on purpose
}
public static EffectiveModelContext createTestContext() {
YangInstanceIdentifier.of(MANDATORY_DATA_TEST_QNAME);
private TestModel() {
- throw new UnsupportedOperationException();
+ // Hidden on purpose
}
public static EffectiveModelContext createTestContext() {