Example #1
0
 /**
  * testLogWithoutAdapter
  *
  * Tests if Logger::log adds a default log adapter to log
  *
  * @depends testAddAdapter
  * @access public
  * @return void
  **/
 public function testLogWithoutAdapter()
 {
     $logger = new Logger();
     $this->assertCount(0, $logger->getAdapters());
     $logger->log(LogLevel::DEBUG, "");
     $this->assertCount(1, $logger->getAdapters());
 }