public void Decrement_CountEqualZero_ThrowInvalidOperationException() { var word = new Word("a"); word.Decrement(); Assert.Throws<InvalidOperationException>(word.Decrement); }
public void Decrement_DecrementCount() { var word = new Word("a"); word.Decrement(); Assert.AreEqual(0, word.Count); }