original_string: public static function fake($eventsToFake = [])
      {
          static::swap($fake = new EventFake(static::getFacadeRoot(), $eventsToFake));
  
          Model::setEventDispatcher($fake);
  
          return $fake;
      }
code: public static function fake($eventsToFake = [])
      {
          static::swap($fake = new EventFake(static::getFacadeRoot(), $eventsToFake));
  
          Model::setEventDispatcher($fake);
  
          return $fake;
      }
code_tokens: public static function fake ( $ eventsToFake = [ ] ) { static :: swap ( $ fake = new EventFake ( static :: getFacadeRoot ( ) , $ eventsToFake ) ) ; Model :: setEventDispatcher ( $ fake ) ; return $ fake ; }
docstring: Replace the bound instance with a fake.
  
  @param  array|string  $eventsToFake
  @return \Illuminate\Support\Testing\Fakes\EventFake
docstring_tokens: Replace the bound instance with a fake .