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

package com.azure.resourcemanager.datalakestore.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakestore.fluent.models.OperationListResultInner;

public final class OperationListResultInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        OperationListResultInner model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"name\":\"njeaseipheofloke\",\"display\":{\"provider\":\"enjbdlwtgrhp\",\"resource\":\"pj\",\"operation\":\"asxazjpqyegualhb\",\"description\":\"hejjz\"},\"origin\":\"user,system\"},{\"name\":\"dgwdslfhot\",\"display\":{\"provider\":\"ynpwlbj\",\"resource\":\"gacftadeh\",\"operation\":\"ltyfsop\",\"description\":\"suesnzw\"},\"origin\":\"user,system\"},{\"name\":\"avo\",\"display\":{\"provider\":\"dmoh\",\"resource\":\"bqvudwxdndn\",\"operation\":\"w\",\"description\":\"jjugwdkcglhslaz\"},\"origin\":\"user\"},{\"name\":\"gdtjixhbkuofqwey\",\"display\":{\"provider\":\"enevfyexfwhybci\",\"resource\":\"yvdcsitynnaa\",\"operation\":\"ectehf\",\"description\":\"scjeypv\"},\"origin\":\"user,system\"}],\"nextLink\":\"kgqhcjrefovg\"}")
                .toObject(OperationListResultInner.class);
    }

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