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

package com.azure.resourcemanager.avs.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.avs.models.ClusterList;

public final class ClusterListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ClusterList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"sku\":{\"name\":\"y\"},\"properties\":{\"clusterSize\":93185233,\"provisioningState\":\"Succeeded\",\"clusterId\":981492544,\"hosts\":[]},\"id\":\"npc\",\"name\":\"hocohslkev\",\"type\":\"eggzfb\"}],\"nextLink\":\"fmvfaxkffeiit\"}")
                .toObject(ClusterList.class);
    }

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