public void ExecuteOn_should_dispatch_a_MoveForward_to_the_Robot()
        {
            forwardMovement.ExecuteOn(RobotMock.Object);

            RobotMock.Verify(x => x.MoveForward());
        }
示例#2
0
        public void ExecuteOn_should_dispatch_a_RotateRight_to_the_Robot()
        {
            rightMovement.ExecuteOn(RobotMock.Object);

            RobotMock.Verify(x => x.RotateRight());
        }