// 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.fluent.models.VirtualMachineInner;

public final class VirtualMachineInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VirtualMachineInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"displayName\":\"amxjezwlw\",\"moRefId\":\"xuqlcvydypat\",\"folderPath\":\"oa\",\"restrictMovement\":\"Enabled\"},\"id\":\"niodkooeb\",\"name\":\"nuj\",\"type\":\"emmsbvdkc\"}")
                .toObject(VirtualMachineInner.class);
    }

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