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

public final class WorkloadNetworkGatewayListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkGatewayList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"vxdjzlmwlxkvugf\",\"path\":\"ovawjvzunlu\"},\"id\":\"hnnpr\",\"name\":\"xipeilpjzuaejx\",\"type\":\"ultskzbbtdz\"},{\"properties\":{\"displayName\":\"e\",\"path\":\"gpw\"},\"id\":\"zuhkfpbsjyof\",\"name\":\"xl\",\"type\":\"us\"},{\"properties\":{\"displayName\":\"ouwaboekqvkeln\",\"path\":\"vbxwyjsflhh\"},\"id\":\"aalnjixi\",\"name\":\"xyawj\",\"type\":\"yaqcslyjpkiidz\"},{\"properties\":{\"displayName\":\"znelixhnrztfolh\",\"path\":\"xknalaulppg\"},\"id\":\"dtpnapnyiropuhp\",\"name\":\"gvpgy\",\"type\":\"gqgitxmedjvcsl\"}],\"nextLink\":\"qwwncw\"}")
                .toObject(WorkloadNetworkGatewayList.class);
    }

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