@Test
public void testConvertShouldTrimNonSpaceWhitespaceCharsIfSettingsTrimIsTrue() {

    // Given:
    String data = "\n-1f\n,\r-2\r,\t3.0d\t";
    Class<?>[] parameterTypes = new Class<?>[] { float.class, int.class, double.class };
    when(context.getSplitBy()).thenReturn(",");
    when(context.isTrimValues()).thenReturn(true);
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, context, 20);
    // Then:
    assertThat(result).containsExactly(-1f, -2, 3d);
}