Open CedricCook opened 9 years ago
@philemonf @radubanabic I'm trying to do testing that involves a call to an AsyncTask, with the execute() method. Since execute() is final, it can not be tested by Mockito. Do you have a good solution? (the ones I found online are big hacks that involve other mocking libraries, and seem to complicated to just return null when a method is executed)
The clean solution seems to be PowerMockito, but maybe you can avoid the need for mocking that class. Can you point to the test you are writing, so that we can give concrete feedback?
Since StorageManager is parametrized, we can't test the class itself, we must test implementations of it, so testing UserStorageManager first.