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

package com.azure.resourcemanager.recoveryservices.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.recoveryservices.models.VaultPropertiesMoveDetails;

public final class VaultPropertiesMoveDetailsTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VaultPropertiesMoveDetails model =
            BinaryData
                .fromString(
                    "{\"operationId\":\"wlbjnpgacftade\",\"startTimeUtc\":\"2020-12-20T16:44:21Z\",\"completionTimeUtc\":\"2021-04-14T12:48:39Z\",\"sourceResourceId\":\"fsoppusuesnzw\",\"targetResourceId\":\"jbavorxzdm\"}")
                .toObject(VaultPropertiesMoveDetails.class);
    }

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