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

public final class WaitStatisticsTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WaitStatistics model =
            BinaryData
                .fromString(
                    "{\"waitType\":\"rafwgckhocxvdf\",\"waitTimeMs\":49.184036,\"waitCount\":9128214856149263586}")
                .toObject(WaitStatistics.class);
    }

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