code: public boolean isApplicable(Call call) {
          return when.getPredicate().test(call) && (actionSequence.size() == 0 || exceededAction != null || actionSequence.size() > appliedTimes);
      }
docs: Checks whether the call satisfies condition of this stub