File
- drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/MockBuilderTest.php, line 68
Class
- Framework_MockBuilderTest
- @package PHPUnit_MockObject
@author Giorgio Sironi <piccoloprincipeazzurro@gmail.com>
@author Sebastian Bergmann <sb@sebastian-bergmann.de>
@copyright 2010-2013 Sebastian Bergmann <sb@sebastian-bergmann.de>
@license …
Code
public function testByDefaultMocksAllMethods() {
$spec = $this
->getMockBuilder('Mockable');
$mock = $spec
->getMock();
$this
->assertNull($mock
->mockableMethod());
$this
->assertNull($mock
->anotherMockableMethod());
}