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

package com.azure.resourcemanager.iothub.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iothub.fluent.models.IotHubQuotaMetricInfoInner;

public final class IotHubQuotaMetricInfoInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        IotHubQuotaMetricInfoInner model =
            BinaryData
                .fromString("{\"name\":\"ibycno\",\"currentValue\":4247317532240790185,\"maxValue\":35726863806871709}")
                .toObject(IotHubQuotaMetricInfoInner.class);
    }

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