Now while unit testing saveData the aim is to unit test the method and not the external calls it makes. So, you need to mock the method and API ...
確定! 回上一頁