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

package com.azure.resourcemanager.databoxedge.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databoxedge.models.UpdateInstallProgress;

public final class UpdateInstallProgressTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UpdateInstallProgress model =
            BinaryData
                .fromString(
                    "{\"percentComplete\":820071175,\"numberOfUpdatesToInstall\":852408036,\"numberOfUpdatesInstalled\":1533389693}")
                .toObject(UpdateInstallProgress.class);
    }

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