ChangeableListTests GetEmulatorAndResetAndClearIt Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void GetEmulatorAndResetAndClearIt()
Examples

[Test]
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();
}
See Also