@Test
public void testIsPoweredOn()
{

    boolean isPoweredOn;
    try
    {
        isPoweredOn = cumulusTorSwitchService_Obj.isPoweredOn( switchNode_Obj );
        assertTrue( "The switch is NOT powered on. Expected result: True; Value returned: " + isPoweredOn,
                    isPoweredOn );
    }
    catch ( Exception e )
    {
        logger.info( "Error when testing if Switch is Powered on: " + e.toString() );
        if ( PRINT_STACK_TRACE )
            logger.debug( e.getStackTrace() );
        if ( FAIL_ON_EXCEPTION )
            fail();
    }
}