Skip to content

Bump DotNext from 5.8.0 to 5.11.0 in /src/HomeInventory #3000

Bump DotNext from 5.8.0 to 5.11.0 in /src/HomeInventory

Bump DotNext from 5.8.0 to 5.11.0 in /src/HomeInventory #3000

GitHub Actions / Unit tests succeeded Aug 2, 2024 in 0s

294 passed, 0 failed and 0 skipped

Tests passed successfully

✅ ./src/HomeInventory/coverage/_fv-az1532-85_2024-08-02_15_31_31.trx

294 tests were completed in 9s with 294 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HomeInventory.Tests.Application.FeatureFlagTests 8✅ 27ms
HomeInventory.Tests.Core.DictionaryExtensionsTests 2✅ 47ms
HomeInventory.Tests.Core.EnumerableExtensionsTests 3✅ 17ms
HomeInventory.Tests.Core.ExecuteTests 6✅ 15ms
HomeInventory.Tests.Core.OptionalExtensionsTests 3✅ 17ms
HomeInventory.Tests.Core.ReflectionMethodsTests 4✅ 1ms
HomeInventory.Tests.Core.TypeExtensionsTests 4✅ 5ms
HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests 1✅ 12ms
HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests 1✅ 57ms
HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests 1✅ 288ms
HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests 1✅ 6ms
HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests 2✅ 715ms
HomeInventory.Tests.Domain.EntityTests 14✅ 14ms
HomeInventory.Tests.Domain.EquatableComponentTests 14✅ 36ms
HomeInventory.Tests.Domain.FixedDateTimeServiceTests 3✅ 2ms
HomeInventory.Tests.Domain.ValueObjects.AmountFactoryTests 9✅ 4ms
HomeInventory.Tests.Domain.ValueObjects.AmountTests 6✅ 5ms
HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests 23✅ 7ms
HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests 13✅ 5ms
HomeInventory.Tests.Framework.Assertions.JsonElementAssertionsTests 3✅ 13ms
HomeInventory.Tests.Framework.Assertions.ObjectExtensionsTests 4✅ 5ms
HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensionsTests 3✅ 3ms
HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizationTests 1✅ 2ms
HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomizationTests 1✅ 4ms
HomeInventory.Tests.Middlewares.CorrelationIdContainerTests 3✅ 1ms
HomeInventory.Tests.Middlewares.CorrelationIdMiddlewareTests 7✅ 152ms
HomeInventory.Tests.Presentation.Web.SectionPathTests 2✅ 5ms
HomeInventory.Tests.Systems.Authentication.BCryptPasswordHasherTests 3✅ 104ms
HomeInventory.Tests.Systems.Authentication.GuidJwtIdentityGeneratorTests 2✅ 0ms
HomeInventory.Tests.Systems.Authentication.JwtBearerOptionsSetupTests 1✅ 132ms
HomeInventory.Tests.Systems.Authentication.JwtTokenGeneratorTests 1✅ 39ms
HomeInventory.Tests.Systems.Handlers.AuthenticateQueryHandlerTests 3✅ 26ms
HomeInventory.Tests.Systems.Handlers.LoggingBehaviorTests 4✅ 23ms
HomeInventory.Tests.Systems.Handlers.RegisterCommandHandlerTests 2✅ 81ms
HomeInventory.Tests.Systems.Handlers.UnitOfWorkBehaviorTests 4✅ 275ms
HomeInventory.Tests.Systems.Handlers.UserIdQueryHandlerTests 2✅ 6ms
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests 2✅ 6ms
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests 4✅ 19ms
HomeInventory.Tests.Systems.Mapping.UlidIdConverterTests 3✅ 18ms
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests 5✅ 9ms
HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests 8✅ 93ms
HomeInventory.Tests.Systems.Modules.AuthenticationModuleTests 3✅ 29ms
HomeInventory.Tests.Systems.Modules.ErrorMappingTests 7✅ 15ms
HomeInventory.Tests.Systems.Modules.HomeInventoryProblemDetailsFactoryTests 14✅ 33ms
HomeInventory.Tests.Systems.Modules.JsonOpenApiValueConverterTests 4✅ 8ms
HomeInventory.Tests.Systems.Modules.SwaggerDefaultValuesTests 10✅ 225ms
HomeInventory.Tests.Systems.Modules.UserManagementModuleTests 3✅ 575ms
HomeInventory.Tests.Systems.Persistence.AmountValueObjectConverterTests 1✅ 11ms
HomeInventory.Tests.Systems.Persistence.ByIdFilterSpecificationTests 4✅ 24ms
HomeInventory.Tests.Systems.Persistence.EventsPersistenceServiceTests 1✅ 555ms
HomeInventory.Tests.Systems.Persistence.OutboxMessageConfigurationTests 2✅ 44ms
HomeInventory.Tests.Systems.Persistence.PersistenceHealthCheckTests 3✅ 857ms
HomeInventory.Tests.Systems.Persistence.RepositoryTests 14✅ 218ms
HomeInventory.Tests.Systems.Persistence.UserHasEmailSpecificationTests 2✅ 8ms
HomeInventory.Tests.Systems.Persistence.UserModelConfigurationTests 1✅ 44ms
HomeInventory.Tests.Systems.Persistence.UserRepositoryTests 4✅ 1s
HomeInventory.Tests.Validation.LoginRequestValidatorTests 6✅ 5ms
HomeInventory.Tests.Validation.PasswordValidatorTests 18✅ 54ms
HomeInventory.Tests.Validation.RegisterRequestValidatorTests 11✅ 12ms

