anchor.diff:      %% new value to `riak_core_apl' as a document index.
       DocIdx = convert(SubpID, subpartition_index) - RingIndexInc,
       PrefList =
  -        docidx_to_preflist(DocIdx, NVal, Offset, UpNodes),
  +        docidx_to_preflist(DocIdx, NVal, Offset, UpNodes, CHBin),
       singular_preflist_to_chunk(PrefList, SubpID).
   
   singular_preflist_to_chunk([], _SubpID) ->
  
positive.code: 
  %% The `riak_core_apl' functions we rely on assume a key hash, not a
  %% partition hash.
  partition_to_preflist(Partition, NVal, Offset, UpNodes) ->
      DocIdx = convert(Partition, doc_index),
      docidx_to_preflist(DocIdx, NVal, Offset, UpNodes).
  
  docidx_to_preflist(DocIdx, NVal, Offset, UpNodes) ->
      {ok, CHBin} = riak_core_ring_manager:get_chash_bin(),
  
      %% `chashbin' would be fine with a straight integer, but
      %% `riak_core_apl' has a -spec that mandates binary(), so we'll
      %% play its game
  
negative.code:                        {3, 7, ?SET([6, 7, 0, 1, 2])}])).
  
  create_plan_test_() ->
      {foreach,
       fun cpsetup/0,
       fun cpteardown/1,
       [fun test_create_traditional_plan/1,
        fun test_create_subpartition_plan/1]
      }.
  
  cpsetup() ->
      meck:new(riak_core_node_watcher, []),
  