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

package com.azure.resourcemanager.signalr.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.signalr.models.SkuCapacity;

public final class SkuCapacityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuCapacity model =
            BinaryData
                .fromString(
                    "{\"minimum\":1807196723,\"maximum\":706339919,\"default\":1505312764,\"allowedValues\":[1202446824,49969250,1940246801,1488672187],\"scaleType\":\"Automatic\"}")
                .toObject(SkuCapacity.class);
    }

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