ECL-48 Refactoring RecordResourceTest