@Test
public void testGetSwitchSensorInfo()
{

    SwitchSensorInfo sensorInfo_Obj = null;
    try
    {
        sensorInfo_Obj = cumulusTorSwitchService_Obj.getSwitchSensorInfo( switchNode_Obj );
        assertNotNull( "SensorInfo is null", sensorInfo_Obj );
        if ( sensorInfo_Obj != null )
        {
            logger.info( "Get Sensor Info" );
            logger.info( "Timestamp: " + sensorInfo_Obj.getTimestamp() );
            logger.info( "Class: " + sensorInfo_Obj.getClass() );
            List<ChassisTemp> chassisTempList = sensorInfo_Obj.getChassisTemps();
            List<FanSpeed> fanSpeedList = sensorInfo_Obj.getFanSpeeds();
            List<PsuStatus> psuStatusList = sensorInfo_Obj.getPsuStatus();
            assertNotNull( "ChassisTemp list is null", chassisTempList );
            if ( chassisTempList.isEmpty() && chassisTempList != null )
            {
                logger.info( "ChassisTemp List is not null/empty. List: " );
                for ( int i = 0; i < chassisTempList.size(); i++ )
                {
                    logger.info( chassisTempList.get( i ) );
                }
            }
            assertNotNull( "fanSpeed list is null", fanSpeedList );
            if ( fanSpeedList.isEmpty() && fanSpeedList != null )
            {
                logger.info( "fanSpeed List is not null/empty. List: " );
                for ( int i = 0; i < fanSpeedList.size(); i++ )
                {
                    logger.info( fanSpeedList.get( i ) );
                }
            }
            assertNotNull( "psuStatus list is null", psuStatusList );
            if ( psuStatusList.isEmpty() && psuStatusList != null )
            {
                logger.info( "psuStatus List is not null/empty. List: " );
                for ( int i = 0; i < psuStatusList.size(); i++ )
                {
                    logger.info( psuStatusList.get( i ) );
                }
            }
        }
    }
    catch ( Exception e )
    {
        logger.info( "Error while getting Switch OS information: " + e.toString() );
        if ( PRINT_STACK_TRACE )
            logger.debug( e.getStackTrace() );
        if ( FAIL_ON_EXCEPTION )
            fail();
    }
}