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