docs: public Expectation[] retrieveActiveExpectations(HttpRequest httpRequest) {
          String activeExpectations = retrieveActiveExpectations(httpRequest, Format.JSON);
          if (!Strings.isNullOrEmpty(activeExpectations) && !activeExpectations.equals("[]")) {
              return expectationSerializer.deserializeArray(activeExpectations);
          } else {
              return new Expectation[0];
          }
      }