This doesn't answer this initial question and the accepted solution doesn't neither. I'm facing the same issue *** UPDATE *** I found the solution:add this to your setup function (@BeforeEach) in the unit tests context.registerInjectActivateService(new ChildResourceFromRequestAnnotationPr...