void () { PsiClass psiClass = findClass(getModule1(), CLASS_NAME); PsiPackage psiPackage = JUnitUtil.getContainingPackage(psiClass); PsiPackage defaultPackage = psiPackage.getParentPackage(); final Module module = ModuleUtilCore.findModuleForPsiElement(psiClass); final MapDataContext dataContext = new MapDataContext(); dataContext.put(PlatformCoreDataKeys.MODULE.getName(), module); JUnitConfiguration configuration = createJUnitConfiguration(defaultPackage, AllInPackageConfigurationProducer.class, dataContext); checkTestObject(JUnitConfiguration.TEST_PACKAGE, configuration); checkPackage("", configuration); checkGeneretedName(configuration, "All in " + module.getName()); }