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

put

open fun <T : Any> put(key: String, value: Any): T

Put some data in the context.

This can be used to share data between different tests and before/after phases.

Parameters

key - the key of the data

value - the data

Return
the previous object when it exists