@Test
public void shouldUseFallBackWhenGetterIsNotPublic() throws IllegalAccessException {

    Foo foo = new Foo();
    Field field = Foo.class.getDeclaredFields()[2];
    field.setAccessible(true);
    FieldWriter writer = factory.apply(field);
    Assertions.assertNotNull(writer);
    writer.write(foo, "update");
    Assertions.assertEquals("update", field.get(foo));
}