@Test
public void testFormatAllReplacesCarriageReturnsAndLineFeedsWithTheirPrintableCounterpart() {

    // Given:
    final Object[] parameters = new Object[] { "A very\r\nlong text\nwith multiple\rdifferent newline\n\rvariations." };
    // When:
    String result = underTest.formatAll(parameters);
    // Then:
    assertThat(result).isEqualTo("A very\\r\\nlong text\\nwith multiple\\rdifferent newline\\n\\rvariations.");
}