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

public final class GetUserTablesSqlSyncTaskOutputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        GetUserTablesSqlSyncTaskOutput model =
            BinaryData
                .fromString(
                    "{\"databasesToSourceTables\":\"jphuopxodlqi\",\"databasesToTargetTables\":\"torzih\",\"tableValidationErrors\":\"osjswsr\",\"validationErrors\":[{\"message\":\"zrpzb\",\"actionableMessage\":\"ckqqzqioxiysui\",\"filePath\":\"ynkedyatrwyhqmib\",\"lineNumber\":\"hwit\",\"hResult\":1364304656,\"stackTrace\":\"yynpcdpumnzgmwz\"},{\"message\":\"abikns\",\"actionableMessage\":\"gj\",\"filePath\":\"bldtlww\",\"lineNumber\":\"kdmtncvokotll\",\"hResult\":1085578683,\"stackTrace\":\"gsyocogj\"},{\"message\":\"dtbnnha\",\"actionableMessage\":\"ocrkvcikh\",\"filePath\":\"p\",\"lineNumber\":\"qgxqquezikyw\",\"hResult\":1344310513,\"stackTrace\":\"allatmelwuipic\"},{\"message\":\"zkzivgvvcnay\",\"actionableMessage\":\"yrnxxmueedn\",\"filePath\":\"dvstkw\",\"lineNumber\":\"tchealmf\",\"hResult\":149792642,\"stackTrace\":\"aygdvwvgpioh\"}]}")
                .toObject(GetUserTablesSqlSyncTaskOutput.class);
    }

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