public void NotPerformableTransitionThrowsException(StateTransitionBase transition) { Should.Throw <InvalidOperationException>(() => transition.Perform(), () => "Transition cannot be performed: ERROR"); }
public void PerformableTransitionDoesNotThrowExceptions(StateTransitionBase transition) { Should.NotThrow(() => transition.Perform()); }