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