public function testUseNullLogger() { Logger::useNullLogger(); Logger::info("abc"); try { throw new \Exception(); } catch (\Exception $ex) { Logger::info($ex); } $this->assertEquals(0, filesize($this->_logFile)); }