spring-framework/spring-context-indexer/src
Krzysztof Krasoń 1734deca1e
Refactor AssertJ assertions into more idiomatic ones
This commit refactors some AssertJ assertions into more idiomatic and
readable ones. Using the dedicated assertion instead of a generic one
will produce more meaningful error messages. 

For instance, consider collection size:
```
// expected: 5 but was: 2
assertThat(collection.size()).equals(5);
// Expected size: 5 but was: 2 in: [1, 2]
assertThat(collection).hasSize(5);
```

Closes gh-30104
2023-04-04 17:34:07 +02:00
..
main Ensure all packages declare package-info.java with null-safety annotations 2023-03-10 17:33:52 +01:00
test/java/org/springframework/context/index Refactor AssertJ assertions into more idiomatic ones 2023-04-04 17:34:07 +02:00