### Question:
Model implements QueryResult { protected void afterDelete() { }  boolean isValid(); final boolean exists(); final boolean save(); final boolean save(Transaction t); final void saveAsync(); final void saveAsync(final OnSavedCallback callback); final void delete(); final void delete(Transaction t); final void deleteAsync(); final void deleteAsync(final OnDeletedCallback callback);  }### Answer:
@Test public void afterDelete() { TestModel m = new TestModel(); m.title = "hej"; m.save(); assertFalse(m.deleted); m.delete(); assertTrue(m.deleted); }