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

public final class DataIntegrityValidationResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DataIntegrityValidationResult model =
            BinaryData
                .fromString(
                    "{\"failedObjects\":{\"zdwvvbalxl\":\"egfnmntfpmvmemfn\",\"fukuvsjcswsmystu\":\"lchpodbzevwrdn\",\"chpqbmfpjba\":\"uqypfcvle\"},\"validationErrors\":{\"text\":\"dfc\",\"severity\":\"Error\"}}")
                .toObject(DataIntegrityValidationResult.class);
    }

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