if we can test fetchAutoRoutesForDocument, this one worries me not that much.

but it should be doable in a functional test, where you have a real PHPCR-ODM with real data. mocking would not make this test very conclusive.