// 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.Circuit;

public final class CircuitTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        Circuit model =
            BinaryData
                .fromString(
                    "{\"primarySubnet\":\"jqabcypmivkwlzuv\",\"secondarySubnet\":\"fwnfnb\",\"expressRouteID\":\"fionl\",\"expressRoutePrivatePeeringID\":\"x\"}")
                .toObject(Circuit.class);
    }

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