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

public final class HealthCheckStatusDetailsListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        HealthCheckStatusDetailsListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"startDateTime\":\"2021-12-10T01:46:10Z\",\"endDateTime\":\"2021-11-22T00:26:44Z\",\"healthChecks\":[]},\"id\":\"bxarzgszufoxci\",\"name\":\"opidoamciodh\",\"type\":\"haz\"},{\"properties\":{\"startDateTime\":\"2021-11-22T06:47:21Z\",\"endDateTime\":\"2021-03-10T21:25:05Z\",\"healthChecks\":[]},\"id\":\"lwntoego\",\"name\":\"dwbwhkszzcmrvexz\",\"type\":\"vbtqgsfraoyzk\"},{\"properties\":{\"startDateTime\":\"2021-06-11T18:07:16Z\",\"endDateTime\":\"2021-01-01T04:06:13Z\",\"healthChecks\":[]},\"id\":\"ux\",\"name\":\"wqaldsyu\",\"type\":\"ximerqfobwyznk\"}],\"nextLink\":\"kutwpf\"}")
                .toObject(HealthCheckStatusDetailsListResult.class);
    }

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