/**
  * @test
  *
  * @expectedException \Vatson\Callback\Exception\IsolatedCallbackExecutionException
  * @expectedExceptionMessage Call to undefined method stdClass::method()
  */
 public function throwExceptionWhenErrorOccursInChild()
 {
     $callback = function () {
         @\stdClass::method();
     };
     $isolatedCallback = new IsolatedCallback($callback);
     $isolatedCallback();
 }