NXP-12594 make nuxeo service mockable