// 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.models.Sku;

public final class SkuTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        Sku model =
            BinaryData
                .fromString(
                    "{\"resourceType\":\"pvdwxf\",\"sku\":{\"name\":\"iivwzjbhyzsxjrka\",\"tier\":\"Premium\",\"size\":\"negvmnvuqe\",\"family\":\"lds\",\"capacity\":312186085},\"capacity\":{\"minimum\":900352978,\"maximum\":1155931033,\"default\":1616776415,\"allowedValues\":[1814054603],\"scaleType\":\"Manual\"}}")
                .toObject(Sku.class);
    }

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