Owneat Technical Guide main Help

Class UserLoginCommandHandlerTests

Namespace: Identity.UnitTests.Handlers.Authentication
Assembly: Identity.UnitTests.dll

public sealed class UserLoginCommandHandlerTests

Inheritance

object ← UserLoginCommandHandlerTests

Inherited Members

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

Constructors

UserLoginCommandHandlerTests\(\)

public UserLoginCommandHandlerTests()

Methods

Handle_ShouldReturnTokenResponse_WhenCredentialsAreValid\(\)

[Fact] public Task Handle_ShouldReturnTokenResponse_WhenCredentialsAreValid()

Returns

Task

Handle_ShouldReturnUnauthorizedAccessException_WhenPasswordDoesNotMatch\(\)

[Fact] public Task Handle_ShouldReturnUnauthorizedAccessException_WhenPasswordDoesNotMatch()

Returns

Task

Handle_ShouldReturnUnauthorizedAccessException_WhenUserIsNotFound\(\)

[Fact] public Task Handle_ShouldReturnUnauthorizedAccessException_WhenUserIsNotFound()

Returns

Task

Last modified: 21 May 2024