title: Android JUnit4 Testing - Where to get Context from?
body: <p>I have to build an app with sqlite usage. Now I want to write my unit tests. These unit tests should test my class <code>SQLiteBridge</code>. <code>SQLiteBridge</code> provides DAOs for every child class of Model.</p>
  
  <p>Now I got the problem that I need a context to create my <code>SQLiteBridge</code>. <code>SQLiteBridge</code> creates and handles a SQLite database on the system..</p>
  
  <p>Where to get the Context-Object from?</p>
  
  <p>My setup is like here (so I'm using Junit4 [thanks god]):
  <a href="http://tools.android.com/tech-docs/unit-testing-support" rel="noreferrer">http://tools.android.com/tech-docs/unit-testing-support</a></p>
  
  <p>EDIT: I hope there is a way like the old <code>AndroidTestCase</code> to extend without losing Junit4. :)</p>