// 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.PolicyMetadataSlimProperties;
import org.junit.jupiter.api.Test;

public final class PolicyMetadataSlimPropertiesTests {
    @Test
    public void testDeserialize() {
        PolicyMetadataSlimProperties model =
            BinaryData
                .fromString(
                    "{\"metadataId\":\"yiba\",\"category\":\"fluszdtm\",\"title\":\"kwofyyvoq\",\"owner\":\"piexpbtgiw\",\"additionalContentUrl\":\"oenwashr\"}")
                .toObject(PolicyMetadataSlimProperties.class);
    }

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