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

package com.azure.resourcemanager.elasticsan.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.elasticsan.models.SkuInformationList;
import org.junit.jupiter.api.Test;

public final class SkuInformationListTests {
    @Test
    public void testDeserialize() {
        SkuInformationList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"name\":\"Premium_ZRS\",\"tier\":\"Premium\",\"resourceType\":\"ofcqhsm\",\"locations\":[\"kdtmlxhekuk\",\"jtxukcdm\"],\"locationInfo\":[],\"capabilities\":[]},{\"name\":\"Premium_LRS\",\"tier\":\"Premium\",\"resourceType\":\"zwuxzd\",\"locations\":[\"yrlhmwhfpmrqobm\"],\"locationInfo\":[],\"capabilities\":[]}]}")
                .toObject(SkuInformationList.class);
    }

    @Test
    public void testSerialize() {
        SkuInformationList model = new SkuInformationList();
        model = BinaryData.fromObject(model).toObject(SkuInformationList.class);
    }
}
