@Test
public void testConvertShouldCorrectlyParseAllPrimitiveWrapperTypes() {

    // Given:
    String data = "true,1,c,2,3,4,5.5,6.6";
    Class<?>[] parameterTypes = new Class<?>[] { Boolean.class, Byte.class, Character.class, Short.class,
            Integer.class, Long.class, Float.class, Double.class };
    when(context.getSplitBy()).thenReturn(",");
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, context, 60);
    // Then:
    assertThat(result).containsExactly(
            Boolean.TRUE, Byte.valueOf((byte) 1), Character.valueOf('c'), Short.valueOf((short) 2),
            Integer.valueOf(3), Long.valueOf(4L), Float.valueOf(5.5f), Double.valueOf(6.6d));
}