Esempio n. 1
0
 /**
  * Tests titleSeparator prepend
  *
  * @author Nikolaos Dimopoulos <*****@*****.**>
  * @since  2012-09-05
  */
 public function testSetTitleSeparatorPrepend()
 {
     $this->specify("titleSeparator prepend returns incorrect result", function () {
         Tag::resetInput();
         Tag::setTitle('This is my title');
         Tag::setTitleSeparator('-');
         Tag::prependTitle('PhalconPHP');
         expect(Tag::getTitle())->equals("<title>PhalconPHP-This is my title</title>" . PHP_EOL);
     });
 }