final int line = 6;
final int col = 8;
RefactoringRequest request = setUpFooModule(line, col, str);
HierarchyNodeModel node = refactorer.findClassHierarchy(request, false);
assertEquals("Leaf", node.name);
assertTrue(node.moduleName.startsWith("foo"));
HierarchyNodeModel mid1 = assertIsIn("Mid1", node.moduleName, node.parents);
HierarchyNodeModel mid2 = assertIsIn("Mid2", node.moduleName, node.parents);
assertIsIn("Root", node.moduleName, mid1.parents);
HierarchyNodeModel root = assertIsIn("Root", node.moduleName, mid2.parents);
assertIsIn("object", null, root.parents);
}