expect

open fun expect(matcher: Matcher<in String>)

Verify that the output is matched by the supplied matcher. Verification is performed after the test method has executed.

Parameters

matcher

the matcher