// 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\":\"ys\",\"startTimeUtc\":\"2021-06-14T21:05:42Z\",\"completionTimeUtc\":\"2021-01-05T19:47:06Z\",\"sourceResourceId\":\"hqyudxorrqnbpoc\",\"targetResourceId\":\"yifqrvkdvjsllrmv\"}")
                .toObject(VaultPropertiesMoveDetails.class);
    }

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