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