@Test
void shouldTruncateBodyIfTooLong() {

    final BodyFilter unit = truncate(5);
    final String actual = unit.filter("application/json", "{\"foo\":\"secret\"}");
    assertThat(actual, is("{\"foo..."));
}