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

package com.azure.resourcemanager.datalakestore.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakestore.models.VirtualNetworkRuleListResult;

public final class VirtualNetworkRuleListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        VirtualNetworkRuleListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"subnetId\":\"vqdra\"},\"name\":\"jybige\",\"type\":\"qfbow\",\"id\":\"anyktzlcuiywg\"},{\"properties\":{\"subnetId\":\"gndrvynh\"},\"name\":\"pphrcgynco\",\"type\":\"ecfvmm\",\"id\":\"ofsx\"}],\"nextLink\":\"evgbmqjq\"}")
                .toObject(VirtualNetworkRuleListResult.class);
    }

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