public void CreateDatabaseCommand_Verify_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; CreateDatabaseCommand command = new CreateDatabaseCommand(connection); Assert.IsFalse(command.Verify(false)); }
public void CreateDatabaseCommand_Verify_2() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; CreateDatabaseCommand command = new CreateDatabaseCommand(connection) { Database = "NEWIBIS", Description = "New catalog" }; Assert.IsTrue(command.Verify(false)); }