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

package com.azure.resourcemanager.networkcloud.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.networkcloud.models.NetworkInterface;

public final class NetworkInterfaceTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        NetworkInterface model =
            BinaryData
                .fromString(
                    "{\"address\":\"hrdgoihxumwcto\",\"deviceConnectionType\":\"PCI\",\"model\":\"luudfdlwggytsb\",\"physicalSlot\":5516945390083190100,\"portCount\":7172783376520041766,\"portSpeed\":5602007225106690396,\"vendor\":\"qfi\"}")
                .toObject(NetworkInterface.class);
    }

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