#include "components/policy/core/common/management/management_service.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/policy/core/common/management/scoped_management_service_override_for_testing.h"
#include "components/prefs/persistent_pref_store.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
constexpr char kPrefName[] = …;
class TestManagementStatusProvider : public ManagementStatusProvider { … };
class TestManagementService : public ManagementService { … };
class ManagementServiceTests : public testing::Test { … };
TEST_F(ManagementServiceTests, ScopedManagementServiceOverrideForTesting) { … }
TEST_F(ManagementServiceTests, LoadCachedValues) { … }
}