How do I mock a REST template exchange? You don't need MockRestServiceServer object. The annotation is @InjectMocks not @Inject .
確定! 回上一頁