common/src/testFixtures/java/bio/terra/cloudres/testing/MetricsTestUtil.java
/**
   * Assert the DistributionData count is a value. 0 is equivalent to no count being present.
   *
   * <p>The clear stats in opencensus is not public, so we have to keep track of each stats and
   * verify the increment.
   */
Assert the DistributionData count is a value. 0 is equivalent to no count being present.
The clear stats in opencensus is not public, so we have to keep track of each stats and
verify the increment.
Assert the DistributionData count is a value . 0 is equivalent to no count being present . The clear stats in opencensus is not public so we have to keep track of each stats and verify the increment .
public static void assertLatencyCountIncremented(
      View.Name viewName, List<TagValue> tags, long previous, long increment, int bucketIndex) {
    long currentCount = getCurrentDistributionDataCount(viewName, tags, bucketIndex);
    assertEquals(increment, currentCount - previous);
  }
public static void assertLatencyCountIncremented ( View . Name viewName , List < TagValue > tags , long previous , long increment , int bucketIndex ) { long currentCount = getCurrentDistributionDataCount ( viewName , tags , bucketIndex ) ; assertEquals ( increment , currentCount - previous ) ; }
Assert the DistributionData count is a value.
Assert the DistributionData count is a value .