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

package com.azure.resourcemanager.managednetworkfabric.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatchableProperties;

public final class NetworkFabricPatchablePropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        NetworkFabricPatchableProperties model =
            BinaryData
                .fromString(
                    "{\"racks\":[\"rdve\",\"nwsdtutnwlduyc\"],\"l2IsolationDomains\":[\"hyrmewipmvekdx\",\"kuqgsjjxundxgket\",\"zhhzjhfjmhvvmu\"],\"l3IsolationDomains\":[\"mun\",\"qsxvmhf\"]}")
                .toObject(NetworkFabricPatchableProperties.class);
    }

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