Call.returns

Set the value to return when method matching this expectation is called on a mock object.

struct Call(alias F)
ref
static if(!is(Return == void))
typeof(this)
returns

Parameters

value Return

the value to return

Return Value

Type: typeof(this)

$(D_KEYWORD this).

Meta