spring-framework/spring-aspects
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
..
src Refactor AssertJ assertions into more idiomatic ones 2023-04-04 17:34:07 +02:00
spring-aspects.gradle Add since attribute to Deprecated annotation 2022-11-22 21:18:34 +01:00