@Test
void shouldEncodePullMessage() throws Exception
{

    encoder.encode( new PullMessage( 100, 200 ), packer );
    Map<String,Value> meta = new HashMap<>();
    meta.put( "n", value( 100 ) );
    meta.put( "qid", value( 200 ) );
    InOrder order = inOrder( packer );
    order.verify( packer ).packStructHeader( 1, PullMessage.SIGNATURE );
    order.verify( packer ).pack( meta );
}