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