public function Framework_MockObject_Invocation_ObjectTest::testAllowToGetMethodNameSetInConstructor

File

drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/MockObject/Invocation/ObjectTest.php, line 25

Class

Framework_MockObject_Invocation_ObjectTest

Code

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