Do not generate union builders
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / test / java / org / opendaylight / mdsal / binding / java / api / generator / TypeUtilsTest.java
index ab25a370f57584d958b27ac0b47835a4a0857f2f..2121b5313ee31f2a9b5469cc65767435185d3354 100644 (file)
@@ -12,7 +12,6 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
 import com.google.common.collect.ImmutableList;
-import java.lang.reflect.Constructor;
 import org.junit.Test;
 import org.opendaylight.mdsal.binding.model.api.ConcreteType;
 import org.opendaylight.mdsal.binding.model.api.GeneratedProperty;
@@ -47,15 +46,4 @@ public class TypeUtilsTest {
         doReturn(ImmutableList.of(property)).when(rootType).getProperties();
         TypeUtils.getBaseYangType(innerType);
     }
-
-    @Test(expected = UnsupportedOperationException.class)
-    public void constructTest() throws Throwable {
-        final Constructor<TypeUtils> constructor = TypeUtils.class.getDeclaredConstructor();
-        constructor.setAccessible(true);
-        try {
-            constructor.newInstance();
-        } catch (Exception e) {
-            throw e.getCause();
-        }
-    }
 }
\ No newline at end of file