### Question:
DbfRow { public byte getByte(String fieldName) throws DbfException { return getNumber(fieldName).byteValue(); } 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 getByte() { byte value = 2; DbfRow dbfRow = createRow(null, value); assertEquals(0, dbfRow.getByte(COLUMN_1)); assertEquals(value, dbfRow.getByte(COLUMN_2)); }