You are here

public function Framework_MockObject_Invocation_StaticTest::testAllowToGetMethodNameSetInConstructor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/StaticTest.php \Framework_MockObject_Invocation_StaticTest::testAllowToGetMethodNameSetInConstructor()

File

vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/StaticTest.php, line 17

Class

Framework_MockObject_Invocation_StaticTest

Code

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