arguments ) { throw new PHPUnit_Framework_Exception( 'Method call must have an argument' ); } return call_user_func( reset( $invocation->arguments ) ); } public function toString() { return 'return result of call_user_func on first invocation argument'; } }