void () { PsiMethod testMethod = getTestMethodWithTestDataDirAndSibling(); List<TestDataFile> result = TestDataGuessByExistingFilesUtil.guessTestDataName(testMethod); assertSize(2, result); assertTrue(!result.get(0).exists() && !result.get(1).exists()); assertEquals(Set.of("before.java", "after.java"), ContainerUtil.map2Set(result, TestDataFile::getName)); String parentName1 = PathUtil.getFileName(PathUtil.getParentPath(result.get(0).getPath())); String parentName2 = PathUtil.getFileName(PathUtil.getParentPath(result.get(1).getPath())); String expected = StringUtil.decapitalize(TestDataGuessByExistingFilesUtil.getTestName(testMethod.getName())); assertEquals(expected, parentName1); assertEquals(expected, parentName2); }