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

package com.azure.resourcemanager.hdinsight.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hdinsight.models.ScriptActionExecutionHistoryList;
import org.junit.jupiter.api.Test;

public final class ScriptActionExecutionHistoryListTests {
    @Test
    public void testDeserialize() {
        ScriptActionExecutionHistoryList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"scriptExecutionId\":8636395279237294027,\"startTime\":\"xbjxyfwnylrcools\",\"endTime\":\"p\",\"status\":\"w\",\"operation\":\"bnujrywvtylbf\",\"executionSummary\":[],\"debugInformation\":\"rd\",\"name\":\"iwii\",\"uri\":\"htywubxcbihwq\",\"parameters\":\"fdntwjchrdgoih\",\"roles\":[\"mwctondzjluudfd\",\"wggytsbwtovvt\",\"seinqfiuf\"],\"applicationName\":\"knpirgnepttwq\"}],\"nextLink\":\"niffcdmqnroj\"}")
                .toObject(ScriptActionExecutionHistoryList.class);
    }

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