/**
  * We additionally support empty name and data in parameters and RouteAware content
  */
 public function supports($name)
 {
     return !$name || parent::supports($name) || $name instanceof RouteReferrersReadInterface;
 }
 public function testSupports()
 {
     $this->assertTrue($this->generator->supports('foo/bar'));
     $this->assertTrue($this->generator->supports($this->routeDocument));
     $this->assertFalse($this->generator->supports($this));
 }