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

public final class WorkloadNetworkVirtualMachinesListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkVirtualMachinesList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"zpswiydmc\",\"vmType\":\"EDGE\"},\"id\":\"zdxss\",\"name\":\"dbzm\",\"type\":\"vdfznudaodvxzb\"},{\"properties\":{\"displayName\":\"lylpstdb\",\"vmType\":\"SERVICE\"},\"id\":\"srzdzucerscdn\",\"name\":\"nevf\",\"type\":\"wjmy\"}],\"nextLink\":\"dsslswt\"}")
                .toObject(WorkloadNetworkVirtualMachinesList.class);
    }

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