Skip to content

Commit

Permalink
test: verify not emptiness
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisKujawa committed Nov 5, 2021
1 parent 6e27744 commit 9dcf828
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public void shouldNotProduceDuplicatedKeys() {
.filter(k -> k != -1L)
.toArray(Long[]::new);

assertThat(newKeys).isNotEmpty();
assertThat(previousKeys)
.describedAs("Keys should always be unique for different entities.")
.doesNotContain(newKeys);
Expand Down

0 comments on commit 9dcf828

Please sign in to comment.