@Test
public void testGetSession()
{

    SwitchSession switchSession = null;
    try
    {
        if ( switchNode_Obj != null )
        {
            switchSession = cumulusTorSwitchService_Obj.getSession( switchNode_Obj );
            assertNotNull( "The switchSession is NULL", switchSession );
            if ( switchSession != null && switchSession.isConnected() )
            {
                logger.info( "swithcSession is connected" );
                switchSession.disconnect();
            }
            else
            {
                logger.info( "switchSession is NOT connected" );
            }
        }
        else
        {
            logger.info( "switchNode_Obj is null" );
            fail();
        }
    }
    catch ( Exception e )
    {
        logger.info( "Error when getting session: " + e.toString() );
        if ( PRINT_STACK_TRACE )
            logger.debug( e.getStackTrace() );
        if ( FAIL_ON_EXCEPTION )
            fail();
    }
}