public PactDslRequestWithoutPath queryParameterFromProviderState ( String name , String expression , String example ) { requestGenerators . addGenerator ( Category . QUERY , name , new ProviderStateGenerator ( expression ) ) ; query . put ( name , Collections . singletonList ( example ) ) ; return this ; }
Adds a query parameter that will have it s value injected from the provider state