@@ -0,0 +1,990 @@
+package org.sfm.jdbc;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.sql.SQLException;%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0Aimport org.sfm.beans.DbObject;%0Aimport org.sfm.map.MapperBuilderErrorHandler;%0Aimport org.sfm.map.MappingException;%0Aimport org.sfm.utils.ListHandler;%0A%0Apublic class JdbcMapperBuilderTest %7B%0A%0A%09%0A%09@Test%0A%09public void testWithWrongColumn() throws MappingException, SQLException %7B%0A%09%09ResultSetMapperBuilderImpl%3CDbObject%3E builder = new ResultSetMapperBuilderImpl%3CDbObject%3E(DbObject.class);%0A%09%09builder.mapperBuilderErrorHandler(MapperBuilderErrorHandler.NULL);%0A%09%09builder.addIndexedColumn(%22no_id%22).addIndexedColumn(%22no_name%22).addIndexedColumn(%22email%22);%0A%09%09%0A%09%09JdbcMapper%3CDbObject%3E mapper = builder.mapper();%0A%09%09%0A%09%09List%3CDbObject%3E l = mapper.forEach(new MockDbObjectResultSet(1), new ListHandler%3CDbObject%3E()).getList();%0A%09%09%0A%09%09assertEquals(1, l.size());%0A%09%09assertEquals(0, l.get(0).getId());%0A%09%09assertNull(l.get(0).getName());%0A%09%09assertEquals(%22email1%22, l.get(0).getEmail());%0A%09%7D%0A%7D%0A

add test to cover column not found