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

package com.azure.resourcemanager.security.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.security.models.SecurityAssessmentMetadataResponseList;

public final class SecurityAssessmentMetadataResponseListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SecurityAssessmentMetadataResponseList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"plannedDeprecationDate\":\"fnynszqujizdvoqy\",\"tactics\":[],\"techniques\":[],\"displayName\":\"yo\",\"policyDefinitionId\":\"blgyavutpthj\",\"description\":\"oismsksbpimlqol\",\"remediationDescription\":\"kcgxxlxsffgcvi\",\"categories\":[],\"severity\":\"Low\",\"userImpact\":\"Low\",\"implementationEffort\":\"Low\",\"threats\":[],\"preview\":true,\"assessmentType\":\"CustomPolicy\"},\"id\":\"pfgfbkjub\",\"name\":\"yhgk\",\"type\":\"minsgowzf\"},{\"properties\":{\"plannedDeprecationDate\":\"t\",\"tactics\":[],\"techniques\":[],\"displayName\":\"ahbqactxtgzuk\",\"policyDefinitionId\":\"tmmqtgqqqxhrn\",\"description\":\"xcpjuisavokqdzf\",\"remediationDescription\":\"zivj\",\"categories\":[],\"severity\":\"Medium\",\"userImpact\":\"High\",\"implementationEffort\":\"Moderate\",\"threats\":[],\"preview\":true,\"assessmentType\":\"CustomPolicy\"},\"id\":\"tnwxy\",\"name\":\"opidkqqfkuv\",\"type\":\"cxkdmligovi\"},{\"properties\":{\"plannedDeprecationDate\":\"pmloazuruoc\",\"tactics\":[],\"techniques\":[],\"displayName\":\"orbteoy\",\"policyDefinitionId\":\"hjxa\",\"description\":\"vjgsl\",\"remediationDescription\":\"dilmyww\",\"categories\":[],\"severity\":\"Medium\",\"userImpact\":\"Low\",\"implementationEffort\":\"Low\",\"threats\":[],\"preview\":false,\"assessmentType\":\"BuiltIn\"},\"id\":\"yvudtjuewbci\",\"name\":\"xuuwhcj\",\"type\":\"xccybvpa\"},{\"properties\":{\"plannedDeprecationDate\":\"udzpxgwjplmagstc\",\"tactics\":[],\"techniques\":[],\"displayName\":\"pfkyrkdbdgiogsj\",\"policyDefinitionId\":\"nwqjnoba\",\"description\":\"hdd\",\"remediationDescription\":\"acegfnmntf\",\"categories\":[],\"severity\":\"Low\",\"userImpact\":\"Low\",\"implementationEffort\":\"Low\",\"threats\":[],\"preview\":true,\"assessmentType\":\"CustomPolicy\"},\"id\":\"vvbalx\",\"name\":\"l\",\"type\":\"chp\"}],\"nextLink\":\"bzevwrd\"}")
                .toObject(SecurityAssessmentMetadataResponseList.class);
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        SecurityAssessmentMetadataResponseList model = new SecurityAssessmentMetadataResponseList();
        model = BinaryData.fromObject(model).toObject(SecurityAssessmentMetadataResponseList.class);
    }
}
