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