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

package com.azure.resourcemanager.hybridnetwork.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridnetwork.models.OperationList;
import org.junit.jupiter.api.Test;

public final class OperationListTests {
    @Test
    public void testDeserialize() {
        OperationList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"name\":\"ppdsbdkvwrwj\",\"display\":{\"provider\":\"snhu\",\"resource\":\"eltmrldhugjzzdat\",\"operation\":\"hocdgeab\",\"description\":\"phut\"}}],\"nextLink\":\"ndv\"}")
                .toObject(OperationList.class);
    }

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