X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Ftst%2Fdatabaseconfigurationmock.hpp;h=e4fe0af79264b649a5ae7ed79f1d2ba83aed666d;hb=ece67088ea6c4f67b9d0db74477a9d5c614d7763;hp=502e6a60cdc6d81f5f545ac181b2f9003d986637;hpb=aad0a0b5f51c2abd855aba0a9cb8e99ac5023600;p=ric-plt%2Fsdl.git diff --git a/include/private/tst/databaseconfigurationmock.hpp b/include/private/tst/databaseconfigurationmock.hpp index 502e6a6..e4fe0af 100644 --- a/include/private/tst/databaseconfigurationmock.hpp +++ b/include/private/tst/databaseconfigurationmock.hpp @@ -40,6 +40,7 @@ namespace shareddatalayer MOCK_CONST_METHOD0(getDefaultServerAddresses, DatabaseConfiguration::Addresses()); MOCK_CONST_METHOD0(isEmpty, bool()); MOCK_CONST_METHOD0(getSentinelAddress, boost::optional()); + MOCK_CONST_METHOD1(getSentinelAddress, boost::optional(const boost::optional& addressIndex)); MOCK_CONST_METHOD0(getSentinelMasterName, std::string()); }; }