zendframework/zf2 — pull request #6296 by scroach (2014-05-20 11:54:23+00:00)
Title: Show actual contents on assert*QueryContentContains

I wrote some unit tests for my current project and found that it was quite difficult to write and test content assertions of specific nodes in the DOM.

The problem is that there are no indicators of what the contents of matches nodes really were - so I added them to the error message of the assertion.

The difference of the output is shown in the following screenshot of a unit test in Netbeans:

![2014-05-20_13-38-41](https://cloud.githubusercontent.com/assets/4665730/3026450/542ad1c0-e015-11e3-820c-30bff1cbfd83.png)