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

verify

open fun verify(block: Handler<Void>): TestContext

Execute the provided handler, which may contain assertions, possibly from any third-party assertion framework. Any java.lang.AssertionError thrown will be caught (and propagated) in order to fulfill potential expected async completeness.

Parameters

block - block of code to be executed

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