public void SetStateTestSimpleScenario() { GApplicationMock application = new GApplicationMock(); GThreadMock thread = new GThreadMock(); // NOTE: In fact, this exercises the State implementation found in GThreadMock thread.SetState(ThreadState.Scheduled); Assert.AreEqual(ThreadState.Scheduled, thread.State); }
public void SetStateTestSimpleScenario() { GApplicationMock application = new GApplicationMock(); GThreadMock thread = new GThreadMock(); // NOTE: In fact, this exercises the State implementation found in GThreadMock thread.SetState(ThreadState.Scheduled); Assert.AreEqual(ThreadState.Scheduled, thread.State); }