anchor.diff:      View = otel_view:new(#{instrument_name => a_counter}, #{aggregation => otel_aggregation_sum}),
       %% view name becomes the instrument name
       ?assertEqual(a_counter, View#view.name),
  -    Attributes = #{},
  +
       Matches = otel_view:match_instrument_to_views(Counter, [View]),
       ?assertMatch([_], Matches),
   
  
positive.code:     ok.
  
  add_readers(_Config) ->
      ?assertEqual(ok, otel_meter_server:add_metric_reader(otel_metric_reader, #{})),
      ?assertEqual(ok, otel_meter_server:add_metric_reader(otel_metric_reader,
                                                           #{default_aggregation_mapping =>
                                                                 #{?KIND_COUNTER => otel_aggregation_histogram_explicit,
                                                                   ?KIND_OBSERVABLE_GAUGE => otel_aggregation_histogram_explicit}})),
  
      ok.
  
  
negative.code:                  end
           end)()).
  
  -define(assertNotReceive(Name, Description, Unit),
          (fun() ->
                   receive
                       M=#metric{name=MetricName,
                                 description=MetricDescription,
                                 unit=MetricUnit}
                         when MetricName =:= Name,
                              MetricDescription =:= Description,
                              MetricUnit =:= Unit ->
                           ct:fail({metric_received, M})
                   after
                       0 ->
                           ok
                   end
           end)()).
  
  all() ->
      [provider_test, view_creation_test, counter_add, add_readers,
       explicit_histograms, reader_aggregations].
  