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

public final class ConnectToTargetSqlMISyncTaskOutputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ConnectToTargetSqlMISyncTaskOutput model =
            BinaryData
                .fromString(
                    "{\"targetServerVersion\":\"vmkcx\",\"targetServerBrandVersion\":\"apvhelxprgly\",\"validationErrors\":[{\"message\":\"ckcb\",\"actionableMessage\":\"ejrjxgciqibrho\",\"filePath\":\"sdqrhzoymibmrq\",\"lineNumber\":\"bahwfl\",\"hResult\":575673761,\"stackTrace\":\"tmhrkwofyyvoqacp\"}]}")
                .toObject(ConnectToTargetSqlMISyncTaskOutput.class);
    }

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