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

public final class RemediationDeploymentSummaryTests {
    @Test
    public void testDeserialize() {
        RemediationDeploymentSummary model =
            BinaryData
                .fromString(
                    "{\"totalDeployments\":432312766,\"successfulDeployments\":903059115,\"failedDeployments\":1535190702}")
                .toObject(RemediationDeploymentSummary.class);
    }

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