@Test(expected = NullPointerException.class)
public void testConvertShouldThrowNullPointerExceptionIfParameterTypesIsNull() {

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