@Test public void testClearNew() { stateManager.clearNew(persistent); Assert.assertFalse(persistent.isNew()); }
@Override public void clearNew(Persistent persistent) { this.isNew = false; }
StateManagerImpl implements StateManager { @Override public void clearNew(Persistent persistent) { this.isNew = false; } }
StateManagerImpl implements StateManager { @Override public void clearNew(Persistent persistent) { this.isNew = false; } StateManagerImpl(); }
StateManagerImpl implements StateManager { @Override public void clearNew(Persistent persistent) { this.isNew = false; } StateManagerImpl(); void setManagedPersistent(Persistent persistent); @Override boolean isNew(Persistent persistent); @Override void setNew(Persistent persistent); @Override void clearNew(Persistent persistent); void setDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent); @Override void setDirty(Persistent persistent); @Override void clearDirty(Persistent persistent, int fieldIndex); void clearDirty(Persistent persistent); void setReadable(Persistent persistent, int fieldIndex); boolean isReadable(Persistent persistent, int fieldIndex); @Override void clearReadable(Persistent persistent, int fieldIndex); void clearReadable(Persistent persistent); }
StateManagerImpl implements StateManager { @Override public void clearNew(Persistent persistent) { this.isNew = false; } StateManagerImpl(); void setManagedPersistent(Persistent persistent); @Override boolean isNew(Persistent persistent); @Override void setNew(Persistent persistent); @Override void clearNew(Persistent persistent); void setDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent); @Override void setDirty(Persistent persistent); @Override void clearDirty(Persistent persistent, int fieldIndex); void clearDirty(Persistent persistent); void setReadable(Persistent persistent, int fieldIndex); boolean isReadable(Persistent persistent, int fieldIndex); @Override void clearReadable(Persistent persistent, int fieldIndex); void clearReadable(Persistent persistent);  }