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

package com.azure.resourcemanager.netapp.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.netapp.fluent.models.RestoreStatusInner;

public final class RestoreStatusInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RestoreStatusInner model =
            BinaryData
                .fromString(
                    "{\"healthy\":true,\"relationshipStatus\":\"Transferring\",\"mirrorState\":\"Mirrored\",\"unhealthyReason\":\"bzdopcj\",\"errorMessage\":\"nhdldwmgxcx\",\"totalTransferBytes\":7813065002361041355}")
                .toObject(RestoreStatusInner.class);
    }

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