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

Improve MapAssert.containsKey with varargs params #126

Open
joel-costigliola opened this issue Nov 17, 2012 · 0 comments · May be fixed by #157
Open

Improve MapAssert.containsKey with varargs params #126

joel-costigliola opened this issue Nov 17, 2012 · 0 comments · May be fixed by #157

Comments

@joel-costigliola
Copy link
Contributor

First rename to containsKeys

It would allow to write :

assertThat(elvesRingBearers).containsKeys(nenya, narya, vilya);

instead of

assertThat(elvesRingBearers).containsKey(nenya).containsKey(narya).containsKey(vilya);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant