@Test
public void testConvertShouldParseNullValuesAsNullObjectIfSettingsConvertNullsIsTrue() {

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