{"action":"created","issue":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/475","labels_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/475/comments","events_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/475/events","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/475","id":66028226,"number":475,"title":"Allow calls on expressions where the fake is found by partly evaluating the expression","user":{"login":"TimLovellSmith","id":2711795,"avatar_url":"https://avatars.githubusercontent.com/u/2711795?v=3","gravatar_id":"","url":"https://api.github.com/users/TimLovellSmith","html_url":"https://github.com/TimLovellSmith","followers_url":"https://api.github.com/users/TimLovellSmith/followers","following_url":"https://api.github.com/users/TimLovellSmith/following{/other_user}","gists_url":"https://api.github.com/users/TimLovellSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/TimLovellSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimLovellSmith/subscriptions","organizations_url":"https://api.github.com/users/TimLovellSmith/orgs","repos_url":"https://api.github.com/users/TimLovellSmith/repos","events_url":"https://api.github.com/users/TimLovellSmith/events{/privacy}","received_events_url":"https://api.github.com/users/TimLovellSmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-02T23:05:49Z","updated_at":"2015-04-03T00:04:26Z","closed_at":"2015-04-02T23:40:29Z","body":"scenario:\r\n\r\n    class P\r\n    {\r\n        public virtual int Foo() { return 0; }\r\n    }\r\n\r\n    class T\r\n    {\r\n        public P P { get; set; }\r\n    }\r\n\r\n    void Test()\r\n    {\r\n        var t = new T { P = A.Fake<P>(); }\r\n        A.CallTo(() => t.P.Foo()).Returns(2);\r\n    }\r\n\r\nobserved with FakeItEasy 1.25.1 - this test fails with ArgumentException \"The specified call is not made on a fake object.\"\r\n\r\nexpected: it passes :)"},"comment":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/comments/89086601","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/475#issuecomment-89086601","issue_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/475","id":89086601,"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-04-03T00:04:26Z","updated_at":"2015-04-03T00:04:26Z","body":"Doncha hate when that happens?\r\n\r\n(Thanks for including the second sample, @TimLovellSmith. I'd've gone nuts wondering.)"}}