@Test
public void checkNotenoughData() {

    IntPartialDecoder decoder = new IntPartialDecoder();
    ByteBuffer buffer = ByteBuffer.wrap(new byte[] {0x00, 0x00});
    assertFalse(decoder.consume(buffer));
}