11 lines
542 B
HTML
11 lines
542 B
HTML
<html>
|
|
<body>
|
|
Turns a binary expression in the kind of assertThat(actual <operator> expected) with .isTrue()/isFalse()/isEqualTo()/isNotEqualTo()
|
|
into assertThat(actual).is<operator>(expected).
|
|
<!-- tooltip end -->
|
|
There are over 150 combinations that are found with this inspections.
|
|
It also detects assertThat(actual.equals(expected)) assertions.
|
|
Also works with constant expressions on the expected side.
|
|
Swaps actual and expected when actual is a constant expression (correctly transforming the used operator).
|
|
</body>
|
|
</html> |