@Test
public void testProcessShouldReplaceSinglePlaceholderSurroundedByOtherPlaceholders() {

    // Given:
    BasePlaceholder underTest = new TestPlaceholder("%s", "##baz##");
    // When:
    String result = underTest.process(null, "%a%s%b");
    // Then:
    assertThat(result).isEqualTo("%a##baz##%b");
}