Owneat Technical Guide main Help

Class DeletePaymentIntegrationTests

Namespace: Payment.IntegrationTests.Controllers.PaymentController
Assembly: Payment.IntegrationTests.dll

[Collection("Payment")] public class DeletePaymentIntegrationTests : IAsyncLifetime

Inheritance

object ← DeletePaymentIntegrationTests

Implements

IAsyncLifetime

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

DeletePaymentIntegrationTests\(PaymentApiFactory\)

public DeletePaymentIntegrationTests(PaymentApiFactory factory)

Parameters

factory PaymentApiFactory

Methods

DeletePayment_ShouldDeletePayment_WhenPaymentExists\(\)

[Fact] public Task DeletePayment_ShouldDeletePayment_WhenPaymentExists()

Returns

Task

DeletePayment_ShouldReturnNotFound_WhenPaymentDoesNotExist\(\)

[Fact] public Task DeletePayment_ShouldReturnNotFound_WhenPaymentDoesNotExist()

Returns

Task

DisposeAsync\(\)

Called when an object is no longer needed. Called just before System.IDisposable.Dispose if the class also implements that.

public Task DisposeAsync()

Returns

Task

InitializeAsync\(\)

Called immediately after the class has been created, before it is used.

public Task InitializeAsync()

Returns

Task

Last modified: 21 May 2024