✅ HomeInventory.Tests.Application.FeatureFlagTests

✅ ConstructorShouldPreserveName
✅ CreateShouldPreserveName
✅ CreateWithContextShouldPreserveName
✅ IsEnabledContextShouldReturnManagerValue(expectedValue: False)
✅ IsEnabledContextShouldReturnManagerValue(expectedValue: True)
✅ IsEnabledShouldReturnManagerValue(expectedValue: False)
✅ IsEnabledShouldReturnManagerValue(expectedValue: True)
✅ WithContextShouldReturn

✅ HomeInventory.Tests.Core.DictionaryExtensionsTests

✅ GetValueOptional2 Should ReturnDefaultValue WhenKeyIsNotPresent
✅ GetValueOptional2 Should ReturnValue WhenKeyIsPresent

✅ HomeInventory.Tests.Core.EnumerableExtensionsTests

✅ Concat Should AddItemAtTheEnd
✅ EmptyIfNull Should ReturnEmpty When Null
✅ EmptyIfNull Should ReturnOriginal When NotNull

✅ HomeInventory.Tests.Core.ExecuteTests

✅ AndCatch ShouldCatchExceptionAndReturnResult
✅ AndCatch ShouldReturnResult
✅ AndCatchAsync ShouldCatchException
✅ AndCatchAsync ShouldCatchExceptionAndReturnResult
✅ AndCatchAsync ShouldExecuteAction
✅ AndCatchAsync ShouldReturnResult

✅ HomeInventory.Tests.Core.OptionalExtensionsTests

✅ Tap ShouldInvokeAction WhenOptionalHasValue
✅ Tap2 ShouldInvokeAction WhenOptionalHasValue
✅ Tap3 ShouldInvokeAction WhenOptionalHasValue

✅ HomeInventory.Tests.Core.ReflectionMethodsTests

✅ CreateInstance ShouldCreate When InternalCtorAndArg
✅ CreateInstance ShouldCreate When InternalCtorAndNoArgs
✅ CreateInstance ShouldCreate When PublicCtorAndArg
✅ CreateInstance ShouldCreate When PublicCtorAndNoArgs

✅ HomeInventory.Tests.Core.TypeExtensionsTests

✅ GetFieldsOfType Should ReturnValues
✅ GetFormattedName Should FormatGeneric
✅ GetFormattedName Should FormatGeneric2
✅ GetFormattedName Should NotFormatNonGeneric

✅ HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests

✅ ShouldRegister
✅ ShouldUse

✅ HomeInventory.Tests.Domain.EntityTests

