示例#1
0
        public void Idle_State_Back_Command()
        {
            // Arrange
            var fakeState   = State.Idle;
            var fakeSession = GetFakeSession(fakeState: fakeState);

            // Act
            var idleLogic = new IdleLogic(_logicTranslationsMock.Object);
            var result    = idleLogic.Back(fakeSession);

            // Assert
            Assert.AreEqual(fakeSession.State, State.Idle);
        }