@Test
public void testGetOrCreateWriter_Setter() {

    TargetPropertyWriter defaultWriter = (t, v) -> {};
    TargetPropertyWriterFactory<C1> factory = new TargetPropertyWriterFactory<>(C1.class, mock(ObjEntity.class));
    TargetPropertyWriter setter = factory.getOrCreateWriter("me", "dbDummy", () -> defaultWriter);
    assertNotSame(defaultWriter, setter);
    assertSame(setter, factory.getOrCreateWriter("me", "dbDummy", () -> defaultWriter));
}