AttributeType at1 = EntryUtils.getBytesAttributeType();
BinaryValue v0 = new BinaryValue( at1, BYTES1 );
BinaryValue v1 = new BinaryValue( at1, BYTES2 );
assertEquals( 0, v0.compareTo( v1 ) );
assertEquals( 0, v1.compareTo( v0 ) );
BinaryValue v2 = new BinaryValue( at1, null );
assertEquals( 1, v0.compareTo( v2 ) );
assertEquals( -1, v2.compareTo( v0 ) );