public void TestOne() { enumerator = MakeIterator(new int[] { 10 }); Assert.IsTrue(enumerator.MoveNext()); Assert.AreEqual(10, enumerator.Current.Get("Id")); Assert.IsFalse(enumerator.MoveNext()); }
public void TestEmpty() { enumerator = MakeIterator(new int[0]); Assert.IsFalse(enumerator.MoveNext()); }