Ejemplo n.º 1
0
        public void ConnectCommand_Verify_1()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            ConnectCommand          command    = new ConnectCommand(connection);

            Assert.IsFalse(command.Verify(false));
        }
Ejemplo n.º 2
0
        public void ConnectCommand_Verify_2()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            ConnectCommand          command    = new ConnectCommand(connection)
            {
                Username = "******",
                Password = "******"
            };

            Assert.IsTrue(command.Verify(false));
        }