15 #include <gmock/gmock.h> 36 using testing::Return;
39 EXPECT_CALL(mock_reader, ReadParam(Eq(
user_id_key), testing::A<std::string&>()))
40 .WillOnce(Return(user_id_error));
41 EXPECT_CALL(mock_reader, ReadParam(Eq(
bot_name_key), testing::A<std::string&>()))
42 .WillOnce(Return(bot_name_error));
43 EXPECT_CALL(mock_reader, ReadParam(Eq(
bot_alias_key), testing::A<std::string&>()))
44 .WillOnce(Return(bot_alias_error));
void SetupMockReader(AwsError user_id_error, AwsError bot_name_error, AwsError bot_alias_error, ParameterReaderMock &mock_reader)
const ParameterPath bot_alias_key
const ParameterPath user_id_key
const ParameterPath bot_name_key