### Question:
Section { public String getOrDefault (String key, String defaultStr) { String value = this.valuesMap.get(key.hashCode()); if (value == null) { return defaultStr; } return value; } Section(); String getOrDefault(String key, String defaultStr); String get(String key); int getIntOrDefault(String key, int defaultValue);  }### Answer:
@Test public void testGetOrDefault () { Section section = new Section(); assertEquals(null, section.getOrDefault("test-key", null)); assertEquals("", section.getOrDefault("test-key", "")); }