You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a few places in our tests where we call assertThat(map.containsKey(key)).isFalse(). We should use AssertJ's built-in doesNotContainKey(key) assertion instead.
The text was updated successfully, but these errors were encountered:
wilkinsona
changed the title
Use assertThat(map).doesNotContainKey(key) rather than assertThat(map.containsKey(key)).isFalse()
Make more use of AssertJ's built-in map assertions
Jan 22, 2021
We have a few places in our tests where we call
assertThat(map.containsKey(key)).isFalse()
. We should use AssertJ's built-indoesNotContainKey(key)
assertion instead.The text was updated successfully, but these errors were encountered: