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

package com.azure.resourcemanager.azurestack.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.azurestack.models.VirtualMachineProductProperties;

public final class VirtualMachineProductPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VirtualMachineProductProperties model =
            BinaryData
                .fromString(
                    "{\"version\":\"nysounqe\",\"osDiskImage\":{\"operatingSystem\":\"None\",\"sourceBlobSasUri\":\"eupfhyhltrpm\"},\"dataDiskImages\":[{\"lun\":584946048,\"sourceBlobSasUri\":\"atuokthfuiu\"},{\"lun\":1445775245,\"sourceBlobSasUri\":\"fcp\"},{\"lun\":1920880851,\"sourceBlobSasUri\":\"dpuozmyz\"},{\"lun\":1008080043,\"sourceBlobSasUri\":\"fuaxbe\"}]}")
                .toObject(VirtualMachineProductProperties.class);
    }

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