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

package com.azure.resourcemanager.policyinsights.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.policyinsights.fluent.models.PolicyMetadataProperties;
import org.junit.jupiter.api.Test;

public final class PolicyMetadataPropertiesTests {
    @Test
    public void testDeserialize() {
        PolicyMetadataProperties model =
            BinaryData
                .fromString(
                    "{\"description\":\"pajqgxysm\",\"requirements\":\"mbqfqvmk\",\"metadataId\":\"oz\",\"category\":\"vhelxprglyatdd\",\"title\":\"cbcuejrjxgciqi\",\"owner\":\"hos\",\"additionalContentUrl\":\"dqrhzoymib\"}")
                .toObject(PolicyMetadataProperties.class);
    }

    @Test
    public void testSerialize() {
        PolicyMetadataProperties model = new PolicyMetadataProperties();
        model = BinaryData.fromObject(model).toObject(PolicyMetadataProperties.class);
    }
}
