@Test
public void testFormatForCustomObjectReplacesCarriageReturnWithTheirPrintableCounterpart() {

    // Given:
    final TestToString parameter = new TestToString("\r");
    // When:
    String result = underTest.format(parameter);
    // Then:
    assertThat(result).isEqualTo("\\r");
}