@Test
public void testConvertShouldHandleNullElementAsSingleElement() {

    // Given:
    Object[] data = new Object[] { null };
    Class<?>[] parameterTypes = new Class<?>[] { String.class, int[].class };
    // When:
    Object[] result = underTest.convert(data, true, parameterTypes);
    // Then:
    assertThat(result).containsExactly(null, new int[0]);
}