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

public final class StorageAccountCredentialListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        StorageAccountCredentialList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"alias\":\"mvaolps\",\"userName\":\"qlfmmdnbb\",\"connectionString\":\"pswiydmcwyh\",\"sslStatus\":\"Disabled\",\"blobDomainName\":\"ss\",\"accountType\":\"GeneralPurposeStorage\",\"storageAccountId\":\"zmnvdfznudaod\"},\"id\":\"xzb\",\"name\":\"cblylpstdbhhxsr\",\"type\":\"dzu\"}],\"nextLink\":\"rsc\"}")
                .toObject(StorageAccountCredentialList.class);
    }

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