BrowscapTest\Generator\BuildGeneratorTest::testConstructFailsIfTheDirIsNotAnDirectory PHP Метод

testConstructFailsIfTheDirIsNotAnDirectory() публичный Метод

tests failing the build if no build dir is a file
    public function testConstructFailsIfTheDirIsNotAnDirectory()
    {
        $this->setExpectedException('\\Exception', 'The path "' . __FILE__ . '" did not resolve to a directory');
        new BuildGenerator(__FILE__, null);
    }