public void ActualizeRecordCommand_Verify_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; ActualizeRecordCommand command = new ActualizeRecordCommand(connection); Assert.IsFalse(command.Verify(false)); }
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)); }