@Test
public void testEquals() throws LdapInvalidAttributeValueException
{
AttributeType at1 = EntryUtils.getBytesAttributeType();
BinaryValue value1 = new BinaryValue( at1, new byte[]
{ 0x01, ( byte ) 0x02 } );
BinaryValue value2 = new BinaryValue( at1, new byte[]
{ 0x01, ( byte ) 0x02 } );
BinaryValue value3 = new BinaryValue( at1, new byte[]
{ 0x01, ( byte ) 0x82 } );
BinaryValue value4 = new BinaryValue( at1, new byte[]
{ 0x01 } );
BinaryValue value5 = new BinaryValue( at1, null );
BinaryValue value6 = new BinaryValue( at, new byte[]
{ 0x01, 0x02 } );
StringValue value7 = new StringValue( EntryUtils.getIA5StringAttributeType(),
"test" );
assertTrue( value1.equals( value1 ) );