public void CallWithoutResultTest() { Type proxyType = proxyBuilder.Build(typeof(ISampleService)); ISampleService service = (ISampleService)Activator.CreateInstance(proxyType, client.Object); service.DoStuff("test"); client.Verify(c => c.CallWithoutResult("ISampleService", "DoStuff", It.IsAny <RpcMessage.Parameter[]>())); }