Java Examples for

The following java examples will help you to understand the usage of These source code samples are taken from different open source projects.

Example 1
Project: hibernate-orm-master  File: View source code
public void testEquality() {
    // blobs of the same internal value are not really comparable
    assertFalse(original == copy);
    assertTrue(BlobTypeDescriptor.INSTANCE.areEqual(original, original));
    assertFalse(BlobTypeDescriptor.INSTANCE.areEqual(original, copy));
    assertFalse(BlobTypeDescriptor.INSTANCE.areEqual(original, different));