title: How to mock services with Retrofit 2.0 and the new MockRetrofit class?
body: <p>Using Retrofit 1 we used to mock web services and simulate network latency as following:</p>
  
  <pre><code>MockRestAdapter mockRestAdapter = MockRestAdapter.from(restAdapter);
  return mockRestAdapter.create(MyService.class, new MyServiceMock());
  </code></pre>
  
  <p>Where <code>MyService</code> is the service Interface (returning responses as Rx Observables), and <code>MyServiceMock</code> is a class that implements this interface.</p>
  
  <p>In Retrofit 2.0.0-beta3 there is a brand new mocking system (see: <a href="https://github.com/square/retrofit/pull/1343">https://github.com/square/retrofit/pull/1343</a>) that is not yet documented.
  When trying to to something similar I get:</p>
  
  <pre><code>MockRetrofit mockRetrofit = new MockRetrofit.Builder(retrofit).build();
  BehaviorDelegate&lt;AuthService&gt; delegate = mockRetrofit.create(MyService.class);
  </code></pre>
  
  <p>How do I forward calls to <code>MyServiceMock</code>?</p>