yeah, whenever you try to cheat you get caught sooner or later :-(
i was too lazy to pass those helper all around the place. we can't even make the SessionInterface provide this, as its only in phpcr util. if we had built this as a class with methods, we could allow to set the helper and have a getter that creates the instance if its not set. but this would be a major BC break to change that now. we could introduce a new class in parallel but the best name is already taken. and whatever we do, it won't be phpcr-utils 1.1 but 1.2 so i fear right now we do need to mock. but open an issue on phpcr-utils that we should fix this there, and in jackalope and phpcr-odm.