BasePlaceholder extends com.tngtech.junit.dataprovider.placeholder.BasePlaceholder { protected abstract String getReplacementFor(String placeholder); BasePlaceholder(String placeholderRegex); void setContext(Method method, int idx, Object[] parameters); String process(String formatPattern);  }
@Test public void testGetReplacemantForShouldStillDoTheSameAsBefore() { BasePlaceholder underTest = new TestPlaceholder("%s", "replacement"); String result = underTest.getReplacementFor("%s"); assertThat(result).isEqualTo("replacement"); }