@Test
public void substituteFailsWithNullHeaders() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.substitute("doesNotMatter", (DittoHeaders) null));
}