✅ EqualsObject Should ReturnFalseWhenOtherHasDifferentId
✅ EqualsObject Should ReturnFalseWhenOtherHasDifferentType
✅ EqualsObject Should ReturnFalseWhenOtherIsNull
✅ EqualsObject Should ReturnTrueWhenOtherHasSameId
✅ EqualsObject Should ReturnTrueWhenSameReference
✅ EqualsTEntity Should ReturnFalseWhenOtherHasDifferentId
✅ EqualsTEntity Should ReturnFalseWhenOtherIsNull
✅ EqualsTEntity Should ReturnTrueWhenOtherHasSameId
✅ EqualsTEntity Should ReturnTrueWhenSameReference
✅ GetHashCode Should ReturnGetHashCodeFromId
✅ OpEquals Should ReturnFalseWhenOtherHasDifferentId
✅ OpEquals Should ReturnTrueWhenOtherHasSameId
✅ OpNotEquals Should ReturnFalseWhenOtherHasSameId
✅ OpNotEquals Should ReturnTrueWhenOtherHasDifferentId

✅ HomeInventory.Tests.Domain.EquatableComponentTests

✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 1)
✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 2)
✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 3)
✅ Equals ShoudBeEqualToEmpty WhenNoComponents
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 1)
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 2)
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 3)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 1)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 2)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 3)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 1)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 2)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 3)
✅ GetHashCode ShoudReturnZero WhenNoComponents

✅ HomeInventory.Tests.Domain.FixedDateTimeServiceTests

✅ UtcNow ShouldReturnSuppliedTime
✅ UtcNow ShouldReturnSuppliedTimeFromOther
✅ UtcNow ShouldReturnSuppliedTimeInUTC

✅ HomeInventory.Tests.Domain.ValueObjects.AmountFactoryTests

✅ Create Should Return Amount When ValueIsValid(unit: CubicMeter)
✅ Create Should Return Amount When ValueIsValid(unit: Gallon)
✅ Create Should Return Amount When ValueIsValid(unit: Piece)
✅ Create Should Return Error When PieceIsFractional
✅ Create Should Return Error When ValueIsNegative(unit: CubicMeter)
✅ Create Should Return Error When ValueIsNegative(unit: Gallon)
✅ Create Should Return Error When ValueIsNegative(unit: Piece)
✅ Create Should Return Value When UnknownMeasurementType
✅ Create Should Return Value When UnknownUnit

✅ HomeInventory.Tests.Domain.ValueObjects.AmountTests

✅ Equals Should ReturnTrueIfSameValueAndUnit
✅ OpEquality Should ReturnTrueIfSameValueAndUnit
✅ OpInequality Should ReturnFalseIfSameValueAndUnit
✅ ToMetric Should ReturnMetricAmount(unit: CubicMeter)
✅ ToMetric Should ReturnMetricAmount(unit: Gallon)
✅ ToMetric Should ReturnMetricAmount(unit: Piece)

✅ HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests

✅ CanBeUsedAsDictionaryKey(sut: CubicMeter)
✅ CanBeUsedAsDictionaryKey(sut: Cup)
✅ CanBeUsedAsDictionaryKey(sut: FluidDram)
✅ CanBeUsedAsDictionaryKey(sut: FluidOunce)
✅ CanBeUsedAsDictionaryKey(sut: Gallon)
✅ CanBeUsedAsDictionaryKey(sut: Gill)
✅ CanBeUsedAsDictionaryKey(sut: Kelvin)
✅ CanBeUsedAsDictionaryKey(sut: Liter)
✅ CanBeUsedAsDictionaryKey(sut: MicroLiter)
✅ CanBeUsedAsDictionaryKey(sut: MilliLiter)
✅ CanBeUsedAsDictionaryKey(sut: Minim)
✅ CanBeUsedAsDictionaryKey(sut: Piece)
✅ CanBeUsedAsDictionaryKey(sut: Pint)
✅ CanBeUsedAsDictionaryKey(sut: Pottle)
✅ CanBeUsedAsDictionaryKey(sut: Quart)
✅ CanBeUsedAsDictionaryKey(sut: Shot)
✅ CanBeUsedAsDictionaryKey(sut: Tablespoon)
✅ CanBeUsedAsDictionaryKey(sut: Teaspoon)
✅ Items Should NotBeEmpty
✅ PropertiesShouldMatch(sut: CubicMeter, name: "CubicMeter", type: Volume, isMetric: True)
✅ PropertiesShouldMatch(sut: Gallon, name: "Gallon", type: Volume, isMetric: False)
✅ PropertiesShouldMatch(sut: Kelvin, name: "Kelvin", type: Temperature, isMetric: True)
✅ PropertiesShouldMatch(sut: Piece, name: "Piece", type: Count, isMetric: True)

