public function Framework_MockBuilderTest::testMockBuilderRequiresClassName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/tests/MockBuilderTest.php \Framework_MockBuilderTest::testMockBuilderRequiresClassName()
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ MockBuilderTest.php, line 16
Class
- Framework_MockBuilderTest
- @since File available since Release 1.0.0
Code
public function testMockBuilderRequiresClassName() {
$spec = $this
->getMockBuilder('Mockable');
$mock = $spec
->getMock();
$this
->assertTrue($mock instanceof Mockable);
}