{"action":"created","issue":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/462","labels_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/462/comments","events_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/462/events","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/462","id":58750402,"number":462,"title":"complain when IFakeOptionsBuilder.Implements is passed a non-interface","user":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/P3","name":"P3","color":"a349a7"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/up-for-grabs","name":"up-for-grabs","color":"ffff00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T15:01:53Z","updated_at":"2015-02-25T11:29:16Z","closed_at":null,"body":"It's supposed to allow us to add interfaces to a fake, but it accepts types.\r\n\r\n```c#\r\nA.Fake<IInterface>(builder => builder.Implements(typeof (SomeClass)));\r\n```\r\n\r\npasses silently, but with no obvious benefit.\r\n\r\nCasting to `SomeClass` fails.\r\n\r\nFound while investigating an answer to [Having an interface fake inherit from abstract while both share same interface inheritance](http://stackoverflow.com/questions/28697918/fakeiteasy-having-an-interface-fake-inherit-from-abstract-while-both-share-sam)."},"comment":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/comments/75945305","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/462#issuecomment-75945305","issue_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/462","id":75945305,"user":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T11:29:16Z","updated_at":"2015-02-25T11:29:16Z","body":"Changing to **enhancement** since FakeItEasy is doing nothing wrong when used as intended. This is just a bonus warning for users to help them use it correctly."}}