✅ HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests

✅ CanBeUsedAsDictionaryKey(sut: Area)
✅ CanBeUsedAsDictionaryKey(sut: Count)
✅ CanBeUsedAsDictionaryKey(sut: Length)
✅ CanBeUsedAsDictionaryKey(sut: Temperature)
✅ CanBeUsedAsDictionaryKey(sut: Volume)
✅ CanBeUsedAsDictionaryKey(sut: Weight)
✅ Items Should NotBeEmpty
✅ PropertiesShouldMatch(sut: Area, name: "Area")
✅ PropertiesShouldMatch(sut: Count, name: "Count")
✅ PropertiesShouldMatch(sut: Length, name: "Length")
✅ PropertiesShouldMatch(sut: Temperature, name: "Temperature")
✅ PropertiesShouldMatch(sut: Volume, name: "Volume")
✅ PropertiesShouldMatch(sut: Weight, name: "Weight")

✅ HomeInventory.Tests.Framework.Assertions.JsonElementAssertionsTests

✅ BeArrayEqualTo ShoudPass WhenBothEmpty
✅ BeArrayEqualTo ShoudPass WhenBothHasSameValue
✅ BeArrayEqualTo ShoudPass WhenBothNull

✅ HomeInventory.Tests.Framework.Assertions.ObjectExtensionsTests

✅ GetComparer ShouldReturnForNumeric
✅ GetComparer ShouldReturnForObject
✅ GetComparer ShouldReturnForReferenceType
✅ GetComparer ShouldReturnForValueType

✅ HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensionsTests

✅ GetInstance ShouldReturnFromImplementationFactory
✅ GetInstance ShouldReturnFromImplementationInstance
✅ GetInstance ShouldReturnFromImplementationType

✅ HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizationTests

✅ Customize Should ProvideCorrectCustomization

✅ HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomizationTests

✅ Customize Should ProvideCorrectCustomization

✅ HomeInventory.Tests.Middlewares.CorrelationIdContainerTests

✅ CorrelationId Should NotBeEmpty When Created
✅ GenerateNew Should UpdateCorrelationId
✅ SetExisting Should UpdateCorrelationId

✅ HomeInventory.Tests.Middlewares.CorrelationIdMiddlewareTests

✅ InvokeAsync Should AddCorrelationIdToResponse
✅ InvokeAsync Should AwaitNext
✅ InvokeAsync Should CallNext
✅ InvokeAsync Should CreateCorrelationId When HeaderIsNotSet
✅ InvokeAsync Should NotSetCorrelationIdFromHeaders When ValueIsWrong(unexpectedId: "")
✅ InvokeAsync Should NotSetCorrelationIdFromHeaders When ValueIsWrong(unexpectedId: null)
✅ InvokeAsync Should SetCorrelationIdFromHeaders

✅ HomeInventory.Tests.Presentation.Web.SectionPathTests

✅ Divide Should ReturnCombinedPath
✅ ToString Should ReturnPath

✅ HomeInventory.Tests.Systems.Authentication.BCryptPasswordHasherTests

✅ HashAsync ShouldReturnDifferentHashesForDifferentInputs
✅ HashAsync ShouldReturnSomethingDifferentFromInput
✅ VerifyAsync ShouldConfirmHashed

✅ HomeInventory.Tests.Systems.Authentication.GuidJwtIdentityGeneratorTests

✅ GenerateNew Should ReturnNewValue WhenCalledSecondTime
✅ GenerateNew Should ReturnNotEmpty

