dotnet 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.