1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/enterprise_util.h"
7 #include "testing/gtest/include/gtest/gtest.h"
11 TEST(EnterpriseUtilMacTest, IsDeviceRegisteredWithManagementSmokeTest) {
12 MacDeviceManagementState state = IsDeviceRegisteredWithManagement();
14 EXPECT_NE(MacDeviceManagementState::kFailureAPIUnavailable, state);
15 EXPECT_NE(MacDeviceManagementState::kFailureUnableToParseResult, state);