public function check(array $calls, FunctionProphecy $prophecy)
    {
        $callback = $this->callback;
        call_user_func($callback, $calls, $prophecy);
    }
public function check(array $calls, FunctionProphecy $prophecy)
    {
        $callback = $this->callback;
        call_user_func($callback, $calls, $prophecy);
    }
public function check ( array $ calls , FunctionProphecy $ prophecy ) { $ callback = $ this -> callback ; call_user_func ( $ callback , $ calls , $ prophecy ) ; }
Executes preset callback.

@param Call[]         $calls
@param FunctionProphecy $prophecy
Executes preset callback .