vertx / io.vertx.rxjava.ext.unit / TestContext / assertFalse

assertFalse

open fun assertFalse(condition: Boolean): TestContext

Assert the specified condition is false. If the condition is true, an assertion error is thrown otherwise the execution continue.

Parameters

condition - the condition to assert

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

open fun assertFalse(condition: Boolean, message: String): TestContext

Assert the specified condition is false. If the condition is true, an assertion error is thrown otherwise the execution continue.

Parameters

condition - the condition to assert

message - the failure message

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