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

package com.azure.resourcemanager.mariadb.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mariadb.models.AdvisorsResultList;

public final class AdvisorsResultListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AdvisorsResultList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":\"datarmcqiby\",\"id\":\"nojvknmefqsg\",\"name\":\"vah\",\"type\":\"pjyzhpv\"},{\"properties\":\"datazcjrvxdjzlmwlx\",\"id\":\"vu\",\"name\":\"fhzovawjvzunluth\",\"type\":\"n\"},{\"properties\":\"datanxipeil\",\"id\":\"jzuaejxdultskzbb\",\"name\":\"dzumveekg\",\"type\":\"wozuhkf\"},{\"properties\":\"datasjyofdx\",\"id\":\"uusdttouwa\",\"name\":\"oekqvk\",\"type\":\"lns\"}],\"nextLink\":\"bxwyjsflhhcaa\"}")
                .toObject(AdvisorsResultList.class);
    }

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