#include "components/media_router/browser/presentation/browser_presentation_connection_proxy.h"
#include <memory>
#include "base/run_loop.h"
#include "components/media_router/browser/route_message_util.h"
#include "components/media_router/browser/test/mock_media_router.h"
#include "components/media_router/browser/test/test_helper.h"
#include "components/media_router/common/media_source.h"
#include "content/public/test/browser_task_environment.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
PresentationConnectionMessage;
PresentationConnectionMessagePtr;
RouteMessagePtr;
_;
Invoke;
namespace media_router {
namespace {
void ExpectMessage(const PresentationConnectionMessagePtr expected_message,
const PresentationConnectionMessagePtr message) { … }
}
constexpr char kMediaRouteId[] = …;
class BrowserPresentationConnectionProxyTest : public ::testing::Test { … };
TEST_F(BrowserPresentationConnectionProxyTest, TestOnMessageTextMessage) { … }
TEST_F(BrowserPresentationConnectionProxyTest, TestOnMessageBinaryMessage) { … }
TEST_F(BrowserPresentationConnectionProxyTest, OnMessagesReceived) { … }
}