public void StateTransitionEqualsStateTransitionsWithDifferentCurrentStateAndConditionReturnsFalse()
 {
     var transition1 = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_RUN);
     var transition2 = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_CONTINUE);
     Assert.IsFalse(transition1.Equals(transition2));
     transition1 = new StateMachine.StateTransition(STATE_ERROR, CONDITION_CONTINUE);
     transition2 = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_CONTINUE);
     Assert.IsFalse(transition1.Equals(transition2));
 }
 public void StateTransitionEqualsNullReturnsFalse()
 {
     var transition = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_RUN);
     Assert.IsFalse(transition.Equals(null));
 }
 public void StateTransitionEqualsStateTransitionsWithSameCurrentStateAndConditionReturnsTrue()
 {
     var transition1 = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_RUN);
     var transition2 = new StateMachine.StateTransition(STATE_INITIALSTATE, CONDITION_RUN);
     Assert.IsTrue(transition1.Equals(transition2));
 }