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()); }
public function testGetAssembledParams() { $route = new Scheme('https'); $route->assemble(array('foo' => 'bar')); $this->assertEquals(array(), $route->getAssembledParams()); }