ScenarioSimulationSharedUtils { public static boolean isMap(String className) { return Map.class.getCanonicalName().equals(className) || HashMap.class.getCanonicalName().equals(className) || LinkedHashMap.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 isMap() { assertTrue(mapValues.stream().allMatch(ScenarioSimulationSharedUtils::isMap)); }