How would you make a test case for a method that takes a FileInputStream?

前端 未结 0 1542
误落风尘
误落风尘 2021-02-09 16:01

I have to make a test case for a method that takes a FileInputSteam as a param:

public void loadContacts(FileInputStream inputFile) {
        if (inputFile == nul         


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