TrialAppProperties implements AppProperties { @Override public Object get(String key) { return normalizedMap.get(normalize(key)); } TrialAppProperties(Map<String, Object> values);  TrialAppProperties(Map<String, Object> values, List<String> missingKeys);  TrialAppProperties(); @Override List<String> getMissingProperties(); @Override List<String> getKnownProperties(); @Override boolean isValid(); @Override void clear(); @Override Object get(String key); @Override String toString();  }
@Test public void testGetByMixedCaseAnd_DotOK() { TrialAppProperties props = new TrialAppProperties(Collections.singletonMap("kEy_1.2", 12)); assertEquals(12, props.get("Key.1_2")); }
@Test public void testGetByNonExistingKey() { TrialAppProperties props = new TrialAppProperties(Collections.singletonMap("key1", 12)); assertNull(props.get("key2")); }