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

package com.azure.resourcemanager.appcomplianceautomation.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.appcomplianceautomation.models.AssessmentResource;
import org.junit.jupiter.api.Test;

public final class AssessmentResourceTests {
    @Test
    public void testDeserialize() {
        AssessmentResource model =
            BinaryData
                .fromString(
                    "{\"resourceId\":\"vjsllrmvvdfw\",\"resourceStatus\":\"NotApplicable\",\"reason\":\"n\",\"statusChangeDate\":\"lexxbczwtru\"}")
                .toObject(AssessmentResource.class);
    }

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