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

public final class UpdateStatusTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UpdateStatus model =
            BinaryData
                .fromString(
                    "{\"startTime\":\"2020-12-26T05:08:12Z\",\"completedTime\":\"2021-01-23T02:14:07Z\",\"state\":\"Stopping\"}")
                .toObject(UpdateStatus.class);
    }

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