code: public PactDslRequestWithPath pathFromProviderState(String expression, String example) {
      requestGenerators.addGenerator(Category.PATH, new ProviderStateGenerator(expression));
      return new PactDslRequestWithPath(consumerPactBuilder, consumerName, providerName, pactDslWithState.state,
        description, example, requestMethod, requestHeaders, query, requestBody, requestMatchers, requestGenerators,
        defaultRequestValues, defaultResponseValues);
    }
docs: Sets the path to have it's value injected from the provider state
  @param expression Expression to be evaluated from the provider state
  @param example Example value to use in the consumer test