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

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