#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_
#define COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_
#include <map>
#include <ostream>
#include <string>
#include "build/build_config.h"
#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_service.h"
#include "components/policy/core/common/policy_types.h"
#if BUILDFLAG(IS_APPLE)
#include <CoreFoundation/CoreFoundation.h>
#include "base/apple/scoped_cftyperef.h"
#endif
namespace policy {
class PolicyBundle;
struct PolicyNamespace;
class PolicyDetailsMap { … };
bool PolicyServiceIsEmpty(const PolicyService* service);
#if BUILDFLAG(IS_APPLE)
base::apple::ScopedCFTypeRef<CFPropertyListRef> ValueToProperty(
const base::Value& value);
#endif
std::ostream& operator<<(std::ostream& os, const PolicyBundle& bundle);
std::ostream& operator<<(std::ostream& os, PolicyScope scope);
std::ostream& operator<<(std::ostream& os, PolicyLevel level);
std::ostream& operator<<(std::ostream& os, PolicyDomain domain);
std::ostream& operator<<(std::ostream& os, const PolicyMap& policies);
std::ostream& operator<<(std::ostream& os, const PolicyMap::Entry& e);
std::ostream& operator<<(std::ostream& os, const PolicyNamespace& ns);
}
#endif