// 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.RegistryStatisticsInner;

public final class RegistryStatisticsInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RegistryStatisticsInner model =
            BinaryData
                .fromString(
                    "{\"totalDeviceCount\":8751195016646991326,\"enabledDeviceCount\":1457030135916183053,\"disabledDeviceCount\":6300383751543557162}")
                .toObject(RegistryStatisticsInner.class);
    }

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