public function testAsHtml_footnotesWork()
 {
     $usx = MongoTestEnvironment::usxSampleWithNotes();
     $usxHelper = new UsxHelper($usx);
     $result = $usxHelper->toHtml();
     // Footnotes should be processed
     $this->assertPattern('/<div id="footnotes">.*Footnote for testing.*<\\/div>/s', $result);
     // But cross-reference notes should not
     $this->assertNoPattern('/<div id="footnotes">.*Jr 17\\.8.*<\\/div>/s', $result);
 }