code: public void incrementFor(Status status) {
          final int statusCounter = getValueFor(status) + 1;
          this.counter.put(status, statusCounter);
          size++;
  
          if (finalStatus == Status.PASSED && status != Status.PASSED) {
              finalStatus = Status.FAILED;
          }
      }
docs: Increments finalStatus counter by single value.
  
  @param status
  finalStatus for which the counter should be incremented.