ScenarioSimulationSharedUtils { public static boolean isCollection(String className) { return isList(className) || isMap(className); } private  ScenarioSimulationSharedUtils(); static boolean isCollection(String className); static boolean isList(String className); static boolean isMap(String className); static boolean isEnumCanonicalName(String className); static final String FILE_EXTENSION; }
@Test public void isCollection() { assertTrue(listValues.stream().allMatch(ScenarioSimulationSharedUtils::isCollection)); assertTrue(mapValues.stream().allMatch(ScenarioSimulationSharedUtils::isCollection)); }