### Question:
IdServicesDecoratorUtils { public static Map toLowerCaseKeys(Map attrs) { if (attrs != null) { AMHashMap lowerCaseMap = new AMHashMap(isBinary(attrs)); for (Object key : attrs.keySet()) { lowerCaseMap.put(key == null ? null : key.toString().toLowerCase(), attrs.get(key)); } return lowerCaseMap; } return attrs; } private  IdServicesDecoratorUtils(); static Map toLowerCaseKeys(Map attrs);  }### Answer:
@Test public void shouldReturnNullResultForNullInput() { assertNull(IdServicesDecoratorUtils.toLowerCaseKeys(null)); }
@Test public void shouldReturnLowerCaseKeys() { String key = "ASampleKey"; Object value = "Some Value"; Map input = Collections.singletonMap(key, value); Map output = IdServicesDecoratorUtils.toLowerCaseKeys(input); assertEquals(output, Collections.singletonMap(key.toLowerCase(), value)); }