RowMapperBuilder { RowMapper<T> build() { builder.addMethod(mapMethod()); return builder.build(); } RowMapperBuilder(Class<T> entityClass, EnumDBMapper enumDBMapper);   }
@Test void sourceCode() { RowMapperBuilder<AutoIncrementIdEntity> builder = new RowMapperBuilder<>(AutoIncrementIdEntity.class, new EnumDBMapper()); RowMapper<AutoIncrementIdEntity> mapper = builder.build(); assertNotNull(mapper); String sourceCode = builder.builder.sourceCode(); assertEquals(ClasspathResources.text("db-test/row-mapper-auto-increment-id.java"), sourceCode); }