Skip to content

Instantly share code, notes, and snippets.

@avegaraju
Created February 27, 2019 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avegaraju/02cf07d5aa9fa748e009e99dbfc44bd6 to your computer and use it in GitHub Desktop.
Save avegaraju/02cf07d5aa9fa748e009e99dbfc44bd6 to your computer and use it in GitHub Desktop.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
//other configurations removed for brevity.
ImpostersAsMockConfiguration mockConfiguration =
new ImpostersAsMockConfiguration(new MockImpostersBuilder()
.CreateMockImposters(),
new MocksDataStore()
.Create());
app.UseMockImposters(mockConfiguration);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment