Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPSpec2
Mocker
MockeryMocker
willReturn
PHPSpec2\Mocker\MockeryMocker::willReturn PHP Method
MockeryMocker Class Documentation
Show file
Open project: phpspec/phpspec2
willReturn()
public
method
public
willReturn
(
$expectation
,
$return
)
public function willReturn($expectation, $return) { $expectation->andReturn($return); }
MockeryMocker
createExpectation
getExpectation
hasExpectation
makeDefault
mock
shouldBeCalled
shouldBeCalledTimes
shouldNotBeCalled
verify
willReturn
willReturnUsing
willThrow
withArguments