Playing around with .Net Core 5.0 and doing TDD I faced a small constraint: Mocking the logged-in User wasn't being easy as the ClaimsPrincipal Class is a get only attribute.
Unit testing controllers with User dependency on .Net Core
Trying .Net Core 5.0, I've set some playground rules, doing TDD. But I found one constraint trying to prepare all the dependencies on the User.