Thanks again for bringing up the question. However, here are few issues that I found with your test:
1. You are trying to mock a test class itself, which is not an ideal scenario for mocking . Generally, it should be a target class or libraries inside test class.
2. You are creating Mock
of an Action delegate which is invalid and you can always write the following:
Mock.Arrange(() => clientServer.CallMethod(
Moreover the following line has a recursion, which is telling clientServer.CallMethod to do a self-invocation which can eventually crash the test.
Hope this gives you some sort of pointers.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>