DoctrineExtensions\Tests\Config\MysqlConfigTest::testReadme PHP Method

testReadme() public method

public testReadme ( )
    public function testReadme()
    {
        preg_match('#\\| MySQL \\| `(.*)` \\|#', file_get_contents(__DIR__ . '/../../README.md'), $matches);
        $docs = explode(', ', strtolower($matches[1]));
        $keys = array_keys($this->functions);
        sort($docs);
        sort($keys);
        $this->assertEquals($docs, $keys);
    }