@Test
public void testConvertShouldTrimAndParseAllPrimitiveTypesIfSettingsTrimIsTrue() {

    // Given:
    String data = "   false   ;    11    ;    z    ;  22       ;   33   ;44      ;   55.55     ;  66.66     ";
    Class<?>[] parameterTypes = new Class<?>[] { boolean.class, byte.class, char.class, short.class, int.class,
            long.class, float.class, double.class };
    when(context.getSplitBy()).thenReturn(";");
    when(context.isTrimValues()).thenReturn(true);
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, context, 13);
    // Then:
    assertThat(result).containsExactly(false, (byte) 11, 'z', (short) 22, 33, 44L, 55.55f, 66.66d);
}