/**
* Tests a file that does not grant access.
*/
public function testDoesNotGrantAccess()
{
$file = new SplFileInfo($this->getRootDir() . '/system/modules/foobar/private/.htaccess', 'system/modules/foobar/private', 'system/modules/foobar/private/.htaccess');
$htaccess = new HtaccessAnalyzer($file);
$this->assertFalse($htaccess->grantsAccess());
}