Class PaymentApiFactory
Namespace: Payment.IntegrationTests
Assembly: Payment.IntegrationTests.dll
Inheritance
object ← WebApplicationFactory<IPaymentAnchor\> ← PaymentApiFactory
Implements
IDisposable, IAsyncDisposable, IAsyncLifetime
Inherited Members
WebApplicationFactory<IPaymentAnchor\>.WithWebHostBuilder\(Action<IWebHostBuilder\>\), WebApplicationFactory<IPaymentAnchor\>.GetTestAssemblies\(\), WebApplicationFactory<IPaymentAnchor\>.CreateHostBuilder\(\), WebApplicationFactory<IPaymentAnchor\>.CreateWebHostBuilder\(\), WebApplicationFactory<IPaymentAnchor\>.CreateServer\(IWebHostBuilder\), WebApplicationFactory<IPaymentAnchor\>.CreateHost\(IHostBuilder\), WebApplicationFactory<IPaymentAnchor\>.ConfigureWebHost\(IWebHostBuilder\), WebApplicationFactory<IPaymentAnchor\>.CreateClient\(\), WebApplicationFactory<IPaymentAnchor\>.CreateClient\(WebApplicationFactoryClientOptions\), WebApplicationFactory<IPaymentAnchor\>.CreateDefaultClient\(params DelegatingHandler\[\]\), WebApplicationFactory<IPaymentAnchor\>.ConfigureClient\(HttpClient\), WebApplicationFactory<IPaymentAnchor\>.CreateDefaultClient\(Uri, params DelegatingHandler\[\]\), WebApplicationFactory<IPaymentAnchor\>.Dispose\(\), WebApplicationFactory<IPaymentAnchor\>.Dispose\(bool\), WebApplicationFactory<IPaymentAnchor\>.DisposeAsync\(\), WebApplicationFactory<IPaymentAnchor\>.Server, WebApplicationFactory<IPaymentAnchor\>.Services, WebApplicationFactory<IPaymentAnchor\>.Factories, WebApplicationFactory<IPaymentAnchor\>.ClientOptions, object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
HttpClient
Property Value
Methods
ConfigureWebHost\(IWebHostBuilder\)
Gives a fixture an opportunity to configure the application before it gets built.
Parameters
builder IWebHostBuilder
The Microsoft.AspNetCore.Hosting.IWebHostBuilder for the application.
DisposeAsync\(\)
Called when an object is no longer needed. Called just before System.IDisposable.Dispose if the class also implements that.
Returns
InitializeAsync\(\)
Called immediately after the class has been created, before it is used.