assertTrue( "Bad blob data read using type 4 driver - is there a problem with the type 4 or the test itself ?", Arrays.equals( testbuf, dataReadFromBlob ));
assertTrue( "Bad blob data read using type 2 driver.", Arrays.equals( testbuf, dataReadFromBlob ));
    public void testBlobReadBug() throws Exception        {        final byte[] testbuf = createTestData();        createDatabaseAndWriteBlobAndDetatch( testbuf );        try            {            byte[] dataReadFromBlob;            // First lets just ensure that the type 4 GDS can read the blob data it just wrote correctly.            try                {                dataReadFromBlob = openDatabaseReadBlobAndDetatch(getType4Gds());                }            catch(Throwable th)                {                throw new Exception("Problem trying to read blob data using type 4 driver - is there a problem with the type 4 or the test itself ?");                }            assertTrue( "Bad blob data read using type 4 driver - is there a problem with the type 4 or the test itself ?", Arrays.equals( testbuf, dataReadFromBlob ));            // Now for the actual test - can we read the blob data correctly with the type 2 GDS.            dataReadFromBlob = openDatabaseReadBlobAndDetatch(getType2Gds());            assertTrue( "Bad blob data read using type 4 driver - is there a problem with the type 4 or the test itself ?", Arrays.equals( testbuf, dataReadFromBlob ));            }        finally            {            dropDatabase(getType4Gds());            }        }