- MOCK_CONST_METHOD0(getSentinelAddress, boost::optional<HostAndPort>());
- MOCK_CONST_METHOD0(getSentinelMasterName, std::string());
+ MOCK_CONST_METHOD1(getSentinelAddress, boost::optional<HostAndPort>(const boost::optional<std::size_t>& addressIndex));
+ MOCK_CONST_METHOD1(getSentinelMasterName, std::string(const boost::optional<std::size_t>& addressIndex));