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

public final class VirtualMachineExtensionProductPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VirtualMachineExtensionProductProperties model =
            BinaryData
                .fromString(
                    "{\"computeRole\":\"None\",\"isSystemExtension\":true,\"sourceBlob\":{\"uri\":\"pkc\"},\"supportMultipleExtensions\":true,\"version\":\"ngj\",\"vmOsType\":\"None\",\"vmScaleSetEnabled\":true}")
                .toObject(VirtualMachineExtensionProductProperties.class);
    }

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