closeWith

infix fun closeWith(action: suspend Value.() -> Unit): TestSuite.Fixture<Value>(source)

Registers action to be called when this fixture's lifetime ends.