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

package com.azure.resourcemanager.batch.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.batch.fluent.models.PrivateLinkResourceInner;
import org.junit.jupiter.api.Test;

public final class PrivateLinkResourceInnerTests {
    @Test
    public void testDeserialize() {
        PrivateLinkResourceInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"groupId\":\"debfqkkrbmpukgri\",\"requiredMembers\":[\"zlfbxzpuzycispnq\",\"ahmgkbrp\",\"y\"],\"requiredZoneNames\":[\"bnuqqkpik\",\"drgvtqagn\",\"uynhijg\"]},\"etag\":\"ebf\",\"id\":\"iarbutrcvpna\",\"name\":\"zmhjrunmp\",\"type\":\"ttdbhrbnl\"}")
                .toObject(PrivateLinkResourceInner.class);
    }

    @Test
    public void testSerialize() {
        PrivateLinkResourceInner model = new PrivateLinkResourceInner();
        model = BinaryData.fromObject(model).toObject(PrivateLinkResourceInner.class);
    }
}
