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

package com.azure.resourcemanager.mariadb.generated;

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

public final class PrivateLinkResourceListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PrivateLinkResourceListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"groupId\":\"glkfg\",\"requiredMembers\":[]},\"id\":\"dneu\",\"name\":\"lfphsdyhtozfikd\",\"type\":\"wwquuvxzxclvithh\"},{\"properties\":{\"groupId\":\"nosggbhcoh\",\"requiredMembers\":[]},\"id\":\"dsjnka\",\"name\":\"jutiiswacff\",\"type\":\"dkzzewkfvhqcrail\"}],\"nextLink\":\"n\"}")
                .toObject(PrivateLinkResourceListResult.class);
    }

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