Artesaos\SEOTools\Tests\SEOMetaTest::test_set_description PHP Method

test_set_description() public method

    public function test_set_description()
    {
        $description = 'Kamehamehaaaaaaaa';
        $fullHeader = "<title>It's Over 9000!</title>";
        $fullHeader .= "<meta name=\"description\" content=\"" . $description . '">';
        $this->seoMeta->setDescription($description);
        $this->assertEquals($description, $this->seoMeta->getDescription());
        $this->setRightAssertion($fullHeader);
        $this->seoMeta->setDescription(false);
        $this->assertNull($this->seoMeta->getDescription());
    }