Custom Hamcrest matcher to compare maps
Yeah, the output looks really Nice :-)

Consider the following points:


I think you'll have NPE's when you pass null maps
There's a lot of different implementations of Map. If you have a SortedMap, it can pass, even though the sorting is different.
How does the message look, when the maps do not have the same size? Is the message clear enough?
The message "Expected: Maps are equivalent, but" is a bit strange? They are not equivalent, are they?
m_expected: Naming convention: should be mExpected. But to be honest, I'd go with expected.
Sadly, it only works with String...


Hope this helps...