public void Clean_IsDirtyReturnsFalse() { LexEntry entry = new LexEntry(); entry.Clean(); Assert.IsFalse(entry.IsDirty); }
public void LexEntryChanges_IsDirtyReturnsTrue() { LexEntry entry = new LexEntry(); entry.Clean(); entry.Senses.Add(new LexSense()); Assert.IsTrue(entry.IsDirty); }