Exemple #1
0
        public void ActualizeRecordCommand_Verify_1()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            ActualizeRecordCommand  command    = new ActualizeRecordCommand(connection);

            Assert.IsFalse(command.Verify(false));
        }
Exemple #2
0
        public void ActualizeRecordCommand_Verify_2()
        {
            Mock <IIrbisConnection> mock       = GetConnectionMock();
            IIrbisConnection        connection = mock.Object;
            ActualizeRecordCommand  command    = new ActualizeRecordCommand(connection)
            {
                Database = "IBIS",
                Mfn      = 123
            };

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