public void Move_IfCommandR_CallRActionInvoker()
        {
            var instance = new SingleCommandInvoker(MActionInvoker.Object, LActionInvoker.Object, RActionInvoker.Object);

            instance.Move("R", null);

            MActionInvoker.Verify(x => x.Move(null), Times.Never);
            LActionInvoker.Verify(x => x.Move(null), Times.Never);
            RActionInvoker.Verify(x => x.Move(null), Times.Once);
        }
        public void Move_IfCommandUnKnown_ThrowsException()
        {
            var instance = new SingleCommandInvoker(MActionInvoker.Object, LActionInvoker.Object, RActionInvoker.Object);

            Assert.ThrowsException <System.Exception>(() => instance.Move("XYZ", null));
        }
        public void Move_IfCommandNull_ThrowsException()
        {
            var instance = new SingleCommandInvoker(MActionInvoker.Object, LActionInvoker.Object, RActionInvoker.Object);

            Assert.ThrowsException <System.ArgumentNullException>(() => instance.Move(null, null));
        }