assertNotSame( entry1, entry2 );
entry2.setDn( EXAMPLE_DN );
assertEquals( entry1, entry2 );
Attribute attrOC = new DefaultAttribute( "objectClass", atOC, "top", "person" );
Attribute attrCN = new DefaultAttribute( "cn", atCN, "test1", "test2" );
Attribute attrSN = new DefaultAttribute( "sn", atSN, "Test1", "Test2" );
Attribute attrPWD = new DefaultAttribute( "userPassword", atPwd, BYTES1, BYTES2 );
entry1.put( attrOC, attrCN, attrSN, attrPWD );
entry2.put( attrOC, attrCN, attrSN );
assertNotSame( entry1, entry2 );
entry2.put( attrPWD );
assertEquals( entry1, entry2 );
Attribute attrL1 = new DefaultAttribute( "l", atL, "Paris", "New-York" );
Attribute attrL2 = new DefaultAttribute( "l", atL, "Paris", "Tokyo" );
entry1.put( attrL1 );
entry2.put( attrL1 );
assertEquals( entry1, entry2 );