Exemplo n.º 1
0
        public void ExecuteOn_should_dispatch_a_MoveForward_to_the_Robot()
        {
            forwardMovement.ExecuteOn(RobotMock.Object);

            RobotMock.Verify(x => x.MoveForward());
        }
Exemplo n.º 2
0
        public void ExecuteOn_should_dispatch_a_RotateRight_to_the_Robot()
        {
            rightMovement.ExecuteOn(RobotMock.Object);

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