public void testSuccessWriteRecord() throws Exception {
assertTrue(filer.writeRecord(TEST_KEY, TEST_VALUE));
assertEquals(1, filer.getRecordCount());
Record result = filer.readRecord(TEST_KEY);
assertEquals(TEST_VALUE, result.getValue());
RecordSet set = filer.getRecordSet();
assertEquals(result.getValue(), set.getNextRecord().getValue());
assertTrue(set.hasMoreRecords() == false);
filer.deleteRecord(TEST_KEY);
assertEquals(0, filer.getRecordCount());
}