@Test
public void testConvertShouldCorrectlyParseAllPrimitiveTypes() {

    // Given:
    String data = "true,1,c,2,3,4,5.5,6.6";
    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:
    Object[] result = underTest.convert(data, false, parameterTypes, context, 10);
    // Then:
    assertThat(result).containsExactly(true, (byte) 1, 'c', (short) 2, 3, 4L, 5.5f, 6.6d);
}