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