virtix/mxunit — pull request #6 by phofmann-trust (2013-04-10 08:33:45+00:00)
Title: assertXpath: Check array length prior to array access

This prevents the error "Element at position [1] doesn't exist in array" if xmlSearch didn't return any results and a text for comparison was passed.