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

package com.azure.resourcemanager.avs.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.avs.models.WorkloadNetworkList;

public final class WorkloadNetworkListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"id\":\"osvmk\",\"name\":\"ss\",\"type\":\"qukkfp\"},{\"id\":\"gmgsxnkjzkde\",\"name\":\"lpvlopw\",\"type\":\"yighxpk\"},{\"id\":\"wzbaiue\",\"name\":\"baumnyqupedeoj\",\"type\":\"a\"},{\"id\":\"ckhsmtxpsieb\",\"name\":\"fhvpesaps\",\"type\":\"rdqmhjjdhtldwkyz\"}],\"nextLink\":\"utknc\"}")
                .toObject(WorkloadNetworkList.class);
    }

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