#include "chrome/browser/ui/views/media_preview/mic_preview/audio_stream_coordinator.h"
#include <memory>
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "media/base/audio_glitch_info.h"
#include "media/base/audio_parameters.h"
#include "services/audio/public/cpp/fake_stream_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
class MockStreamFactory : public audio::FakeStreamFactory { … };
class AudioStreamCoordinatorTest : public TestWithBrowserView { … };
TEST_F(AudioStreamCoordinatorTest, ConnectToAudioCapturerAndReceiveBuses) { … }