void () { PsiMethod testMethod = getTestMethodWithTestDataDir(); List<TestDataFile> result = TestDataGuessByExistingFilesUtil.suggestTestDataFiles( TestDataGuessByExistingFilesUtil.getTestName(testMethod.getName()), null, testMethod.getContainingClass()); assertSize(2, result); assertTrue(result.get(0).exists() && result.get(1).exists()); assertEquals(Set.of("before.java", "after.java"), ContainerUtil.map2Set(result, TestDataFile::getName)); }