@Test
public void testConvertShouldThrowIllegalArgumentExceptionForTargetTypeConstructorWithStringArgWhichThrowsException() {

    // Given:
    String data = "noInt";
    Class<?>[] parameterTypes = new Class<?>[] { BigInteger.class };
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage(
            "Tried to invoke 'public java.math.BigInteger(java.lang.String)' for argument 'noInt'. Exception was: null");
    // When:
    underTest.convert(data, false, parameterTypes, context, 42);
    // Then: expect exception
}