public function testSupports() {
$name = 'foo/bar';
$this->generator
->expects($this
->once())
->method('supports')
->with($this
->equalTo($name))
->will($this
->returnValue(true));
$this
->assertTrue($this->router
->supports($name));
}