// The arguments to delegate->OnAckNotification are the sum of the
// arguments to proxy_delegate OnAckNotification calls.
- EXPECT_CALL(*delegate, OnAckNotification(111, 222, 333, 444, zero_));
+ EXPECT_CALL(*delegate.get(), OnAckNotification(111, 222, 333, 444, zero_));
proxy_delegate->OnAckNotification(100, 200, 300, 400, zero_);
}
stream_->OnCanWrite();
// Handle the ack for the second write.
- EXPECT_CALL(*delegate, OnAckNotification(101, 202, 303, 404, zero_));
+ EXPECT_CALL(*delegate.get(), OnAckNotification(101, 202, 303, 404, zero_));
proxy_delegate->OnAckNotification(100, 200, 300, 400, zero_);
}
EXPECT_FALSE(HasWriteBlockedStreams());
// Handle the ack.
- EXPECT_CALL(*delegate, OnAckNotification(1, 2, 3, 4, zero_));
+ EXPECT_CALL(*delegate.get(), OnAckNotification(1, 2, 3, 4, zero_));
proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_);
}
stream_->OnCanWrite();
// Handle the ack.
- EXPECT_CALL(*delegate, OnAckNotification(1, 2, 3, 4, zero_));
+ EXPECT_CALL(*delegate.get(), OnAckNotification(1, 2, 3, 4, zero_));
proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_);
}
// Handle the acks.
proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_);
- EXPECT_CALL(*delegate, OnAckNotification(11, 22, 33, 44, zero_));
+ EXPECT_CALL(*delegate.get(), OnAckNotification(11, 22, 33, 44, zero_));
proxy_delegate->OnAckNotification(10, 20, 30, 40, zero_);
}