// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.billing.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.billing.models.EnrollmentPolicies;

public final class EnrollmentPoliciesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EnrollmentPolicies model =
            BinaryData
                .fromString(
                    "{\"accountOwnerViewCharges\":false,\"departmentAdminViewCharges\":false,\"marketplaceEnabled\":false,\"reservedInstancesEnabled\":true}")
                .toObject(EnrollmentPolicies.class);
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        EnrollmentPolicies model = new EnrollmentPolicies();
        model = BinaryData.fromObject(model).toObject(EnrollmentPolicies.class);
    }
}
