mockk-dsl
1.13.2
common
mockk-dsl
/
io.mockk
/
ConstantMatcher
Constant
Matcher
common
data
class
ConstantMatcher
<
in
T
:
Any
>
(
val
constValue
:
Boolean
)
:
Matcher
<
T
>
Content copied to clipboard
Matcher that always returns one same value.
Constructors
Functions
Properties
Constructors
Constant
Matcher
Link copied to clipboard
common
fun
ConstantMatcher
(
constValue
:
Boolean
)
Content copied to clipboard
Functions
match
Link copied to clipboard
common
open
override
fun
match
(
arg
:
T
?
)
:
Boolean
Content copied to clipboard
substitute
Link copied to clipboard
common
open
fun
substitute
(
map
:
Map
<
Any
,
Any
>
)
:
Matcher
<
T
>
Content copied to clipboard
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
const
Value
Link copied to clipboard
common
val
constValue
:
Boolean
Content copied to clipboard