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

public final class WorkloadNetworkVMGroupsListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkVMGroupsList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"cgjbirxbp\",\"members\":[],\"status\":\"SUCCESS\",\"provisioningState\":\"Canceled\",\"revision\":2236269397517718606},\"id\":\"twss\",\"name\":\"t\",\"type\":\"tpvjzbexilzznfqq\"}],\"nextLink\":\"wpmqt\"}")
                .toObject(WorkloadNetworkVMGroupsList.class);
    }

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