// 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.SecurityAssessmentList;

public final class SecurityAssessmentListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SecurityAssessmentList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"clnpkci\",\"additionalData\":{}},\"id\":\"ykhyawfvjlboxqvk\",\"name\":\"lmxhomdyn\",\"type\":\"dwdigumb\"},{\"properties\":{\"displayName\":\"auzzptjazysd\",\"additionalData\":{}},\"id\":\"wva\",\"name\":\"qyuvvfonkp\",\"type\":\"hqyikvy\"},{\"properties\":{\"displayName\":\"yavluwmncstt\",\"additionalData\":{}},\"id\":\"vpo\",\"name\":\"krsgsgb\",\"type\":\"huzqgn\"},{\"properties\":{\"displayName\":\"kynscliqhzv\",\"additionalData\":{}},\"id\":\"mtk\",\"name\":\"bo\",\"type\":\"ppnvdxz\"}],\"nextLink\":\"ihfrbbcevqa\"}")
                .toObject(SecurityAssessmentList.class);
    }

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