PHPRouterTest\Test\ConfigTest::testConfigThrowsErrorWithWrongParameter PHP Метод

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

    public function testConfigThrowsErrorWithWrongParameter()
    {
        $this->setExpectedException('InvalidArgumentException', 'The file fileNotExisting not exists!');
        Config::loadFromFile('fileNotExisting');
    }