public void Ctor_WithNoArguments_CreatesModelWithZeroCount() { var local = new SimplifiedKeyDictionaryMother.Implementation(); Assert.IsNotNull(local); Assert.AreEqual(0, local.Count); AssertEnumerator(local); }
private static void AssertEnumerator(SimplifiedKeyDictionaryMother.Implementation dictionary) { var counter = 0; foreach (var item in dictionary) { counter++; } Assert.AreEqual(dictionary.Count, counter); }
public void SetUp() { this.model = SimplifiedKeyDictionaryMother.Implementation.Create(); }