Merged AssertThatObjectIsNull and AssertThatObjectIsNotNull to AssertThatObjectIsNullOrNotNull.

Extended tests to be more explicit regarding the expected quick fix messages.
This commit is contained in:
2019-04-06 21:29:18 +02:00
parent ba56325299
commit 51703e8499
19 changed files with 54 additions and 109 deletions
+2 -4
View File
@@ -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();
```