void (@NonNls String expected, @Nullable Comparator comparator) { SmartTreeStructure structure = new SmartTreeStructure(myFixture.getProject(), myModel); String actual = PlatformTestUtil.print(structure, structure.getRootElement(), 0, comparator, -1, '.', null).toString(); assertEquals(expected, actual); }