Writes an error to the log if expectedNumber fails the Prototype isNumber method. Returns String containing the error message written to the log.
Parameter | Type | Description |
---|---|---|
expectedNumber | Object | Object to be checked to be a number. |
message | String | Custom message to use if the assertion fails. Message will be run through template evaluation against messageProperties so you can include details of the assertion failure in the message. |
messageProperties | Object | Object containing values to use with template evaluation. |
0 Comments