Exemple #1
0
 /**
  * @test
  */
 public function debugTest()
 {
     $str = __FUNCTION__;
     $logger = $this->logger->debug($str);
     $this->expectOutputRegex("/\\[DEBUG\\]: {$str}/");
     $this->assertTrue($logger === $this->logger);
 }
 /**
  * @test
  */
 public function debugHandleTest()
 {
     $this->logger->debug(__FUNCTION__);
     $this->expectOutputRegex('/' . __FUNCTION__ . '/');
 }