ParametersMatcher

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var count: Int

Parameter count to match.

----------------

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun add(clazz: Class<*>): ParametersMatcher
fun add(typeName: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): ParametersMatcher

Add a parameter type to match.

----------------

inline fun add(init: ParameterMatcher.() -> Unit): ParametersMatcher

Add a parameter matcher.

----------------

Link copied to clipboard
fun count(min: Int = 0, max: Int = Int.MAX_VALUE): ParametersMatcher

Parameter count to match.

----------------

Link copied to clipboard

Parameter count to match.

----------------

Link copied to clipboard

Parameter count to match.

----------------

Link copied to clipboard

Need to match parameters. List length implies parameter count.

----------------