[BUGFIX] Incomplete mock raises PHP 5.4 warning