java - Force IOException to happen in Android while reading a file without mocking -
how make ioexception happen testing? in particular, app reading file on external storage. possible, example, instruct os close file handle specific app process next read() throws ioexception?
on real device, can done physically, removing external storage media.
Comments
Post a Comment