public void RemoveNewSubMachineAddedToLastLayer() { SubStateMachine subStateMachine = stateMachine.AddSubStateMachine("newSubState", "newSubMachine"); Assert.IsTrue(stateMachine.HasSubStateMachine(SubStateMachineSelection.ID, "newSubState", StateMachineBuilder.layerWithEnum)); stateMachine.RemoveSubStateMachine(subStateMachine); Assert.IsFalse(stateMachine.HasSubStateMachine(SubStateMachineSelection.ID, "newSubState", StateMachineBuilder.layerWithEnum)); }
public void AddSubMachine_ReturnsSomething() { Assert.IsNotNull(stateMachine.AddSubStateMachine(iD, subMachineName)); }