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

public final class ImageListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ImageListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"description\":\"rlovmclwhijcoej\",\"publisher\":\"bzaqsqsycbkbfk\",\"offer\":\"kdkexxp\",\"sku\":\"fmxa\",\"provisioningState\":\"Creating\",\"hibernateSupport\":\"Disabled\"},\"id\":\"dtocj\",\"name\":\"xhvpmoue\",\"type\":\"hd\"},{\"properties\":{\"description\":\"bqe\",\"publisher\":\"nxqbzvddn\",\"offer\":\"ndei\",\"sku\":\"twnpzaoqvuhrhcf\",\"provisioningState\":\"Created\",\"hibernateSupport\":\"Disabled\"},\"id\":\"mjthjqkwp\",\"name\":\"eicxmqciwqvhkhi\",\"type\":\"uigdtopbobjog\"}],\"nextLink\":\"e\"}")
                .toObject(ImageListResult.class);
    }

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