@Test
public void testConvertShouldReturnNullObjectWrappedInObjectArray() {

    // Given:
    String data = null;
    Class<?>[] parameterTypes = new Class<?>[] { Integer.class };
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, dataProvider, 1);
    // Then:
    assertThat(result).isEqualTo(new Object[] { null });
}