function testAsHtml() { $entry = new lmbLogEntry(LOG_ERR, 'foo&'); $this->assertPattern('/Error/', $entry->asHtml()); $this->assertPattern('/foo&/', $entry->asHtml()); }