Merged AssertThatObjectIsNull and AssertThatObjectIsNotNull to AssertThatObjectIsNullOrNotNull.
Extended tests to be more explicit regarding the expected quick fix messages.
This commit is contained in:
@@ -34,13 +34,11 @@ The plugin also supports the conversion of the most common JUnit 4 assertions to
|
||||
|
||||
## Implemented inspections
|
||||
|
||||
- AssertThatObjectIsNull
|
||||
- AssertThatObjectIsNullOrNotNull
|
||||
```
|
||||
from: assertThat(object).isEqualTo(null);
|
||||
to: assertThat(object).isNull();
|
||||
```
|
||||
- AssertThatObjectIsNotNull
|
||||
```
|
||||
|
||||
from: assertThat(object).isNotEqualTo(null);
|
||||
to: assertThat(object).isNotNull();
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user