public void testNotEqualDiffAttributes() throws LdapException
{
AddRequestImpl req0 = new AddRequestImpl();
req0.setMessageId( 5 );
Entry entry0 = getEntry();
entry0.setDn( new Dn( "cn=admin,dc=apache,dc=org" ) );
req0.setEntry( entry0 );
AddRequestImpl req1 = new AddRequestImpl();
req1.setMessageId( 5 );
req1.setEntryDn( new Dn( "cn=admin,dc=apache,dc=org" ) );
assertTrue( req0.equals( req1 ) );
assertTrue( req1.equals( req0 ) );
Entry entry1 = getEntry();
entry1.setDn( new Dn( "cn=admin,dc=apache,dc=org" ) );
req1.setEntry( entry1 );
assertTrue( req0.equals( req1 ) );
assertTrue( req1.equals( req0 ) );