/**
  * Tests titleSeparator with append
  *
  * @author Nikolaos Dimopoulos <*****@*****.**>
  * @since  2012-09-05
  */
 public function testSetTitleSeparatorAppend()
 {
     $this->specify("titleSeparator with append returns incorrect result", function () {
         PhTTag::resetInput();
         $value = 'This is my title';
         $addon = 'PhalconPHP';
         PhTTag::setTitle($value);
         PhTTag::setTitleSeparator('-');
         PhTTag::appendTitle($addon);
         $expected = "<title>{$value}-{$addon}</title>" . PHP_EOL;
         $actual = PhTTag::getTitle();
         expect($actual)->equals($expected);
     });
 }