How am I supposed to mock my class if I have beans injectated both by Lombok RequiredArgsConstructor and @Autowired?

后端 未结 0 1555
说谎
说谎 2021-02-01 01:43

So I have this class (used lombok):

@RequiredArgsConstructor
@Service
public class ServiceImpl {
    private final BookService bookService;

    @Autowired
    pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题