Class CreateUserCommandHandlerTests
Namespace: Identity.UnitTests.Handlers.User
Assembly: Identity.UnitTests.dll
public class CreateUserCommandHandlerTests
Inheritance
object ← CreateUserCommandHandlerTests
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
CreateUserCommandHandlerTests\(\)
public CreateUserCommandHandlerTests()
Methods
Handle_ShouldCreateUser_WhenCommandIsValid\(\)
[Fact]
public Task Handle_ShouldCreateUser_WhenCommandIsValid()
Returns
Handle_ShouldThrowConflictException_WhenUserAlreadyExists\(\)
[Fact]
public Task Handle_ShouldThrowConflictException_WhenUserAlreadyExists()
Returns
Last modified: 21 May 2024