How to mock typecast instances in Mockito

前端 未结 0 1589
無奈伤痛
無奈伤痛 2021-01-14 14:55

I have a method that SFTPs a file. In the method I have the following snippet of code:-

Session session = null;
Channel channel = null;
ChannelSftp channelSft         


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