public function Framework_MockObject_Invocation_StaticTest::testAllowToGetClassNameSetInConstructor in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/StaticTest.php \Framework_MockObject_Invocation_StaticTest::testAllowToGetClassNameSetInConstructor()
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ MockObject/ Invocation/ StaticTest.php, line 10
Class
Code
public function testAllowToGetClassNameSetInConstructor() {
$invocation = new PHPUnit_Framework_MockObject_Invocation_Static('FooClass', 'FooMethod', array(
'an_argument',
));
$this
->assertSame('FooClass', $invocation->className);
}