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

package com.azure.resourcemanager.webpubsub.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.webpubsub.fluent.models.SkuListInner;

public final class SkuListInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuListInner model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"resourceType\":\"lxprglyatddckcbc\",\"sku\":{\"name\":\"jrjxgciqibrhosx\",\"tier\":\"Premium\",\"size\":\"hzoymibmrqy\",\"family\":\"ahwfluszdtmhrk\",\"capacity\":1386295796},\"capacity\":{\"minimum\":1026914225,\"maximum\":1655642589,\"default\":728388129,\"allowedValues\":[],\"scaleType\":\"None\"}},{\"resourceType\":\"pbtg\",\"sku\":{\"name\":\"bwoenwashrt\",\"tier\":\"Standard\",\"size\":\"nqxwbp\",\"family\":\"ulpiuj\",\"capacity\":2036871201},\"capacity\":{\"minimum\":279995448,\"maximum\":172575084,\"default\":1035814224,\"allowedValues\":[],\"scaleType\":\"Manual\"}},{\"resourceType\":\"erpqlpqwcciuqg\",\"sku\":{\"name\":\"butauvfb\",\"tier\":\"Premium\",\"size\":\"hhmhykojoxa\",\"family\":\"nd\",\"capacity\":1324529031},\"capacity\":{\"minimum\":1639639314,\"maximum\":1904357705,\"default\":1940707417,\"allowedValues\":[],\"scaleType\":\"None\"}}],\"nextLink\":\"bpkkpwdre\"}")
                .toObject(SkuListInner.class);
    }

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