@Test
public void testConvertShouldNotTrimValuesIfSettingsTrimIsFalse() {

    // Given:
    String data = " foo|  bar   |baz    ";
    Class<?>[] parameterTypes = new Class<?>[] { String.class, String.class, String.class };
    when(context.getSplitBy()).thenReturn("\\|");
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, context, 12);
    // Then:
    assertThat(result).containsExactly(" foo", "  bar   ", "baz    ");
}