Active
Project:
Mockable: Mock objects for Drupal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2013 at 16:15 UTC
Updated:
10 Sep 2013 at 16:15 UTC
For now, passing a non-function to mockable() yields this error:
call_user_func_array() expects parameter 1 to be a valid callback, [warning]
function 'shell exec' not found or invalid function name
mockable.module:127
Whatever is returned thereafter is invalid. An exception might be better here.