vertx / io.vertx.reactivex.ext.unit / TestContext / assertNotEquals

assertNotEquals

open fun assertNotEquals(first: Any, second: Any): TestContext

Assert the first argument is not equals to the second argument. If the arguments are equals an assertion error is thrown otherwise the execution continue.

Parameters

first - the first object to test

second - the second object to test

Return
a reference to this, so the API can be used fluently

open fun assertNotEquals(first: Any, second: Any, message: String): TestContext

Assert the first argument is not equals to the second argument. If the arguments are equals an assertion error is thrown otherwise the execution continue.

Parameters

first - the first object to test

second - the second object to test

message - the failure message

Return
a reference to this, so the API can be used fluently