BrowscapTest\Generator\BuildCustomFileGeneratorTest::testConstructFailsIfTheDirIsNotAnDirectory PHP Method

testConstructFailsIfTheDirIsNotAnDirectory() public method

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 BuildCustomFileGenerator(__FILE__, null);
    }