public void CanTransition() { sut.Transition(obj, "end"); Assert.True(sut.IsInWorkflow(obj)); Assert.That(sut.HasBeenInWorkflow(obj) == true); }
public void CanExitWorkflow() { sut.End(obj); Assert.False(sut.IsInWorkflow(obj)); Assert.Null(sut.HasBeenInWorkflow(obj)); }