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

public final class UserListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UserList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"shareAccessRights\":[],\"userType\":\"ARM\"},\"id\":\"ywsuwsy\",\"name\":\"s\",\"type\":\"dsytgadgvr\"},{\"properties\":{\"shareAccessRights\":[],\"userType\":\"Share\"},\"id\":\"neqn\",\"name\":\"arrwlquu\",\"type\":\"jfqka\"}],\"nextLink\":\"wiipfpub\"}")
                .toObject(UserList.class);
    }

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