@Test
public void testFormatAllReplacesNullTerminatorWithTheirPrintableCounterpartEvenIfWithText() {

    // Given:
    final Object[] parameters = new Object[] { "test\0test\0" };
    // When:
    String result = underTest.formatAll(parameters);
    // Then:
    assertThat(result).isEqualTo("test\\0test\\0");
}