void (@NotNull HierarchyTreeStructure treeStructure, @NotNull HierarchyNodeDescriptor descriptor, @NotNull Element expectedElement) { String baseAttrValue = expectedElement.getAttributeValue(BASE_ATTR_NAME); HierarchyNodeDescriptor baseDescriptor = treeStructure.getBaseDescriptor(); boolean mustBeBase = "true".equalsIgnoreCase(baseAttrValue); assertEquals("Incorrect base node", mustBeBase, baseDescriptor == descriptor); }