### Question:
DbfRow { public Date getDate(String fieldName) throws DbfException { Date value = (Date) get(fieldName); return value == null ? null : value; } DbfRow(DbfHeader header, Charset defaultCharset, Object[] row); BigDecimal getBigDecimal(String fieldName); Date getDate(String fieldName); String getString(String fieldName); String getString(String fieldName, Charset charset); boolean getBoolean(String fieldName); int getInt(String fieldName); short getShort(String fieldName); byte getByte(String fieldName); long getLong(String fieldName); float getFloat(String fieldName); double getDouble(String fieldName); Object getObject(String fieldName);  }### Answer:
@Test public void getDate() { final Date value = new Date(); DbfRow dbfRow = createRow(null, value); assertNull(dbfRow.getDate(COLUMN_1)); assertEquals(value, dbfRow.getDate(COLUMN_2)); }