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

package com.azure.resourcemanager.kusto.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.kusto.models.SkuDescriptionList;

public final class SkuDescriptionListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuDescriptionList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"resourceType\":\"tgzfbishcbkh\",\"name\":\"deyeamdphagalpbu\",\"tier\":\"gipwhonowkg\",\"locations\":[\"ankixzbinjeput\",\"mryw\",\"uzoqft\"],\"locationInfo\":[],\"restrictions\":[\"datan\",\"datacqvyxlwhzlsico\",\"dataoqqnwvlryav\"]},{\"resourceType\":\"heun\",\"name\":\"qhgyxzkonocukok\",\"tier\":\"axuconuq\",\"locations\":[\"kbeype\",\"rmjmwvvjektc\"],\"locationInfo\":[],\"restrictions\":[\"datawlrsffrzpwv\",\"dataqdqgbi\"]}]}")
                .toObject(SkuDescriptionList.class);
    }

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