title: Integration testing with IdentityServerAuthentication IdentityServer4
body: <p>Like this question "<a href="https://stackoverflow.com/questions/39390339/integration-testing-with-in-memory-identityserver">Integration testing with in-memory IdentityServer</a>", I would like to make some integration test against my implementation of IdentityServer4.</p>
  
  <p>I've followed this tutorial <a href="https://damienbod.com/2016/10/01/identityserver4-webapi-and-angular2-in-a-single-asp-net-core-project/" rel="nofollow noreferrer">IDENTITYSERVER4, WEB API AND ANGULAR2 IN A SINGLE ASP.NET CORE PROJECT</a> to add an API for manage users in the same project as my IdentityServer4.</p>
  
  <p>But the integration testing failed because the IdentityServer try to call the discoveryEndpoint with an HTTP request.</p>
  
  <p>So in this question "<a href="https://stackoverflow.com/questions/39390339/integration-testing-with-in-memory-identityserver">Integration testing with in-memory IdentityServer</a>" @emedbo create a FakeAccessTokenValidation, but I don't know how to do that.</p>
  
  <p>Thanks.</p>