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

package com.azure.resourcemanager.containerservicefleet.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.containerservicefleet.models.WaitStatus;

public final class WaitStatusTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WaitStatus model =
            BinaryData
                .fromString(
                    "{\"status\":{\"startTime\":\"2021-04-20T10:26:18Z\",\"completedTime\":\"2021-10-12T01:56:34Z\",\"state\":\"Stopped\"},\"waitDurationInSeconds\":1046063438}")
                .toObject(WaitStatus.class);
    }

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