protected function executeTest(TestResult $result)
{
$action = ['passTest', $this];
$handler = $this->handleErrors($result, $action);
try {
$this->runSetup();
call_user_func_array($this->getDefinition(), $this->getDefinitionArguments());
} catch (Throwable $e) {
$this->failIfPassing($action, $e);
} catch (Exception $e) {
$this->failIfPassing($action, $e);
}
$this->runTearDown($result, $action);
$this->restoreErrorHandler($handler);
}