title: Handling third-party API requests in End-to-End testing
body: <p>I want to test my Rest API with end-to-end tests. As I understand, the difference between integration tests is that we don't do in-memory system configuration, but use real test DB and network requests.</p>
  
  <p>But I can't understand how to handle third-party API requests(like GitHub or Bitbucket API). </p>
  
  <p>Is it a normal practice to create a fake Github account with fake data that would be fetched by my tests ? </p>
  
  <p>And what to do with access tokens, not all services are public and even public services can fail with rate limit.</p>