| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | REPO OVERVIEW | DEMO | CAT.UNITTESTING | |
|||||
A user and a user accessor for unit tests. The test sets the id, the name, the login state and the roles.
| Classes | |
|---|---|
| FakeUser | A user for unit tests. The test sets the id, the name, the login state and the roles. It starts as a logged in user without roles. Use CatUser when the user never changes during the test. Derive from it to add the properties of your own application, such as an email address. |
| FakeUserAccessor | A user accessor for unit tests. The test sets User at any moment. It starts with Anonymous, like a request without a login. |