#include "components/mirroring/service/rpc_dispatcher_impl.h"
#include <string>
#include "base/base64.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/json/json_reader.h"
#include "base/test/task_environment.h"
#include "components/mirroring/service/value_util.h"
#include "components/openscreen_platform/task_runner.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/openscreen/src/cast/common/public/message_port.h"
#include "third_party/openscreen/src/cast/streaming/message_fields.h"
#include "third_party/openscreen/src/cast/streaming/session_messenger.h"
#include "third_party/openscreen/src/platform/base/error.h"
_;
InvokeWithoutArgs;
namespace mirroring {
namespace {
constexpr char kSourceId[] = …;
constexpr char kReceiverId[] = …;
class MockMessagePort : public openscreen::cast::MessagePort { … };
}
class RpcDispatcherImplTest : public ::testing::Test { … };
TEST_F(RpcDispatcherImplTest, ReceivesMessages) { … }
TEST_F(RpcDispatcherImplTest, SendsMessages) { … }
}