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

package com.azure.resourcemanager.securitydevops.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.securitydevops.models.OperationListResult;
import org.junit.jupiter.api.Test;

public final class OperationListResultTests {
    @Test
    public void testDeserialize() {
        OperationListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"name\":\"wtgrhpdjpj\",\"isDataAction\":true,\"display\":{\"provider\":\"azjpqyegualhbxxh\",\"resource\":\"jzzvdud\",\"operation\":\"dslfhotwmcy\",\"description\":\"wlbjnpgacftade\"},\"origin\":\"user\",\"actionType\":\"Internal\"},{\"name\":\"fsoppusuesnzw\",\"isDataAction\":true,\"display\":{\"provider\":\"vorxzdmohct\",\"resource\":\"vudwx\",\"operation\":\"dnvowg\",\"description\":\"jugwdkcglhsl\"},\"origin\":\"system\",\"actionType\":\"Internal\"},{\"name\":\"gdtjixhbkuofqwey\",\"isDataAction\":true,\"display\":{\"provider\":\"evfyexfwhybcib\",\"resource\":\"vdcsitynn\",\"operation\":\"mdectehfiqscjey\",\"description\":\"hezrkgq\"},\"origin\":\"user\",\"actionType\":\"Internal\"}],\"nextLink\":\"o\"}")
                .toObject(OperationListResult.class);
    }

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