title: Robolectric: Shadows.shadowOf(Context) method not found
body: <p>I have a custom system service that I am trying to mock and add to the shadow context in Robolectric 3.8.</p>
  
  <p>I am trying to follow this answer: <a href="https://stackoverflow.com/questions/26021305/getsystemservice-in-robolectric-returns-object-with-null-context">getSystemService in Robolectric returns object with null Context</a> but it looks like shadowOf(android.content.Context) has been deprecated but I can find no mention of it in <a href="http://robolectric.org/migrating/" rel="nofollow noreferrer">http://robolectric.org/migrating/</a> </p>
  
  <pre><code>MyService myServiceMock = Mockito.mock(MyService.class);
  Application application = (Application) ShadowApplication.getInstance().getApplicationContext();
  ShadowContextImpl shadowContext = (ShadowContextImpl) Shadows.shadowOf(application.getBaseContext());
  shadowContext.setSystemService(Context.MY_SERVICE, myServiceMock);
  </code></pre>
  
  <p>How do I mock/ shadow a system service in Robolectric 3.8?</p>