Orleans provides a powerful actor framework, but at the same time it involves some controversial design decisions. In particular, testing the actors (grains) can be challenging. In this post, I will show a way to make the grain logic unit testable.
What is a real life project - one can ask. The real life - in terms of software development - is built of limitations. Your time is limited, the budget is limited, your abilities are limited and even knowledge of what you should exactly do is limited. Only your client's expectations and need to maintain the legacy code are unlimited. Funny - but let's puts jokes aside as this article should have some limit too.