.content.Context)">setContext()</a></code> method. The mock
    Context classes you can use are described in more detail in
    <a href="../../tools/testing/testing_android.html#MockObjectClasses">
    Testing Fundamentals</a>.
</p>
<h2 id="TestAreas">What to Test</h2>
<p>
    The topic <a href="../../tools/testing/what_to_test.html">What To Test</a>
    lists general considerations for testing Android components.
    Here are some specific guidelines for testing a Service:
</p>
<ul>
    <li>
        Ensure