@Test public void testGetOrCreateWriter_Null() { TargetPropertyWriterFactory<C1> factory = new TargetPropertyWriterFactory<>(C1.class, mock(ObjEntity.class)); assertThrows(NullPointerException.class, () -> factory.getOrCreateWriter("dummy", "dbDummy", () -> null)); }
public TargetPropertyWriter getOrCreateWriter(String property) { return getOrCreateWriter(property, property, () -> NULL_WRITER); }
TargetPropertyWriterFactory { public TargetPropertyWriter getOrCreateWriter(String property) { return getOrCreateWriter(property, property, () -> NULL_WRITER); } }
TargetPropertyWriterFactory { public TargetPropertyWriter getOrCreateWriter(String property) { return getOrCreateWriter(property, property, () -> NULL_WRITER); } TargetPropertyWriterFactory(Class<T> type, ObjEntity entity); }
TargetPropertyWriterFactory { public TargetPropertyWriter getOrCreateWriter(String property) { return getOrCreateWriter(property, property, () -> NULL_WRITER); } TargetPropertyWriterFactory(Class<T> type, ObjEntity entity); TargetPropertyWriter getOrCreateWriter(String property); TargetPropertyWriter getOrCreateWriter(
            String propertyName,
            String dbName,
            Supplier<TargetPropertyWriter> defaultWriterSupplier); }
TargetPropertyWriterFactory { public TargetPropertyWriter getOrCreateWriter(String property) { return getOrCreateWriter(property, property, () -> NULL_WRITER); } TargetPropertyWriterFactory(Class<T> type, ObjEntity entity); TargetPropertyWriter getOrCreateWriter(String property); TargetPropertyWriter getOrCreateWriter(
            String propertyName,
            String dbName,
            Supplier<TargetPropertyWriter> defaultWriterSupplier);  }