public Map<String, Object> toMap() {
    return ImmutableMap.copyOf(props);
  }
@Test
  public void shouldReturnOnlyKnownKeys() {
    assertThat(propsWithMockParser.toMap().keySet(), containsInAnyOrder("prop-1", "prop-2"));
  }