// 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\":\"mvmemfnczd\",\"sku\":{\"name\":\"vbalxlllc\",\"tier\":\"Standard\",\"size\":\"bzevwrd\",\"family\":\"fukuvsjcswsmystu\",\"capacity\":1485763904},\"capacity\":{\"minimum\":2048413099,\"maximum\":1783589840,\"default\":291266426,\"allowedValues\":[335634108,414461518,1201344098],\"scaleType\":\"Manual\"}},{\"resourceType\":\"pjbabwidfc\",\"sku\":{\"name\":\"spuunnoxyhkxgq\",\"tier\":\"Basic\",\"size\":\"hp\",\"family\":\"oqcaaewdaomdj\",\"capacity\":1847086770},\"capacity\":{\"minimum\":945284283,\"maximum\":392505640,\"default\":1445056578,\"allowedValues\":[1373073585,1001888045],\"scaleType\":\"Manual\"}},{\"resourceType\":\"iykzkdncjdx\",\"sku\":{\"name\":\"bzo\",\"tier\":\"Premium\",\"size\":\"lapzwyrp\",\"family\":\"gtqxep\",\"capacity\":991582121},\"capacity\":{\"minimum\":1449086974,\"maximum\":347721012,\"default\":781075850,\"allowedValues\":[2027275706,21548435],\"scaleType\":\"None\"}}],\"nextLink\":\"zhvfcibyfmowuxr\"}")
                .toObject(SkuListInner.class);
    }

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