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

package com.azure.resourcemanager.devcenter.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.devcenter.models.HealthCheck;

public final class HealthCheckTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        HealthCheck model =
            BinaryData
                .fromString(
                    "{\"status\":\"Running\",\"displayName\":\"krribdeibqi\",\"startDateTime\":\"2021-08-10T16:45:38Z\",\"endDateTime\":\"2021-09-05T16:00:20Z\",\"errorType\":\"xndzwm\",\"recommendedAction\":\"efajpj\",\"additionalDetails\":\"wkqnyhg\"}")
                .toObject(HealthCheck.class);
    }

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