@Test
public void shouldHaveSameByteOrder() {

    ByteBuf buf = buffer(1);
    assertSame(BIG_ENDIAN, unmodifiableBuffer(buf).order());
    buf = buf.order(LITTLE_ENDIAN);
    assertSame(LITTLE_ENDIAN, unmodifiableBuffer(buf).order());
}