### Question:
PassThroughRowMapper implements RowMapper<String[]> { @Override public String[] mapRow(final RowSet rs) throws Exception { return rs.getCurrentRow(); }  @Override String[] mapRow(final RowSet rs);  }### Answer:
@Test public void mapRowShouldReturnSameValues() throws Exception { final String[] row = new String[]{"foo", "bar", "baz"}; MockSheet sheet = new MockSheet("mock", Collections.singletonList( row)); RowSet rs = new DefaultRowSetFactory().create(sheet); assertTrue(rs.next()); assertArrayEquals(row, this.rowMapper.mapRow(rs)); }