Fix documentation/name for `AbstractMapAssert#containsOnlyKeys`
Open
- Dominant language
- CSS
- Stars
- 26
- Forks
- 32
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 3
Description
According to the method name and it's documentation I expect `assertThat(emptyMap()).containsOnlyKeys("x")` to NOT fail.
There's one example in the Javadoc that helps me understand the real semantics. However, I'd like to see that also in the text above, and ideally in the method name.
Related: https://math.stackexchange.com/questions/202452/why-is-predicate-all-as-in-allset-true-if-the-set-is-empty
See https://github.com/joel-costigliola/assertj-core/issues/200
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.