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

public final class VirtualMachinesListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VirtualMachinesList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"ud\",\"moRefId\":\"rx\",\"folderPath\":\"thzvaytdwkqbrqu\",\"restrictMovement\":\"Disabled\"},\"id\":\"xhexiilivpdti\",\"name\":\"r\",\"type\":\"tdqoaxoruzfgsq\"}],\"nextLink\":\"fxrxxle\"}")
                .toObject(VirtualMachinesList.class);
    }

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