public function testCacheDirectoryIsNotDirectory()
{
$this->extensionController->systemCheck(Validator::CHECK_CACHE, [], ['path' => null])->shouldBeCalled();
$this->_validation->expects($this->once())->method('is_dir')->will($this->returnValue(false));
$this->_validation->expects($this->never())->method('is_writable');
$this->validator->check(Validator::CHECK_CACHE);
}