void (String... expectedNames) { final XmlTag tag = ((XmlFile)myFixture.getFile()).getDocument().getRootTag(); final List<String> names = Arrays.stream(tag.getSubTags()).map(t -> t.getName()).toList(); TestCase.assertEquals("subtags are different", StringUtil.join(expectedNames, "\n"), StringUtil.join(names, "\n")); }