anchor.diff:                 WrapperSize = maps:get(wrapper_size, State),
                  meck:expect(chef_index, update,
                              fun(solr, Payload) ->
  -                                   ExpectedSize = byte_size(iolist_to_binary(Payload)),
  -                                   ?assertEqual(CurrentSize+WrapperSize, ExpectedSize),
  +                                   ActualSize = byte_size(iolist_to_binary(Payload)),
  +                                   ?assertEqual(CurrentSize+WrapperSize, ActualSize),
                                      ok
                              end),
                  chef_index_batch:flush(),
  
positive.code:         started ->
              ok
      end.
  
negative.code:                meck:expect(chef_index, update, fun(solr, _Payload) -> ok end),
                 application:set_env(chef_index, search_batch_max_wait, 10),
                 restart_server(),
                 add_item_no_wait(<<"abcdefg">>),
                 ?assertEqual(ok, wait_for_res())
         end
        },
  