public function Framework_MockObjectTest::testMockedMethodIsNotCalledWhenExpectsAnyWithParameter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php \Framework_MockObjectTest::testMockedMethodIsNotCalledWhenExpectsAnyWithParameter()
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ MockObjectTest.php, line 33
Class
- Framework_MockObjectTest
- @since Class available since Release 3.0.0
Code
public function testMockedMethodIsNotCalledWhenExpectsAnyWithParameter() {
$mock = $this
->getMock('SomeClass');
$mock
->expects($this
->any())
->method('doSomethingElse')
->with('someArg');
}