@Test
public void testPlaceholderResolvementBasedOnMap() {

    final Map<String, String> inputMap = new HashMap<>();
    inputMap.put("one", "1");
    inputMap.put("two", "2");
    final ImmutablePlaceholderResolver<Map<String, String>> underTest = new ImmutablePlaceholderResolver<>(
            PlaceholderFactory.newHeadersPlaceholder(), inputMap);
    assertThat(underTest.resolve("one"))
            .contains("1");
    assertThat(underTest.resolve("two"))
            .contains("2");
}