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
MockerInterface
willReturnUsing
PHPSpec2\Mocker\MockerInterface::willReturnUsing PHP Method
MockerInterface Interface Documentation
Show file
Open project: phpspec/phpspec2
willReturnUsing()
public
method
public
willReturnUsing
(
$expectation
,
$callback
)
public function willReturnUsing($expectation, $callback);
MockerInterface
createExpectation
getExpectation
hasExpectation
makeDefault
mock
shouldBeCalled
shouldNotBeCalled
verify
willReturn
willReturnUsing
willThrow
withArguments