@Test
public void testGetSwitchHardwareInfo()
{

    SwitchHardwareInfo hwInfo = null;
    try
    {
        hwInfo = cumulusTorSwitchService_Obj.getSwitchHardwareInfo( switchNode_Obj );
        assertNotNull( "HWInfo is null", hwInfo );
        if ( hwInfo != null )
        {
            logger.info( "[Device IP : " + switchNode_Obj.getIpAddress() + "] Found Switch Hardware information." );
            logger.info( "Hardware info: " );
            logger.info( "Class Name: " + hwInfo.getClass().getName() );
            logger.info( "Model: " + hwInfo.getModel() );
            logger.info( "Manufacturer: " + hwInfo.getManufacturer() );
            logger.info( "Chassis Serial Id: " + hwInfo.getChassisSerialId() );
            logger.info( "Part Number: " + hwInfo.getPartNumber() );
            logger.info( "Manufacture Date: " + hwInfo.getManufactureDate() );
            logger.info( "Management Mac Address: " + hwInfo.getManagementMacAddress() );
        }
    }
    catch ( Exception e )
    {
        logger.info( "Error while getting Switch Hardware information: " + e.toString() );
        if ( PRINT_STACK_TRACE )
            logger.debug( e.getStackTrace() );
        if ( FAIL_ON_EXCEPTION )
            fail();
    }
}