anchor.diff:                  filter_by_design(),
                   continuous_feed(),
                   %%filter_by_custom_function()
  +                filter_by_filter_function(),
                   filter_by_view()
               ]
           }
  
positive.code:              Heartbeats3 = get_heartbeats(Consumer),
               ?assert(Heartbeats3 > Heartbeats2)
          end)}.
  
  should_filter_by_view({DbName, _}) ->
      ?_test(
  
negative.code:             fun setup/0, fun teardown/1,
              [
                  fun should_receive_heartbeats/1
              ]
          }
      }.
  
  filter_by_filter_function() ->
      {
          "Filter by filters",
          {
              foreach,
              fun setup/0, fun teardown/1,
              [
                  fun should_filter_by_doc_attribute/1,
                  fun should_filter_by_user_ctx/1
              ]
          }
      }.
  