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

public final class HardwareInventoryTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        HardwareInventory model =
            BinaryData
                .fromString(
                    "{\"additionalHostInformation\":\"lxxwrljdouskc\",\"interfaces\":[{\"linkStatus\":\"cr\",\"macAddress\":\"dkwt\",\"name\":\"xbnjbiksq\",\"networkInterfaceId\":\"lssai\"},{\"linkStatus\":\"p\",\"macAddress\":\"nzl\",\"name\":\"fmppe\",\"networkInterfaceId\":\"vmgxsab\"},{\"linkStatus\":\"qduujitcjczdz\",\"macAddress\":\"ndhkrw\",\"name\":\"appd\",\"networkInterfaceId\":\"dkvwrwjfe\"},{\"linkStatus\":\"nhutjeltmrldhugj\",\"macAddress\":\"datqxhocdgeabl\",\"name\":\"huticndvkao\",\"networkInterfaceId\":\"yiftyhxhuro\"}],\"nics\":[{\"lldpNeighbor\":{\"portDescription\":\"olniwpwcukjf\",\"portName\":\"iawxklry\",\"systemDescription\":\"wckbasyypnd\",\"systemName\":\"sgcbac\"},\"macAddress\":\"ejk\",\"name\":\"ynqgoulzndlikwyq\"},{\"lldpNeighbor\":{\"portDescription\":\"gibma\",\"portName\":\"akeqs\",\"systemDescription\":\"yb\",\"systemName\":\"qedqytbciqfoufl\"},\"macAddress\":\"nkzsmodmglou\",\"name\":\"b\"},{\"lldpNeighbor\":{\"portDescription\":\"mutduqktaps\",\"portName\":\"gcue\",\"systemDescription\":\"umkdosvqwhbmd\",\"systemName\":\"bjf\"},\"macAddress\":\"gmbmbexppbh\",\"name\":\"qrolfpf\"}]}")
                .toObject(HardwareInventory.class);
    }

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