Instead of mocking I would use `new SimpleXml("<test/>")`, would be much easier to understand later