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

public final class ValidateMigrationInputSqlServerSqlMISyncTaskOutputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ValidateMigrationInputSqlServerSqlMISyncTaskOutput model =
            BinaryData
                .fromString(
                    "{\"id\":\"xgvelfclduccbird\",\"name\":\"uwc\",\"validationErrors\":[{\"message\":\"gstmninwjizciln\",\"actionableMessage\":\"gshejjtbxqmulux\",\"filePath\":\"qzvnersbycucr\",\"lineNumber\":\"amikzebrqbsm\",\"hResult\":1700673148,\"stackTrace\":\"qgfuhokzru\"},{\"message\":\"hvhcz\",\"actionableMessage\":\"vfbyc\",\"filePath\":\"xjww\",\"lineNumber\":\"z\",\"hResult\":1659306080,\"stackTrace\":\"mxqhndvnoamldse\"}]}")
                .toObject(ValidateMigrationInputSqlServerSqlMISyncTaskOutput.class);
    }

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