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

package com.azure.resourcemanager.devcenter.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.devcenter.fluent.models.ImageProperties;

public final class ImagePropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ImageProperties model =
            BinaryData
                .fromString(
                    "{\"description\":\"wgndrvynhzgpp\",\"publisher\":\"cgyncocpecf\",\"offer\":\"mcoo\",\"sku\":\"xlzevgbmqjqabcy\",\"recommendedMachineConfiguration\":{\"memory\":{\"min\":1275704162,\"max\":699585009},\"vCPUs\":{\"min\":1120920412,\"max\":211064208}},\"provisioningState\":\"Deleting\",\"hibernateSupport\":\"Disabled\"}")
                .toObject(ImageProperties.class);
    }

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