Esempio n. 1
0
 /**
  * @covers Apricot\Component\Route::generate
  */
 public function testGenerateUrlWithPath()
 {
     Apricot::reset();
     Apricot::setEnvironment('test');
     $url = Apricot::url('/:first_name/:last_name', array('first_name' => 'Foo', 'last_name' => 'Bar'));
     $this->assertTrue('/Foo/Bar' === $url);
 }