@Test
    public final void testIsEmpty() {
        assertFalse(toCheck.isEmpty());
        assertTrue(new Utf8Array(new byte[] {}).isEmpty());
    }
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