void (@NotNull HierarchyNodeDescriptor descriptor, @NotNull Element expectedElement) { assertEquals("parent: " + descriptor.getParentDescriptor(), expectedElement.getAttributeValue(TEXT_ATTR_NAME), descriptor.getHighlightedText().getText()); }