I have a class that sends a status bar notification in Android. I can't find a way to test whether the notification was sent or not, which makes it very hard to write any kind of useful unit test.
Does anyone have a solution for this?
Maybe not the answer you are looking for, but as usual the solution is to:
This can be simplified with the following technology: