#include "chrome/browser/media/router/providers/cast/dual_media_sink_service.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace media_router {
namespace {
constexpr char kCastProviderName[] = …;
constexpr char kDialProviderName[] = …;
std::vector<MediaSinkInternal> CreateCastSinks() { … }
std::vector<MediaSinkInternal> CreateDialSinks() { … }
}
class DualMediaSinkServiceTest : public testing::Test { … };
TEST_F(DualMediaSinkServiceTest, DiscoverSinksNow) { … }
TEST_F(DualMediaSinkServiceTest, AddSinksDiscoveredCallback) { … }
TEST_F(DualMediaSinkServiceTest, AddSinksDiscoveredCallbackAfterDiscovery) { … }
TEST_F(DualMediaSinkServiceTest, SetPermissionRejectedCallback) { … }
}