Multiple DBAAS Redis Sentinel groups
[ric-plt/sdl.git] / include / private / tst / databaseconfigurationmock.hpp
index 502e6a6..e4fe0af 100644 (file)
@@ -40,6 +40,7 @@ namespace shareddatalayer
             MOCK_CONST_METHOD0(getDefaultServerAddresses, DatabaseConfiguration::Addresses());
             MOCK_CONST_METHOD0(isEmpty, bool());
             MOCK_CONST_METHOD0(getSentinelAddress, boost::optional<HostAndPort>());
+            MOCK_CONST_METHOD1(getSentinelAddress, boost::optional<HostAndPort>(const boost::optional<std::size_t>& addressIndex));
             MOCK_CONST_METHOD0(getSentinelMasterName, std::string());
         };
     }