9 cases: null/empty/malformed email -> BadRequest; null or sub-8-char password -> BadRequest; duplicate email -> DomainException; valid signup returns User with hashed password and isAdmin=false; user is findable by email afterwards; EmailAddress vo lowercases the domain. fails red - SignupUser class not yet defined. |
||
|---|---|---|
| .. | ||
| Shared/ValueObject | ||
| User/UseCases | ||
| ExampleTest.php | ||