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

public final class MigrateSyncCompleteCommandOutputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        MigrateSyncCompleteCommandOutput model =
            BinaryData
                .fromString(
                    "{\"id\":\"mdajv\",\"errors\":[{\"message\":\"unqecanoae\",\"actionableMessage\":\"fhyhltrpmopjmcma\",\"filePath\":\"okth\",\"lineNumber\":\"iuaod\",\"hResult\":2105680522,\"stackTrace\":\"kvxod\"},{\"message\":\"ozmyzydagfu\",\"actionableMessage\":\"bezy\",\"filePath\":\"okktwhrdxw\",\"lineNumber\":\"wqsmbsur\",\"hResult\":1524544291,\"stackTrace\":\"o\"},{\"message\":\"ocfs\",\"actionableMessage\":\"s\",\"filePath\":\"ddystkiiuxhqy\",\"lineNumber\":\"xorrqnb\",\"hResult\":1747091504,\"stackTrace\":\"vyifqrvkdvjsl\"},{\"message\":\"mvvd\",\"actionableMessage\":\"atkpnp\",\"filePath\":\"exxbczwtr\",\"lineNumber\":\"iqzbq\",\"hResult\":1378529430,\"stackTrace\":\"vmyokacspkwl\"}]}")
                .toObject(MigrateSyncCompleteCommandOutput.class);
    }

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