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

package com.azure.resourcemanager.datamigration.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datamigration.models.ResourceSkuCapacity;

public final class ResourceSkuCapacityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ResourceSkuCapacity model =
            BinaryData
                .fromString(
                    "{\"minimum\":1756077940432608188,\"maximum\":4004614567992112922,\"default\":5486133222251780236,\"scaleType\":\"Automatic\"}")
                .toObject(ResourceSkuCapacity.class);
    }

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