@Test
public void testInvalidLogin()
{

    String deviceIp = "10.28.197.242";
    String deviceUser = "cumulus";
    String devicePassword = "BadPassword";
    SwitchNode switchNode = new SwitchNode( "S0", "SSH", deviceIp, new Integer( 22 ), deviceUser, devicePassword );
    ISwitchService switchService = new CumulusTorSwitchService();
    SwitchOsInfo switchOsInfo = null;
    try
    {
        switchOsInfo = switchService.getSwitchOsInfo( switchNode );
        if ( switchOsInfo != null )
        {
            System.out.println( "[Device IP : " + deviceIp + "] Found Switch OS information = "
                + switchOsInfo.getOsName() );
        }
        else
        {
            System.out.println( "[Device IP : " + deviceIp + "] No information found for Switch OS." );
        }
    }
    catch ( Exception excep )
    {
        System.out.println( "Error while getting Switch OS information: " + excep.toString() );
    }
}