✅ HomeInventory.Tests.Systems.Authentication.JwtBearerOptionsSetupTests

✅ Configure Should SetupOptions

✅ HomeInventory.Tests.Systems.Authentication.JwtTokenGeneratorTests

✅ GenerateTokenAsync Should GenerateCorrectTokenString

✅ HomeInventory.Tests.Systems.Handlers.AuthenticateQueryHandlerTests

✅ Handle OnBadPassword ReturnsError
✅ Handle OnNotFound ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Handlers.LoggingBehaviorTests

✅ Handle Should LogAfterCallingNext
✅ Handle Should LogBeforeCallingNext
✅ Handle Should ReturnResponseFromNext
✅ Should BeResolved

✅ HomeInventory.Tests.Systems.Handlers.RegisterCommandHandlerTests

✅ Handle OnFailure ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Handlers.UnitOfWorkBehaviorTests

✅ Handle Should CallSave When Success
✅ Handle Should NotCallSave When Error
✅ Handle Should ReturnResponseFromNext
✅ Should BeResolvedForCommand

✅ HomeInventory.Tests.Systems.Handlers.UserIdQueryHandlerTests

✅ Handle OnNotFound ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests

✅ ShouldMap(instance: AuthenticateResult { Id = 01J49VFDHZ36V481GMV8B4DXJM, Token = Token84e87424-0e18-4eed-84f9-842093e1b0df }, destination: typeof(HomeInventory.Contracts.LoginResponse))
✅ ShouldMap(instance: LoginRequest { Email = Emaile62dd39a-d4df-46bf-8858-30c8e3ccc5eb, Password = Password51072494-6637-4006-b1c5-29490981ad24 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))

✅ HomeInventory.Tests.Systems.Mapping.ModelMappingsTests

✅ ShouldMap(instance: 01J49VFDFB0GZ1MFT62TYCKB7V, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
✅ ShouldMap(instance: 01J49VFDFBE4X70MC65H8B2RK3, destination: typeof(System.Ulid))
✅ ShouldMap(instance: Amount { Unit = Quart, Value = 252 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
✅ ShouldMap(instance: ProductAmountModel { UnitName = "Gallon", Value = 204 }, destination: typeof(HomeInventory.Domain.ValueObjects.Amount))

✅ HomeInventory.Tests.Systems.Mapping.UlidIdConverterTests

✅ Convert Should Throw When IdIsEmpty
✅ TryConvert Should ReturnError When IdIsEmpty
✅ TryConvert Should ReturnValue When IdIsNotEmpty

✅ HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests

✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: 01J49VFD7HST7ZMX96QYHKVXBG, destination: typeof(System.Ulid))
✅ ShouldMap(instance: RegisterRequest { Email = Email050cc6fd-1779-480c-af3b-1b1aa69e11cf, Password = Password6059c49c-3c03-472b-aeb2-473c737c5ccc }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQuery))
✅ ShouldMap(instance: RegisterRequest { Email = Email0689c610-30f5-4904-9624-09dc9612d100, Password = Password35275dac-075b-45a3-a1c0-f5917d77959d }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterCommand))
✅ ShouldMap(instance: UserIdResult { UserId = 01J49VFD7JNJRHYPA030A5BJA5 }, destination: typeof(HomeInventory.Contracts.RegisterResponse))

✅ HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests

✅ ShouldMap(instance: "88c858e5-d3b6-47ce-a18b-8c74d69adb70", destination: typeof(HomeInventory.Domain.ValueObjects.Email))
✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: 01J49VFD6KF984RG5MEMGQTSND, destination: typeof(System.Ulid))
✅ ShouldMap(instance: 01J49VFD6KFYP3CPDMXQ3YSB9N, destination: typeof(HomeInventory.Domain.ValueObjects.UserId))
✅ ShouldMap(instance: User { Email = [email protected], Id = 01J49VFD6K0XAPRVG0X54Y53BT, Password = "Password26cc5010-9750-49aa-a870-7c9dc3d45b18" }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.UserModel))
✅ ShouldMap(instance: UserModel { CreatedOn = 2024-07-10T13:46:05.9394722+00:00, Email = "Email59ff529a-b2f6-4ab3-b7b6-786f1cdd8c73", Id = 01J49VFD6KDHSCWHJ7PXK9YASB, ModifiedOn = 2024-02-28T07:30:58.6594732+00:00, Password = "Passwordc5f3b1f9-d032-48e0-9ca1-3c7d9ba18f57" }, destination: typeof(HomeInventory.Domain.Aggregates.User))
✅ ShouldMapUserModelToUser
✅ ShouldProjectUserModelToUser

