Example #1
0
 public function testSetUrl_IsTrimmed()
 {
     $url = " http://joltcore.org/ \t   ";
     $urlTrimmed = "http://joltcore.org/";
     $view = new View();
     $view->setUrl($url);
     $this->assertEquals($urlTrimmed, $view->getUrl());
 }