{"action":"opened","issue":{"url":"https://api.github.com/repos/vanderkleij/Smocks/issues/11","labels_url":"https://api.github.com/repos/vanderkleij/Smocks/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/vanderkleij/Smocks/issues/11/comments","events_url":"https://api.github.com/repos/vanderkleij/Smocks/issues/11/events","html_url":"https://github.com/vanderkleij/Smocks/issues/11","id":110174367,"number":11,"title":"'Invalid parameter count' thrown during setup of Callback for Instance methods that return void ","user":{"login":"paulose","id":112645,"avatar_url":"https://avatars.githubusercontent.com/u/112645?v=3","gravatar_id":"","url":"https://api.github.com/users/paulose","html_url":"https://github.com/paulose","followers_url":"https://api.github.com/users/paulose/followers","following_url":"https://api.github.com/users/paulose/following{/other_user}","gists_url":"https://api.github.com/users/paulose/gists{/gist_id}","starred_url":"https://api.github.com/users/paulose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulose/subscriptions","organizations_url":"https://api.github.com/users/paulose/orgs","repos_url":"https://api.github.com/users/paulose/repos","events_url":"https://api.github.com/users/paulose/events{/privacy}","received_events_url":"https://api.github.com/users/paulose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T08:25:09Z","updated_at":"2015-10-07T08:25:09Z","closed_at":null,"body":"context.Setup(() => It.IsAny<MessageQueue>().Send(message)).Callback((Message m) =>\r\n                {\r\n                    called = true;\r\n                });\r\n\r\nWhen calling the above line, Smocks throws an error 'Invalid parameter count'. I am trying to mock the System.Messaging.MessageQueue.Send method here."}}