{"action":"closed","issue":{"url":"https://api.github.com/repos/constructor-igor/NUnit.That.Resharper.Plugin/issues/11","labels_url":"https://api.github.com/repos/constructor-igor/NUnit.That.Resharper.Plugin/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/constructor-igor/NUnit.That.Resharper.Plugin/issues/11/comments","events_url":"https://api.github.com/repos/constructor-igor/NUnit.That.Resharper.Plugin/issues/11/events","html_url":"https://github.com/constructor-igor/NUnit.That.Resharper.Plugin/issues/11","id":63969668,"number":11,"title":"[ExpectedException(typeof(Exception))] case","user":{"login":"constructor-igor","id":1849690,"avatar_url":"https://avatars.githubusercontent.com/u/1849690?v=3","gravatar_id":"","url":"https://api.github.com/users/constructor-igor","html_url":"https://github.com/constructor-igor","followers_url":"https://api.github.com/users/constructor-igor/followers","following_url":"https://api.github.com/users/constructor-igor/following{/other_user}","gists_url":"https://api.github.com/users/constructor-igor/gists{/gist_id}","starred_url":"https://api.github.com/users/constructor-igor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constructor-igor/subscriptions","organizations_url":"https://api.github.com/users/constructor-igor/orgs","repos_url":"https://api.github.com/users/constructor-igor/repos","events_url":"https://api.github.com/users/constructor-igor/events{/privacy}","received_events_url":"https://api.github.com/users/constructor-igor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/constructor-igor/NUnit.That.Resharper.Plugin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T11:08:54Z","updated_at":"2015-03-31T12:38:04Z","closed_at":"2015-03-31T12:38:04Z","body":"```c#\r\n[ExpectedException(typeof(Exception))]\r\n...\r\nkey1.CompareTo(key2);\r\n```\r\n\r\nactual:\r\n```c#\r\nAssert.That(() => { key1.CompareTo(key2); }, Throws.TypeOf(typeof (Exception)));\r\n```\r\nexpected Throws.Exception instead of Throws.TypeOf(typeof (Exception))\r\n```c#\r\nAssert.That(() => key1.CompareTo(key2), Throws.Exception);\r\n```\r\n**update**:\r\n- implemented Throws.Excpetion;\r\n- not implemented ```() => key1.CompareTo(key2)```"}}