我正在使用cucumber java构建一个带有picocontainer DI的restassured test FW。我需要使用DI来共享请求和响应,但是RESTassured提供了RequestSpecification和response,它们是无法共享的接口和接口。什么是允许我构建请求和响应、发出HTTP请求以及读取其他类中的请求和响应数据的RESTassur
get("http://restcountries.eu/rest/v1/callingcode/7");Exception in thread "main" java.lang.Error:get("http://restcountries.eu/rest/v1/callingcode/7");Exception in thread "main&qu