#include "services/audio/test/mock_group_coordinator.h"
#include "base/containers/contains.h"
#include "base/unguessable_token.h"
#include "services/audio/test/mock_group_member.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
UnguessableToken;
AtLeast;
NiceMock;
ReturnRef;
Sequence;
StrictMock;
_;
namespace audio {
class TestGroupCoordinator : public GroupCoordinator<MockGroupMember> { … };
namespace {
class MockGroupObserver : public TestGroupCoordinator::Observer { … };
TEST(GroupCoordinatorTest, NeverUsed) { … }
TEST(GroupCoordinatorTest, RegistersMembersInSameGroup) { … }
TEST(GroupCoordinatorTest, RegistersMembersInDifferentGroups) { … }
TEST(GroupCoordinatorTest, TracksMembersWithoutAnObserverPresent) { … }
TEST(GroupCoordinatorTest, NotifiesOnlyWhileObserving) { … }
}
}