void (List<TestDataFile> testDataFiles) { List<String> names = ContainerUtil.map(testDataFiles, TestDataFile::getName); assertNotNull(names); assertEquals(names.toString(), 2, names.size()); Collections.sort(names); assertEquals("somethingAS.java", names.get(0)); assertEquals("somethingAS_after.java", names.get(1)); }