@Test(expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = ".*written to.*")
public void setValue() throws InvocationTargetException, IllegalAccessException {

    extractor.setObjectValue(new StringToObjectConverter(), new Object(), "bla", "blub");
}