Ejemplo n.º 1
0
 public function testAssembling()
 {
     $uri = new HttpUri();
     $route = new Scheme('https');
     $path = $route->assemble(array(), array('uri' => $uri));
     $this->assertEquals('', $path);
     $this->assertEquals('https', $uri->getScheme());
 }
Ejemplo n.º 2
0
 public function testGetAssembledParams()
 {
     $route = new Scheme('https');
     $route->assemble(array('foo' => 'bar'));
     $this->assertEquals(array(), $route->getAssembledParams());
 }