@Override
    @Nullable
    @Deprecated
    public String[] readUTFArray() throws IOException {
        return readStringArray();
    }
@Test
    public void testReadUTFArray() throws Exception {
        byte[] bytesBE = {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 32, 9, -1, -1, -1, -1};
        byte[] bytesLE = {0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 32, 9, -1, -1, -1, -1};
        in.init((byteOrder == BIG_ENDIAN ? bytesBE : bytesLE), 0);

        in.position(bytesLE.length - 4);
        String[] theNullArray = in.readStringArray();
        in.position(0);
        String[] theZeroLengthArray = in.readStringArray();
        in.position(4);
        String[] bytes = in.readStringArray();

        assertNull(theNullArray);
        assertArrayEquals(new String[0], theZeroLengthArray);
        assertArrayEquals(new String[]{" "}, bytes);
    }