You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document mixing real framework services with AutoMock (#49)
AutoMock injects a mock for any service it can't resolve, including the
elements of an otherwise-empty collection dependency. A loose mock returns
null for un-setup members, which can make a consuming framework (such as EF
Core resolving logger providers) throw a NullReferenceException. Add remarks
to the AutoMock class describing this and the workaround.
0 commit comments