@Override
    public ByteOrder getByteOrder() {
        return isBigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN;
    }
@Test
    public void testGetByteOrder() {
        ByteArrayObjectDataOutput outLE = new ByteArrayObjectDataOutput(10, mockSerializationService, LITTLE_ENDIAN);
        ByteArrayObjectDataOutput outBE = new ByteArrayObjectDataOutput(10, mockSerializationService, BIG_ENDIAN);

        assertEquals(LITTLE_ENDIAN, outLE.getByteOrder());
        assertEquals(BIG_ENDIAN, outBE.getByteOrder());
    }