Mokkery
Toggle table of contents
2.9.0
common
Platform filter
common
Switch theme
Search in API
Mokkery
mokkery-runtime
/
dev.mokkery.matcher
/
matching
matching
inline
fun
<
T
>
ArgMatchersScope
.
matching
(
noinline
toString
:
(
)
->
String
=
{ "matching(...)" }
,
noinline
predicate
:
(
T
)
->
Boolean
)
:
T
(
source
)
Matches an argument according to the
predicate
. Registered matcher
Any.toString
calls
toString
.