I think it should not show warning in unit test code with no component scan. ``` @InjectMocks private JobService jobService; @Spy JobEntityMapper jobEntityMapper = Mappers.getMapper(JobEntityMapper.class); ```