@Test
public void testConvertShouldThrowIllegalArgumentExceptionIfClassNameIsInvalid() {

    // Given:
    String data = "String";
    Class<?>[] parameterTypes = new Class<?>[] { Class.class };
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("Unable to instantiate 'Class' for 'String'");
    // When:
    underTest.convert(data, false, parameterTypes, context, 55);
    // Then: expect exception
}