コード例 #1
0
 /**
  * @test
  */
 public function it_should_be_able_to_build_routes()
 {
     $expected = 'http://localhost/path/to/route';
     $this->router->expects($this->any())->method('assemble')->with(['hash' => 'hash'], ['name' => 'route', 'force_canonical' => true, 'uri' => $this->uri])->will($this->returnValue($expected));
     $this->assertEquals($this->routeAssembler->buildRoute('route'), $expected);
 }