Before comparison, the evaluation result is turned into a string by
calling the object's toString() method.
<span concordion:assertEquals="myMethod()">(some expectation)</span>
| myMethod() Returns |
Type | The Expectation | Outcome |
|---|---|---|---|
| 1234 | String | 1234 | SUCCESS |
| 1234 | Integer | 1234 | SUCCESS |
| 99 | Integer | 1234 | FAILURE |
| 1234 | Double | 1234 | FAILURE |
| 1234 | Double | 1234.0 | SUCCESS |