public void CreateStateMachine_StandardOperation_MachineIsCreatedandInitialized() { var startState = new Mock <IState>(); string name = "Testmachine"; IStateMachine actual = StateMachineFactory.CreateStateMachine(this, startState.Object, name); Assert.IsNotNull(actual); Assert.AreEqual(actual.ActualState, startState.Object); }