void () { PsiDirectory psiDir1 = myPsiManager.findDirectory(mySourceRoot1); PsiDirectory psiDir2 = myPsiManager.findDirectory(mySourceRoot2); PsiDirectory psiDir11 = myPsiManager.findDirectory(mySourceRoot11); PsiDirectory psiDir21 = myPsiManager.findDirectory(mySourceRoot21); String pack1 = JavaDirectoryService.getInstance().getPackage(psiDir1).getQualifiedName(); String pack2 = JavaDirectoryService.getInstance().getPackage(psiDir2).getQualifiedName(); String pack11 = JavaDirectoryService.getInstance().getPackage(psiDir11).getQualifiedName(); String pack21 = JavaDirectoryService.getInstance().getPackage(psiDir21).getQualifiedName(); assertEquals("", pack1); assertEquals("", pack2); assertEquals("", pack11); assertEquals("", pack21); }