Owneat Technical Guide main Help

Class UpdateProductCommandHandlerTests

Namespace: Restaurant.UnitTests.Handlers.Product
Assembly: Restaurant.UnitTests.dll

public class UpdateProductCommandHandlerTests

Inheritance

object ← UpdateProductCommandHandlerTests

Inherited Members

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

Constructors

UpdateProductCommandHandlerTests\(\)

public UpdateProductCommandHandlerTests()

Methods

Handle_ShouldReturnNotFoundException_WhenProductIsNull\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenProductIsNull()

Returns

Task

Handle_ShouldReturnUpdatedProduct_WhenCommandIsValid\(\)

[Fact] public Task Handle_ShouldReturnUpdatedProduct_WhenCommandIsValid()

Returns

Task

Last modified: 21 May 2024