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

public final class ValidateSyncMigrationInputSqlServerTaskOutputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ValidateSyncMigrationInputSqlServerTaskOutput model =
            BinaryData
                .fromString(
                    "{\"id\":\"nzvdfbzdixzmq\",\"name\":\"odawopqhewjptmcg\",\"validationErrors\":[{\"message\":\"t\",\"actionableMessage\":\"lnd\",\"filePath\":\"tutmzl\",\"lineNumber\":\"ojlvfhrbbpneqvc\",\"hResult\":2017882900,\"stackTrace\":\"urmochpprprs\"},{\"message\":\"okayzejnhlbkp\",\"actionableMessage\":\"pcpil\",\"filePath\":\"a\",\"lineNumber\":\"vechndbnwiehole\",\"hResult\":1333761955,\"stackTrace\":\"uubw\"},{\"message\":\"qsfapaqt\",\"actionableMessage\":\"rrqwexjk\",\"filePath\":\"xap\",\"lineNumber\":\"og\",\"hResult\":1688417232,\"stackTrace\":\"bpudcdab\"}]}")
                .toObject(ValidateSyncMigrationInputSqlServerTaskOutput.class);
    }

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