JoliTypo\Tests\Fixer\HyphenTest::testLocaleFallback PHP Method

testLocaleFallback() public method

public testLocaleFallback ( )
    public function testLocaleFallback()
    {
        $fixer = new Fixer\Hyphen('fr_BE');
        $this->assertInstanceOf('JoliTypo\\Fixer\\Hyphen', $fixer);
        $this->assertEquals('Test', $fixer->fix('Test'));
        $this->assertEquals('Cordia' . Fixer::SHY . 'le' . Fixer::SHY . 'ment', $fixer->fix('Cordialement'));
    }