* not exact copies of one another but have the same number of URLs.
*/
@Test
public void testEqualsSameNumberButDifferentUrls()
{
ReferralImpl refs0 = new ReferralImpl();
refs0.addLdapUrl( "ldap://blah0" );
refs0.addLdapUrl( "ldap://blah1" );
refs0.addLdapUrl( "ldap://blah2" );
refs0.addLdapUrl( "ldap://blah3" );
ReferralImpl refs1 = new ReferralImpl();
refs1.addLdapUrl( "ldap://blah0" );
refs1.addLdapUrl( "ldap://blah1" );
refs1.addLdapUrl( "ldap://blah2" );
refs1.addLdapUrl( "ldap://blah4" );
assertFalse( "Referrals should not be equal", refs0.equals( refs1 ) );
assertFalse( "Referrals should not be equal", refs1.equals( refs0 ) );
}