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

package com.azure.resourcemanager.datalakeanalytics.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakeanalytics.models.FirewallRuleListResult;

public final class FirewallRuleListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        FirewallRuleListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"startIpAddress\":\"lhspkdee\",\"endIpAddress\":\"ofmxagkvtmelmqkr\"},\"name\":\"hvljuahaquh\",\"type\":\"hmdua\",\"id\":\"exq\"}],\"nextLink\":\"fadmws\"}")
                .toObject(FirewallRuleListResult.class);
    }

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