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

package com.azure.resourcemanager.databoxedge.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databoxedge.models.TriggerList;

public final class TriggerListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        TriggerList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"kind\":\"Trigger\",\"id\":\"pnppfuf\",\"name\":\"rwdmhdlxyjrxsa\",\"type\":\"afcnih\"},{\"kind\":\"Trigger\",\"id\":\"wqapnedgfbcvk\",\"name\":\"vq\",\"type\":\"pkeqdcvdrhvoo\"}],\"nextLink\":\"otbobzdopcj\"}")
                .toObject(TriggerList.class);
    }

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