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

package com.azure.resourcemanager.avs.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.avs.models.AddonList;

public final class AddonListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AddonList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Deleting\"},\"id\":\"zikhl\",\"name\":\"fjhdg\",\"type\":\"gge\"},{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Updating\"},\"id\":\"ygaeqidbqfatpxl\",\"name\":\"rxcyjmoad\",\"type\":\"uvarmywdmjsjq\"},{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Updating\"},\"id\":\"yxxrwlycoduh\",\"name\":\"kxkgymareqna\",\"type\":\"xqugjhkycubedd\"},{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Updating\"},\"id\":\"fwqmzqalkrmn\",\"name\":\"i\",\"type\":\"pxacqqudfn\"}],\"nextLink\":\"xbaaabjyv\"}")
                .toObject(AddonList.class);
    }

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