title: Android Unit Tests Requiring Context
body: <p>I am writing my first Android database backend and I'm struggling to unit test the creation of my database.</p>
  <p>Currently the problem I am encountering is obtaining a valid Context object to pass to my implementation of SQLiteOpenHelper.  Is there a way to get a Context object in a class extending TestCase?  The solution I have thought of is to instantiate an Activity in the setup method of my TestCase and then assigning the Context of that Activity to a field variable which my test methods can access...but it seems like there should be an easier way.</p>