i think this should be called Stubs, not Stubb. 
its of general value, we could move it to the namespace PHPCR\Tests\Util\Stubs - and after the next version bump change jackalope tests to use that stub. (phpcr-api-tests need their own as they may not require phpcr-utils)