BrowscapTest\Generator\BuildCustomFileGeneratorTest::testConstructFailsIfTheDirDoesNotExsist PHP Method

testConstructFailsIfTheDirDoesNotExsist() public method

tests failing the build if the build dir does not exist
    public function testConstructFailsIfTheDirDoesNotExsist()
    {
        $this->setExpectedException('\\Exception', 'The directory "/dar" does not exist, or we cannot access it');
        new BuildCustomFileGenerator('/dar', null);
    }