Phalcon\Test\Unit\Tag\TagTitleTest::testSetTitleSeparatorAppend PHP Method

testSetTitleSeparatorAppend() public method

Tests titleSeparator with append
Since: 2012-09-05
Author: Nikolaos Dimopoulos ([email protected])
    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);
        });
    }