@Test
public void getWithDefaultShouldReturnMapValueWhenPresent(){

    when(config.containsKey("a")).thenReturn(true);
    when(config.get("a")).thenReturn("b");
    assertEquals("b", toTest.get("a", "c"));
}