How to mock objects initialized in constructor using an external method call?

后端 未结 0 418
日久生厌
日久生厌 2020-12-30 13:17
final HttpClient httpClient;

final HttpUtils httpUtils;

@Autowired
public SampleConstructor(HttpUtils httpUtils) {

    this.httpClient = ApacheHttpSingleton.getHt         


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