コード例 #1
0
 function testAsHtml()
 {
     $entry = new lmbLogEntry(LOG_ERR, 'foo&');
     $this->assertPattern('/Error/', $entry->asHtml());
     $this->assertPattern('/foo&/', $entry->asHtml());
 }