/** * @expectedException \Sesser\Slogger\SloggerException */ public function testCantCreateDirectory() { $this->config['logfile'] = '/var/log/testfile/testlog.log'; $log = File::GetLogger('nodir', $this->config); }