// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.databox.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databox.models.JobStages;

public final class JobStagesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        JobStages model =
            BinaryData
                .fromString(
                    "{\"stageName\":\"Failed_IssueReportedAtCustomer\",\"displayName\":\"od\",\"stageStatus\":\"WaitingForCustomerActionForCleanUp\",\"stageTime\":\"2021-03-03T09:41:38Z\",\"jobStageDetails\":\"datanohjt\"}")
                .toObject(JobStages.class);
    }

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