Fakerino\Test\Configuration\ConfigurationFile\PhpConfigurationFileTest::testPhpWrongConfFile PHP Method

testPhpWrongConfFile() public method

    public function testPhpWrongConfFile()
    {
        $this->setExpectedException('Fakerino\\Configuration\\Exception\\ConfNotSupportedException');
        $fileDir = __DIR__ . '/../../Fixtures/';
        $phpFilePath = $fileDir . 'fileWrongConf.php';
        $phpFile = new File($phpFilePath);
        $phpConf = new PhpConfigurationFile($phpFile);
        $this->assertInternalType('array', $phpConf->toArray());
    }