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

public final class ImageInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ImageInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"description\":\"m\",\"publisher\":\"hrzayvvtpgvdf\",\"offer\":\"otkftutqxlngx\",\"sku\":\"fgugnxkrxdqmid\",\"recommendedMachineConfiguration\":{},\"provisioningState\":\"Created\",\"hibernateSupport\":\"Enabled\"},\"id\":\"abhjybi\",\"name\":\"ehoqfbowskan\",\"type\":\"ktzlcuiywg\"}")
                .toObject(ImageInner.class);
    }

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