mapstruct-idea
mapstruct-idea copied to clipboard
"Wrong usage of mappers factory" should not be warning in Tests scope
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);