public void Test___Method_Reset___Status_Stopped() { var testee = new NullActivity(); testee.Stop(); Assert.AreEqual(ActivityStatus.Stopped, testee.Status); testee.Reset(); Assert.AreEqual(ActivityStatus.Created, testee.Status); }
public async Task Test___Method_Reset___Status_Completed() { var testee = new NullActivity(); await testee.Start(); Assert.AreEqual(ActivityStatus.Completed, testee.Status); testee.Reset(); Assert.AreEqual(ActivityStatus.Created, testee.Status); }