title: PHPUnit, asserting html content
body: <p>Which is the best way to assert with phpunit certain content in html strings?</p>
  
  <p>In Zend applications there are a buch of assertions <code>assertQuery*</code> available. But if you are not in a Zend application? <code>assertXml*</code> doesn't look to be appropiate.</p>
  
  <p>For instance, how would you assert that the tag <code>&lt;div ... id="myId" ...&gt;...&lt;/div&gt;</code> exists in <code>$htmlString</code> taking into account that changing the position of the id attribute wouldn't fail the test?</p>