@Test
public void testCalculateChecksum() {

    ByteBuf input = Unpooled.wrappedBuffer(new byte[] {
            'n', 'e', 't', 't', 'y'
    });
    assertEquals(maskChecksum(0xd6cb8b55), calculateChecksum(input));
    input.release();
}