✅ HomeInventory.Tests.Systems.Modules.AuthenticationModuleTests

✅ AddRoutes ShouldRegister
✅ LoginAsync OnFailure ReturnsError
✅ LoginAsync OnSuccess ReturnsHttp200

✅ HomeInventory.Tests.Systems.Modules.ErrorMappingTests

✅ GetDefaultError Shoud Return500
✅ GetError Shoud ReturnExpected When Error(errorType: null, expected: InternalServerError)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Errors.DuplicateEmailError), expected: Conflict)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.ConflictError), expected: Conflict)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.NotFoundError), expected: NotFound)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.ObjectValidationError<string>), expected: BadRequest)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.ValidationError), expected: BadRequest)

✅ HomeInventory.Tests.Systems.Modules.HomeInventoryProblemDetailsFactoryTests

✅ ConvertToProblem Should Convert When MultipleDifferentErrors
✅ ConvertToProblem Should Convert When SingleError
✅ ConvertToProblem Should ConvertWithCorrectStatus When MultipleSimilarErrors
✅ ConvertToProblem Should ThrowInvalidOperationException When NoErrors
✅ CreateProblemDetails Should PassValues
✅ CreateProblemDetails Should SetDefaultsForStatusCode
✅ CreateProblemDetails Should SetDefaultStatusTo500
✅ CreateProblemDetails Should SetTraceIdentifierFromContextWhenNoCurrentActivity
✅ CreateProblemDetails Should SetTraceIdentifierFromCurrentActivity
✅ CreateValidationProblemDetails Should PassValues
✅ CreateValidationProblemDetails Should SetDefaultsForStatusCode
✅ CreateValidationProblemDetails Should SetDefaultStatusTo400
✅ CreateValidationProblemDetails Should SetTraceIdentifierFromContextWhenNoCurrentActivity
✅ CreateValidationProblemDetails Should SetTraceIdentifierFromCurrentActivity

✅ HomeInventory.Tests.Systems.Modules.JsonOpenApiValueConverterTests

✅ Convert ShouldReturnNull WhenValueIsDbNull(expected: False)
✅ Convert ShouldReturnNull WhenValueIsDbNull(expected: True)
✅ Convert ShouldReturnNull WhenValueIsNull
✅ Convert ShouldReturnOpenApiNull WhenValueIsDbNull

✅ HomeInventory.Tests.Systems.Modules.SwaggerDefaultValuesTests

✅ Apply Should NotOverrideDefaultForParameter
✅ Apply Should NotOverrideDescriptionForParameter
✅ Apply Should NotUnsetDeprecated
✅ Apply Should NotUnSetRequiredForParameter
✅ Apply Should RemoveNotSupportedContentTypes(statusCode: 200)
✅ Apply Should RemoveNotSupportedContentTypes(statusCode: null)
✅ Apply Should SetDefaultForParameter
✅ Apply Should SetDeprecated
✅ Apply Should SetDescriptionForParameter
✅ Apply Should SetRequiredForParameter

✅ HomeInventory.Tests.Systems.Modules.UserManagementModuleTests

✅ AddRoutes ShouldRegister
✅ RegisterAsync OnFailure ReturnsError
✅ RegisterAsync OnSuccess ReturnsHttp200

✅ HomeInventory.Tests.Systems.Persistence.AmountValueObjectConverterTests

✅ TryConvert

✅ HomeInventory.Tests.Systems.Persistence.ByIdFilterSpecificationTests

✅ ExecuteAsync Should NotSatisfyWithWrongId
✅ ExecuteAsync Should SatisfyWithCorrectId
✅ Should NotSatisfyWithWrongId
✅ Should SatisfyWithCorrectId

