You are here

public function Framework_MockObject_Invocation_StaticTest::testAllowToGetClassNameSetInConstructor in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

Framework_MockObject_Invocation_StaticTest

Code

public function testAllowToGetClassNameSetInConstructor() {
  $invocation = new PHPUnit_Framework_MockObject_Invocation_Static('FooClass', 'FooMethod', array(
    'an_argument',
  ));
  $this
    ->assertSame('FooClass', $invocation->className);
}