@Test
void shouldWriteMessageBoundary()
{

    ByteBuf buf = Unpooled.buffer();
    buf.writeInt( 1 );
    buf.writeInt( 2 );
    buf.writeInt( 3 );
    writeMessageBoundary( buf );
    assertByteBufContains( buf, 1, 2, 3, (byte) 0, (byte) 0 );
}