PopTest\File\DirTest::testConstructorException PHP Méthode

testConstructorException() public méthode

    public function testConstructorException()
    {
        $this->setExpectedException('UnexpectedValueException');
        $d = new Dir(__DIR__ . '/../baddir');
    }