Class GetOrderByIdIntegrationTests
Namespace: Ordering.IntegrationTests.Controllers.OrderController
Assembly: Ordering.IntegrationTests.dll
[Collection("Ordering")]
public class GetOrderByIdIntegrationTests : IAsyncLifetime
Inheritance
object ← GetOrderByIdIntegrationTests
Implements
IAsyncLifetime
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
GetOrderByIdIntegrationTests\(OrderingApiFactory\)
public GetOrderByIdIntegrationTests(OrderingApiFactory factory)
Parameters
factory OrderingApiFactory
Methods
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
GetOrderById_ShouldReturnNotFound_WhenOrderDoesNotExist\(\)
[Fact]
public Task GetOrderById_ShouldReturnNotFound_WhenOrderDoesNotExist()
Returns
GetOrderById_ShouldReturnOrder_WhenOrderExists\(\)
[Fact]
public Task GetOrderById_ShouldReturnOrder_WhenOrderExists()
Returns
InitializeAsync\(\)
Called immediately after the class has been created, before it is used.
public Task InitializeAsync()
Returns
Last modified: 21 May 2024