Moved duplicated code to a protected function

- Removed call_user_func_array duplication over the methods:
'first', 'find', 'where' and 'all'.
- Created a protected function to handle mockery calls