@Test(expected = IllegalArgumentException.class)
public void testConvertShouldThrowIllegalArgumentExceptionIfParameterTypesIsEmpty() {

    // Given:
    Object data = null;
    Class<?>[] parameterTypes = new Class<?>[0];
    // When:
    underTest.convert(data, false, parameterTypes, dataProvider);
    // Then: expect exception
}