AfterLutz / Akkatecture

a cqrs and event sourcing framework for dotnet core using akka.net
https://akkatecture.net
MIT License
38 stars 9 forks source link

ActorRefProvider - feat: allow mocking of ActorRefProvider #145

Closed CumpsD closed 1 year ago

CumpsD commented 1 year ago

Extension methods are hard to mock with Moq. There is no point having them as extension methods when you control the object itself, in the same file, in the same lib.

malclear commented 1 year ago

I can't think of any reason for it to have been written that way. It is approved, and thanks for your PR!