JoliTypo\Tests\EnglishTest::testDoubleQuoteMess PHP Method

testDoubleQuoteMess() public method

public testDoubleQuoteMess ( )
    public function testDoubleQuoteMess()
    {
        $fixed = <<<HTML
<p>I&rsquo;m learning &ldquo;<a href="http://composer.json.jolicode.com">composer.json</a>&rdquo; as it&rsquo;s better than a &ldquo;.docx&rdquo;</p>
HTML;
        $to_fix = <<<HTML
<p>I'm learning "<a href="http://composer.json.jolicode.com">composer.json</a>" as it's better than a ".docx"</p>
HTML;
        $fixer = new Fixer($this->en_fixers);
        $fixer->setLocale('en');
        $this->assertInstanceOf('JoliTypo\\Fixer', $fixer);
        $this->assertEquals($fixed, $fixer->fix($to_fix));
    }