assertj
Here are 121 public repositories matching this topic...
-
Updated
Jan 17, 2020 - Java
-
Updated
Apr 4, 2020 - Kotlin
Here's a non exhaustive list, feel free to add a comment to add items to this list.
- navigation assertions limitation (not strongly typed)
- Set assertions
contains - ...
-
Updated
Apr 26, 2020 - Java
-
Updated
Jun 1, 2020 - Java
Move the code and dependencies out of justtestlah-core into justtestlah-applitools and justtestlah-galen.
We also need to write unit tests for these integrations.
-
Updated
Feb 15, 2020 - Java
-
isConstraintIndex -
isNotConstraintIndex
-
Updated
Mar 6, 2020 - Kotlin
-
Updated
Mar 15, 2017 - Java
-
Updated
Oct 30, 2017 - Java
-
Updated
Feb 3, 2020 - Kotlin
-
Updated
May 29, 2018 - Java
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-
-
Updated
Sep 25, 2017 - Java
-
Updated
May 21, 2020 - Java
-
Updated
May 14, 2017 - Java
-
Updated
Apr 10, 2020 - Kotlin
-
Updated
Jun 12, 2020 - Java
-
Updated
Aug 8, 2018 - Java
Improve this page
Add a description, image, and links to the assertj topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the assertj topic, visit your repo's landing page and select "manage topics."
Summary
ShouldContainOnlyis used in a few places where we know what kind of elements we are dealing with, in this case instead of using the term element we could use a more descriptive name.Example
fails with this error