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