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

package com.azure.resourcemanager.databoxedge.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databoxedge.models.SkuInformationList;

public final class SkuInformationListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuInformationList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"resourceType\":\"rpzbchckqqzqi\",\"name\":\"TEA_4Node_Heater\",\"kind\":\"suiizynkedyat\",\"tier\":\"Standard\",\"family\":\"q\",\"locations\":[\"zyh\"],\"apiVersions\":[\"smypyynpc\",\"pumnz\",\"mwzn\"],\"locationInfo\":[],\"costs\":[],\"restrictions\":[]},{\"resourceType\":\"rgjhxb\",\"name\":\"TMA\",\"kind\":\"wwrlkdmtncv\",\"tier\":\"Standard\",\"family\":\"llxdyhgs\",\"locations\":[\"ogjltdtbnnhad\",\"ocrkvcikh\",\"vpa\"],\"apiVersions\":[\"x\",\"queziky\",\"ggxkallatmelwuip\"],\"locationInfo\":[],\"costs\":[],\"restrictions\":[]},{\"resourceType\":\"v\",\"name\":\"TEA_1Node_Heater\",\"kind\":\"nayrhyrnxxmueedn\",\"tier\":\"Standard\",\"family\":\"stkwqqtch\",\"locations\":[\"mfmtdaaygdvw\",\"gpiohgwxrtfudxe\",\"xg\"],\"apiVersions\":[\"gvr\",\"mnpkukghimdblxg\",\"imfnjhfjx\"],\"locationInfo\":[],\"costs\":[],\"restrictions\":[]},{\"resourceType\":\"qreyfkzi\",\"name\":\"TEA_1Node_UPS_Heater\",\"kind\":\"wneaiv\",\"tier\":\"Standard\",\"family\":\"elpcirelsfeaenwa\",\"locations\":[\"tkl\",\"dxbjhwuaanozj\",\"sphyoulpjrvxa\",\"l\"],\"apiVersions\":[\"mjwosytx\",\"tcs\"],\"locationInfo\":[],\"costs\":[],\"restrictions\":[]}],\"nextLink\":\"iekkezz\"}")
                .toObject(SkuInformationList.class);
    }

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