In my previous post I was talking about how to create dynamic proxy using Castle DynamicProxy . Now, I want to shed some light on how to make sure that your proxy class complies with your interface, using special unit-tests.
As you maybe realized from the title, I will talk about Akka.NET , a .NET port of famous Akka framework, combined with MEF dependency injection library, and how you can use mocks (I will use Moq to leverage mocking power) to unit-test Akka.Net actors.