title: AndroidTestCase.getContext() returns null when running tests
body: <p>I'm trying to setup unit tests inside Android Studio (which supposedly is still 'experimental'). How do I get a <code>Context</code>? All the examples I see call <code>AndroidTestCase.getContext()</code> but in my tests this returns null.</p>
  
  <pre><code>public class DummyTest extends AndroidTestCase {
  
      public void testExample() throws Exception {
           Context c = getContext();
           assertNotNull(c);
      }
  
  }
  </code></pre>
  
  <p>This will result in a <code>AssertionFailedError</code> because the returned context is null.</p>