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

public final class WorkloadNetworkDhcpListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkDhcpList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"ualupjmkh\",\"segments\":[],\"provisioningState\":\"Building\",\"revision\":416543254607758865},\"id\":\"wsrtjriplrbpbe\",\"name\":\"tghfgblcgwxzvl\",\"type\":\"qhjk\"}],\"nextLink\":\"gibtnm\"}")
                .toObject(WorkloadNetworkDhcpList.class);
    }

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