// 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.RecommendationActionsResultList;

public final class RecommendationActionsResultListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RecommendationActionsResultList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"advisorName\":\"aqtdoqmcbx\",\"sessionId\":\"vxysl\",\"actionId\":675840078,\"createdTime\":\"2021-05-16T19:49:18Z\",\"expirationTime\":\"2021-06-21T07:49:07Z\",\"reason\":\"lyt\",\"recommendationType\":\"lmpewwwfbkr\",\"details\":{}},\"id\":\"nsvs\",\"name\":\"q\",\"type\":\"ohxcrsbfova\"}],\"nextLink\":\"ruvw\"}")
                .toObject(RecommendationActionsResultList.class);
    }

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