Class<?> unionTypeClass = Class.forName(CompilationTestUtils.BASE_PKG
+ ".urn.opendaylight.yang.union.test.rev160509.UnionType", true, loader);
Class<?> unionTypeClass = Class.forName(CompilationTestUtils.BASE_PKG
+ ".urn.opendaylight.yang.union.test.rev160509.UnionType", true, loader);
// test UnionType with IdentOne argument
Constructor<?> unionTypeIdentBaseConstructor = CompilationTestUtils.assertContainsConstructor(unionTypeClass,
// test UnionType with IdentOne argument
Constructor<?> unionTypeIdentBaseConstructor = CompilationTestUtils.assertContainsConstructor(unionTypeClass,
Method getUint8 = unionTypeClass.getDeclaredMethod("getUint8");
Object actualUint8 = getUint8.invoke(unionType);
Method getUint8 = unionTypeClass.getDeclaredMethod("getUint8");
Object actualUint8 = getUint8.invoke(unionType);
Method getIdentityref = unionTypeClass.getDeclaredMethod("getIdentityref");
Object actualIdentityref = getIdentityref.invoke(unionType);
Method getIdentityref = unionTypeClass.getDeclaredMethod("getIdentityref");
Object actualIdentityref = getIdentityref.invoke(unionType);