Пример #1
0
 public function testWeCanLogAMessageToLogFile()
 {
     $GWC = new green_web_controller($debug = true);
     $GWC->handleRequest(array('logger' => true));
     # Test we can log
     $this->assertTrue($GWC->log('Test we can log ' . __FILE__));
 }