public void GetEmulatorAndResetAndClearIt()
        {
            Assert.IsFalse(list.IsReadOnly);
            var emulator = list.GetEnumerator();

            Assert.AreEqual(emulator.Current, 0);
            emulator.MoveNext();
            emulator.MoveNext();
            emulator.MoveNext();
            emulator.MoveNext();
            emulator.Reset();
            list.Clear();
        }
Beispiel #2
0
 public void Clear()
 {
     entities.Clear();
     behaviors.Clear();
 }