#include <stdint.h>
#include <memory>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/cpp/constants.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_receiver.h"
#include "services/service_manager/public/mojom/service.mojom.h"
#include "services/service_manager/public/mojom/service_manager.mojom.h"
#include "services/service_manager/service_manager.h"
#include "services/service_manager/tests/service_manager/test_manifests.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace service_manager {
namespace {
constexpr uint32_t kTestSelfPid = …;
constexpr uint32_t kTestTargetPid1 = …;
constexpr uint32_t kTestTargetPid2 = …;
class TestListener : public mojom::ServiceManagerListener { … };
class TestTargetService : public Service { … };
class ServiceManagerListenerTest : public testing::Test, public Service { … };
TEST_F(ServiceManagerListenerTest, InstancesHaveUniqueIdentity) { … }
}
}