@Test
public void testReadRestOfDBFRecords() throws Exception {

	try {
		this.reader.readRestOfDBFRecords();
		fail("MustCallReadHeaderFunctionException is expected"); //$NON-NLS-1$
	}
	catch(MustCallReadHeaderFunctionException exception) {
		// Expected exception
	}
	
	this.reader.readDBFHeader();
	this.reader.readDBFFields();
	this.reader.skip(19);
	
	DBaseFileRecord record;
	List<DBaseFileRecord> records = this.reader.readRestOfDBFRecords();
	assertNotNull(records);
	assertEquals(2, records.size());
	
	record = records.get(0);
	assertNotNull(record);
	assertEquals(19, record.getRecordIndex());
	assertEquals(161+94*19, record.getRecordOffset());
	assertEquals(PHOTOGRAMMETRIE_VALUE, record.getFieldValue(0));
	assertEquals("Religieux", record.getFieldValue(1)); //$NON-NLS-1$
	assertEquals("Eglise", record.getFieldValue(2)); //$NON-NLS-1$
	assertEquals(15., record.getFieldValue(3));
	record = records.get(1);
	assertNotNull(record);
	assertEquals(20, record.getRecordIndex());
	assertEquals(161+94*20, record.getRecordOffset());
	assertEquals(PHOTOGRAMMETRIE_VALUE, record.getFieldValue(0));
	assertEquals("Religieux", record.getFieldValue(1)); //$NON-NLS-1$
	assertEquals("Eglise", record.getFieldValue(2)); //$NON-NLS-1$
	assertEquals(11., record.getFieldValue(3));
}