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

package com.azure.resourcemanager.sqlvirtualmachine.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.sqlvirtualmachine.models.AvailabilityGroupListenerListResult;

public final class AvailabilityGroupListenerListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AvailabilityGroupListenerListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"provisioningState\":\"trg\",\"availabilityGroupName\":\"bpf\",\"loadBalancerConfigurations\":[],\"multiSubnetIpConfigurations\":[],\"createDefaultAvailabilityGroupIfNotExist\":false,\"port\":1078970203},\"id\":\"cjrwzoxxjtfellu\",\"name\":\"fziton\",\"type\":\"eqfpj\"}],\"nextLink\":\"lxofpdvhpfxxypin\"}")
                .toObject(AvailabilityGroupListenerListResult.class);
    }

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