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

package com.azure.resourcemanager.synapse.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.synapse.models.PrivateLinkResourceListResult;

public final class PrivateLinkResourceListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PrivateLinkResourceListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"groupId\":\"drvyn\",\"requiredMembers\":[],\"requiredZoneNames\":[]},\"id\":\"pphrcgynco\",\"name\":\"pec\",\"type\":\"vmmcoofs\"},{\"properties\":{\"groupId\":\"evgbmqjq\",\"requiredMembers\":[],\"requiredZoneNames\":[]},\"id\":\"y\",\"name\":\"mivkwlzuvcc\",\"type\":\"wnfnbacf\"},{\"properties\":{\"groupId\":\"l\",\"requiredMembers\":[],\"requiredZoneNames\":[]},\"id\":\"etqgtzxdpnq\",\"name\":\"qqwx\",\"type\":\"jfeallnwsub\"},{\"properties\":{\"groupId\":\"jampmngnzscxaqw\",\"requiredMembers\":[],\"requiredZoneNames\":[]},\"id\":\"hcbonqvpkvlr\",\"name\":\"njeaseipheofloke\",\"type\":\"y\"}],\"nextLink\":\"nj\"}")
                .toObject(PrivateLinkResourceListResult.class);
    }

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