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

public final class ShareListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ShareList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"description\":\"doqmcbxvwvxys\",\"shareStatus\":\"OK\",\"monitoringStatus\":\"Enabled\",\"accessProtocol\":\"SMB\",\"userAccessRights\":[],\"clientAccessRights\":[],\"shareMappings\":[],\"dataPolicy\":\"Local\"},\"id\":\"tkblmpewww\",\"name\":\"bkrvrnsvshqj\",\"type\":\"hxcr\"}],\"nextLink\":\"fovasr\"}")
                .toObject(ShareList.class);
    }

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