예제 #1
0
        public void CreateDictionaryCommand_Verify_1()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            CreateDictionaryCommand command    = new CreateDictionaryCommand(connection);

            Assert.IsFalse(command.Verify(false));
        }
예제 #2
0
        public void CreateDictionaryCommand_Verify_2()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            CreateDictionaryCommand command    = new CreateDictionaryCommand(connection)
            {
                Database = "IBIS"
            };

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