@Test
public void testConvertShouldThrowIllegalArgumentExceptionForUnsupportedTargetType() {

    // Given:
    String data = "noObject";
    Class<?>[] parameterTypes = new Class<?>[] { Object.class };
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage(
            "Type 'Object' is not supported as parameter type of test methods. Supported types are primitive types and their wrappers, 'Enum' values, 'String's, and types having a single 'String' parameter constructor");
    // When:
    underTest.convert(data, false, parameterTypes, context, 43);
    // Then: expect exception
}