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

package com.azure.resourcemanager.security.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.security.models.SecurityTaskList;

public final class SecurityTaskListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SecurityTaskList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"state\":\"mslyzrpzbchckqqz\",\"creationTimeUtc\":\"2021-07-29T22:35:12Z\",\"lastStateChangeTimeUtc\":\"2021-09-28T16:07:34Z\",\"subState\":\"uiizynke\"},\"id\":\"yatrwy\",\"name\":\"q\",\"type\":\"ibzyhwitsmyp\"}],\"nextLink\":\"npcdpumnzgm\"}")
                .toObject(SecurityTaskList.class);
    }

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