Class UpdateCustomerCommandHandlerTests
Namespace: Ordering.UnitTests.Handlers.Customer
Assembly: Ordering.UnitTests.dll
public class UpdateCustomerCommandHandlerTests
Inheritance
object ← UpdateCustomerCommandHandlerTests
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
UpdateCustomerCommandHandlerTests\(\)
public UpdateCustomerCommandHandlerTests()
Methods
Handle_ShouldReturnConflictException_WhenCustomerIsAlreadyExisting\(\)
[Fact]
public Task Handle_ShouldReturnConflictException_WhenCustomerIsAlreadyExisting()
Returns
Handle_ShouldReturnNotFoundException_WhenCustomerIsNull\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenCustomerIsNull()
Returns
Handle_ShouldReturnUpdatedCustomer_WhenCommandIsValid\(\)
[Fact]
public Task Handle_ShouldReturnUpdatedCustomer_WhenCommandIsValid()
Returns
Last modified: 21 May 2024