@Test( expected = Exception.class )
public void testGetSessionObjectWithNullUsername()
    throws JSchException
{

    logger.info( "[TS] : testGetSessionObjectWithNullSessionObj" );
    String username = null;
    String password = "ADMIN";
    String hostname = "10.28.197.23";
    int port = 65534;
    Properties sessionConfig = new java.util.Properties();
    sessionConfig.put( "StrictHostKeyChecking", "no" );
    Session result = null;
    result = SshUtil.getSessionObject( username, password, hostname, port, sessionConfig );
    result.connect( 1000 );
    boolean isResultNull = false;
    if ( result == null )
    {
        isResultNull = true;
    }
    else
    {
        isResultNull = false;
    }
    logger.info( "[TS] : Expected result : Will throw an error when we will try to connect" );
    result.connect( 1000 );
}