Skip to content

Commit

Permalink
chore: synced pact-jvm docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Action committed Jul 11, 2024
1 parent ae27987 commit 855eb56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/implementation_guides/jvm/provider/junit.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The library is available on maven central using:

* group-id = `au.com.dius.pact.provider`
* artifact-id = `junit`
* version-id = `4.1.x`
* version-id = `4.6.x`


## Overview
Expand Down Expand Up @@ -195,6 +195,7 @@ provider side, so there is no way to know what the ID would be beforehand.
There are methods on the consumer DSLs that can provider an expression that contains variables (like '/api/user/${id}'
for the path). The provider state callback can then return a map for values, and the `id` attribute from the map will
be expanded in the expression. For this to work, just make your provider state method return a Map of the values.
The injected values will fall back to the provider state parameters if the state change method does not return a value.

### Using multiple classes for the state change methods

Expand Down

0 comments on commit 855eb56

Please sign in to comment.