ScenarioSimulationSharedUtils { public static boolean isList(String className) { return List.class.getCanonicalName().equals(className) || ArrayList.class.getCanonicalName().equals(className) || LinkedList.class.getCanonicalName().equals(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 isList() { assertTrue(listValues.stream().allMatch(ScenarioSimulationSharedUtils::isList)); }