@Test
    public final void testHashCode() {
        Utf8Array other = new Utf8Array(Utf8.toBytes(" a23456789"));
        assertFalse(other.hashCode() == toCheck.hashCode());
    }
Check the Utf8Array API behaves as expected.

@author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
vespajlib/src/test/java/com/yahoo/text/Utf8ArrayTestCase.java