import java.lang.reflect.Constructor;
import org.junit.Test;
-import org.opendaylight.mdsal.binding.generator.impl.CodecTypeUtils;
import org.opendaylight.yangtools.yang.binding.Identifiable;
import org.opendaylight.yangtools.yang.binding.Identifier;
@Test(expected = UnsupportedOperationException.class)
public void privateConstructTest() throws Throwable {
- final Constructor constructor = CodecTypeUtils.class.getDeclaredConstructor();
+ final Constructor<?> constructor = CodecTypeUtils.class.getDeclaredConstructor();
constructor.setAccessible(true);
try {
constructor.newInstance();