public void testInnerClassCreationForBitsAndUnionsInLeafes() throws Exception {
final URI yangTypesPath = getClass().getResource("/bit_and_union_in_leaf.yang").toURI();
- final SchemaContext context = YangParserTestUtils.parseYangSources(new File(yangTypesPath));
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(new File(yangTypesPath));
assertTrue(context != null);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);