{"action":"closed","issue":{"url":"https://api.github.com/repos/moq/moq4/issues/727","repository_url":"https://api.github.com/repos/moq/moq4","labels_url":"https://api.github.com/repos/moq/moq4/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/moq/moq4/issues/727/comments","events_url":"https://api.github.com/repos/moq/moq4/issues/727/events","html_url":"https://github.com/moq/moq4/issues/727","id":386409445,"node_id":"MDU6SXNzdWUzODY0MDk0NDU=","number":727,"title":"error messages don't display the parent class name of an inner class object","user":{"login":"powerdude","id":780882,"node_id":"MDQ6VXNlcjc4MDg4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/780882?v=4","gravatar_id":"","url":"https://api.github.com/users/powerdude","html_url":"https://github.com/powerdude","followers_url":"https://api.github.com/users/powerdude/followers","following_url":"https://api.github.com/users/powerdude/following{/other_user}","gists_url":"https://api.github.com/users/powerdude/gists{/gist_id}","starred_url":"https://api.github.com/users/powerdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerdude/subscriptions","organizations_url":"https://api.github.com/users/powerdude/orgs","repos_url":"https://api.github.com/users/powerdude/repos","events_url":"https://api.github.com/users/powerdude/events{/privacy}","received_events_url":"https://api.github.com/users/powerdude/received_events","type":"User","site_admin":false},"labels":[{"id":1156181,"node_id":"MDU6TGFiZWwxMTU2MTgx","url":"https://api.github.com/repos/moq/moq4/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"state":"closed","locked":false,"assignee":{"login":"powerdude","id":780882,"node_id":"MDQ6VXNlcjc4MDg4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/780882?v=4","gravatar_id":"","url":"https://api.github.com/users/powerdude","html_url":"https://github.com/powerdude","followers_url":"https://api.github.com/users/powerdude/followers","following_url":"https://api.github.com/users/powerdude/following{/other_user}","gists_url":"https://api.github.com/users/powerdude/gists{/gist_id}","starred_url":"https://api.github.com/users/powerdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerdude/subscriptions","organizations_url":"https://api.github.com/users/powerdude/orgs","repos_url":"https://api.github.com/users/powerdude/repos","events_url":"https://api.github.com/users/powerdude/events{/privacy}","received_events_url":"https://api.github.com/users/powerdude/received_events","type":"User","site_admin":false},"assignees":[{"login":"powerdude","id":780882,"node_id":"MDQ6VXNlcjc4MDg4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/780882?v=4","gravatar_id":"","url":"https://api.github.com/users/powerdude","html_url":"https://github.com/powerdude","followers_url":"https://api.github.com/users/powerdude/followers","following_url":"https://api.github.com/users/powerdude/following{/other_user}","gists_url":"https://api.github.com/users/powerdude/gists{/gist_id}","starred_url":"https://api.github.com/users/powerdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerdude/subscriptions","organizations_url":"https://api.github.com/users/powerdude/orgs","repos_url":"https://api.github.com/users/powerdude/repos","events_url":"https://api.github.com/users/powerdude/events{/privacy}","received_events_url":"https://api.github.com/users/powerdude/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/moq/moq4/milestones/9","html_url":"https://github.com/moq/moq4/milestone/9","labels_url":"https://api.github.com/repos/moq/moq4/milestones/9/labels","id":3680657,"node_id":"MDk6TWlsZXN0b25lMzY4MDY1Nw==","number":9,"title":"4.10.1","description":"","creator":{"login":"stakx","id":104481,"node_id":"MDQ6VXNlcjEwNDQ4MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/104481?v=4","gravatar_id":"","url":"https://api.github.com/users/stakx","html_url":"https://github.com/stakx","followers_url":"https://api.github.com/users/stakx/followers","following_url":"https://api.github.com/users/stakx/following{/other_user}","gists_url":"https://api.github.com/users/stakx/gists{/gist_id}","starred_url":"https://api.github.com/users/stakx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stakx/subscriptions","organizations_url":"https://api.github.com/users/stakx/orgs","repos_url":"https://api.github.com/users/stakx/repos","events_url":"https://api.github.com/users/stakx/events{/privacy}","received_events_url":"https://api.github.com/users/stakx/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":9,"state":"open","created_at":"2018-09-23T17:59:35Z","updated_at":"2018-12-03T16:09:05Z","due_on":"2018-12-10T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-12-01T01:53:07Z","updated_at":"2018-12-03T16:09:06Z","closed_at":"2018-12-03T16:09:05Z","author_association":"CONTRIBUTOR","body":"If i have classes like this:\r\n\r\n```\r\npublic class Foo\r\n{\r\n   public class Bar\r\n  {\r\n }\r\n}\r\n\r\npublic class Foo1\r\n{\r\n   public class Bar{}\r\n}\r\n```\r\n\r\nand try to verify a mock call:\r\n```\r\nmock.Verify( x=>x.Send(It.IsAny<Foo.Bar>());\r\n```\r\nand call the service `service.Send(new Foo1.Bar())`, the messages displayed fail to indicate the parent class name.\r\n```\r\nExpected invocation on the mock at least once, but was never performed: x=>x.Send(Bar)\r\n```\r\n\r\nIdeally, it should say:\r\n```\r\nExpected invocation on the mock at least once, but was never performed: x=>x.Send(Foo+Bar)\r\n```\r\n"}}
{"actor":{"display_login":"stakx"}}