classNestedChildren = setUpCompilationUnit("/filemetadata/outline/classes/ClassWithValidMembersNested.cls");
triggerNestedChildren = setUpCompilationUnit("/filemetadata/outline/classes/TriggerWithValidMembers.trigger");
}
private Object[] setUpCompilationUnit(String testFile) throws IOException, URISyntaxException, RecognitionException {
CompilationUnit cu = ParserTestUtil.parseCompilationUnitFromFile(testFile);
<BUG>RootElementFilter filter = new RootElementFilter();
</BUG>
cu._switch(filter);
return provider.getChildren(filter.getRootElements()[0]);
}

classNestedChildren = setUpCompilationUnit("/filemetadata/outline/classes/ClassWithValidMembersNested.cls");
triggerNestedChildren = setUpCompilationUnit("/filemetadata/outline/classes/TriggerWithValidMembers.trigger");
}
private Object[] setUpCompilationUnit(String testFile) throws IOException, URISyntaxException, RecognitionException {
CompilationUnit cu = ParserTestUtil.parseCompilationUnitFromFile(testFile);
RootElementFilterOld filter = new RootElementFilterOld();
cu._switch(filter);
return provider.getChildren(filter.getRootElements()[0]);
}
