PHPRouterTest\Test\ConfigTest::testConfigThrowsErrorWithWrongParameter PHP Method

testConfigThrowsErrorWithWrongParameter() public method

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