e under test, first create a subclass of
    <code><a href="../../reference/android/test/mock/MockApplication.html">MockApplication</a></code>. <code>MockApplication</code> is a subclass of
    <code><a href="../../reference/android/app/Application.html">Application</a></code> in which all the methods throw an Exception, so to use it
    effectively you subclass it and override the methods you need. You then inject it into the
    Service with the
    <code><a href="../../reference/android/test/ServiceTestC