Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pact V3] Set provider state parameters as varargs #335

Closed
lordofthejars opened this issue Oct 20, 2016 · 0 comments
Closed

[Pact V3] Set provider state parameters as varargs #335

lordofthejars opened this issue Oct 20, 2016 · 0 comments

Comments

@lordofthejars
Copy link
Contributor

Set provider state parameters as varargs, so apart from having the given(String, Map<String, Object> you also have next one given(String state, String key, Object value, Object...params) so you don't need to create a Map.

In case of using the varargs the par values will be keys calling the toString method to adapt to Map signature.

lordofthejars added a commit to lordofthejars/pact-jvm that referenced this issue Oct 20, 2016
uglyog pushed a commit that referenced this issue Oct 22, 2016
[issue #335] adds given method with varargs
@uglyog uglyog closed this as completed Sep 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants