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

public final class RemediationDeploymentInnerTests {
    @Test
    public void testDeserialize() {
        RemediationDeploymentInner model =
            BinaryData
                .fromString(
                    "{\"remediatedResourceId\":\"ssainqpjwnzll\",\"deploymentId\":\"mppeebvmgxs\",\"status\":\"kyqduujit\",\"resourceLocation\":\"czdzev\",\"createdOn\":\"2021-08-08T03:03:21Z\",\"lastUpdatedOn\":\"2021-08-08T02:03:21Z\"}")
                .toObject(RemediationDeploymentInner.class);
    }

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