✅ HomeInventory.Tests.Systems.Persistence.EventsPersistenceServiceTests

✅ SaveEvents ShouldPersistDomainEvents

✅ HomeInventory.Tests.Systems.Persistence.OutboxMessageConfigurationTests

✅ UserModel Should HaveContentConfigured
✅ UserModel Should HavePrimaryKey

✅ HomeInventory.Tests.Systems.Persistence.PersistenceHealthCheckTests

✅ CheckHealthAsync ShouldReturnDegraded WhenCannotConnect
✅ CheckHealthAsync ShouldReturnDegraded WhenThrows
✅ CheckHealthAsync ShouldReturnHealthy WhenCanConnect

✅ HomeInventory.Tests.Systems.Persistence.RepositoryTests

✅ AddAsync ShouldAdd
✅ AddRangeAsync ShouldAdd
✅ AnyAsync ShouldReturnFalse WhenNoModels
✅ AnyAsync ShouldReturnTrue WhenModelsStored
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 0)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 1)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 2)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 3)
✅ DeleteAsync ShouldRemoveExisting
✅ DeleteRangeAsync ShouldRemoveExisting
✅ FindFirstOptionalAsync ShouldFindExisting
✅ FindFirstOptionalAsync ShouldNotFindNonExisting
✅ GetAllAsync ShouldReturnExpected
✅ HasAsync ShouldFindExisting

✅ HomeInventory.Tests.Systems.Persistence.UserHasEmailSpecificationTests

✅ Should NotSatisfyWithWrongEmail
✅ Should SatisfyWithCorrectEmail

✅ HomeInventory.Tests.Systems.Persistence.UserModelConfigurationTests

✅ UserModel Should HavePrimaryKey

✅ HomeInventory.Tests.Systems.Persistence.UserRepositoryTests

✅ AddAsync Should CreateUser AccordingToSpec
✅ FindFirstOrNotFoundAsync Should ReturnCorrectUser WhenUserAdded
✅ HasAsync Should ReturnTrue WhenUserAdded
✅ HasPermissionAsync Should ReturnTreu WhenUserAdded

✅ HomeInventory.Tests.Validation.LoginRequestValidatorTests

✅ Should NotPassValidation(email: "", password: "123456789sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "")
✅ Should NotPassValidation(email: "[email protected]", password: null)
✅ Should NotPassValidation(email: "none.email", password: "123456789sS$")
✅ Should NotPassValidation(email: null, password: "123456789sS$")
✅ Should PassValidation(email: "[email protected]", password: "123456789sS$")

✅ HomeInventory.Tests.Validation.PasswordValidatorTests

✅ Should NotPassValidation(password: "")
✅ Should NotPassValidation(password: "0o.")
✅ Should NotPassValidation(password: "0O.")
✅ Should NotPassValidation(password: "0oO")
✅ Should NotPassValidation(password: "oO.")
✅ Should PassValidation(password: "0oO-")
✅ Should PassValidation(password: "0oO!")
✅ Should PassValidation(password: "0oO.")
✅ Should PassValidation(password: "0oO'")
✅ Should PassValidation(password: "0oO(")
✅ Should PassValidation(password: "0oO*")
✅ Should PassValidation(password: "0oO&")
✅ Should PassValidation(password: "0oO%")
✅ Should PassValidation(password: "0oO`")
✅ Should PassValidation(password: "0oO^")
✅ Should PassValidation(password: "0oO~")
✅ Should PassValidation(password: "0oO$")
✅ Should PassValidation(password: null)

✅ HomeInventory.Tests.Validation.RegisterRequestValidatorTests

✅ Should NotPassValidation(email: "", password: "123456789sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789s$")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789S$")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789sS")
✅ Should NotPassValidation(email: "[email protected]", password: "1234sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "sssssssssS$")
✅ Should NotPassValidation(email: "[email protected]", password: null)
✅ Should NotPassValidation(email: "none.email", password: "123456789sS$")
✅ Should NotPassValidation(email: null, password: "123456789sS$")
✅ Should PassValidation(email: "[email protected]", password: "123456789sS$")