@Test
public void shouldFailWithCorrectPartialResultOnSubstituteNotFound() {

    String result = null;
    try {
        processor.process("Value {0} {1}", withoutContext(), (k, params) -> "0".equals(k) ? null : "[" + k + "]");
    } catch (ValuePostProcessingException e) {
        result = e.getPartialResult();
    }
    assertEquals("Value {0} [1]", result);
}