#include "components/sharing_message/ack_message_handler.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/test/mock_callback.h"
#include "components/sharing_message/mock_sharing_message_sender.h"
#include "components/sharing_message/proto/sharing_message.pb.h"
#include "components/sharing_message/sharing_fcm_sender.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr char kTestMessageId[] = …;
class AckMessageHandlerTest : public testing::Test { … };
MATCHER_P(ProtoEquals, message, "") { … }
}
TEST_F(AckMessageHandlerTest, OnMessageNoResponse) { … }
TEST_F(AckMessageHandlerTest, OnMessageWithResponse) { … }