### Question:
BeanMapper extends PojoMapper<T> { public static <T> RowMapper<T> of(Class<T> type) { return BeanMapper.of(type, DEFAULT_PREFIX); } private  BeanMapper(Class<T> type, String prefix); static RowMapperFactory factory(Class<?> type); static RowMapperFactory factory(Class<?> type, String prefix); static RowMapper<T> of(Class<T> type); static RowMapper<T> of(Class<T> type, String prefix);  }### Answer:
@Test public void classPropagateNull() { assertThat(handle.select("select 42 as value, null as fk") .map(BeanMapper.of(ClassPropagateNullThing.class)) .one()) .isNull(); }
@Test public void classPropagateNotNull() { assertThat(handle.select("select 42 as value, 'a' as fk") .map(BeanMapper.of(ClassPropagateNullThing.class)) .one()) .extracting(cpnt -> cpnt.value) .isEqualTo(42); }