示例#1
0
 /**
  * Test clear all logs.
  */
 public function testClearLogs()
 {
     $manifest = new MethodManifest();
     $manifest->setLog(true);
     $manifest->log([1]);
     $manifest->log(['a']);
     $manifest->clearLogs();
     $logs = $manifest->getLogs();
     $this->assertInternalType('array', $logs);
     $this->assertEmpty($logs);
 }