### Question:
ActiveRecord { public List<T> destroy() { return getRecordEngine().destroy(getRecord()); } ActiveRecord(final RecordEngine<T> recordEngine); List<T> update(); List<T> destroy(); List<T> create(); boolean isValid(); RecordEngine<T> getRecordEngine(); boolean isRecordEnginePresent();  }### Answer:
@Test public void testDestroy() { final RecordEngine<Data> engine = makeRecordEngine(); final ActiveRecord<Data> activeRecord = activeRecord(engine); activeRecord.destroy(); verify(engine).destroy(activeRecord.getRecord()); }