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

public final class WorkloadNetworkDnsZonesListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkDnsZonesList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"abudurgk\",\"domain\":[\"o\",\"zhjjklffhmouwq\",\"gzrf\"],\"dnsServerIps\":[\"yebizikayuh\",\"lbjbsyb\",\"qwrvtldgmfp\",\"vm\"],\"sourceIp\":\"paslthaqfxssmwu\",\"dnsServices\":5857300583432232826,\"provisioningState\":\"Updating\",\"revision\":8587897237189545303},\"id\":\"drhneuyow\",\"name\":\"kdw\",\"type\":\"t\"}],\"nextLink\":\"ib\"}")
                .toObject(WorkloadNetworkDnsZonesList.class);
    }

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