{"action":"created","issue":{"url":"https://api.github.com/repos/erikdoe/ocmock/issues/218","labels_url":"https://api.github.com/repos/erikdoe/ocmock/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/erikdoe/ocmock/issues/218/comments","events_url":"https://api.github.com/repos/erikdoe/ocmock/issues/218/events","html_url":"https://github.com/erikdoe/ocmock/issues/218","id":99470738,"number":218,"title":"Mock Object not recognizing a selector that is defined in the mocked class","user":{"login":"jhoughjr","id":1562633,"avatar_url":"https://avatars.githubusercontent.com/u/1562633?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoughjr","html_url":"https://github.com/jhoughjr","followers_url":"https://api.github.com/users/jhoughjr/followers","following_url":"https://api.github.com/users/jhoughjr/following{/other_user}","gists_url":"https://api.github.com/users/jhoughjr/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoughjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoughjr/subscriptions","organizations_url":"https://api.github.com/users/jhoughjr/orgs","repos_url":"https://api.github.com/users/jhoughjr/repos","events_url":"https://api.github.com/users/jhoughjr/events{/privacy}","received_events_url":"https://api.github.com/users/jhoughjr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-06T16:11:26Z","updated_at":"2015-08-22T10:14:29Z","closed_at":null,"body":"I'm mocking UILocalNotification.\r\nIn its header, it declares : \r\n(line 47, UILocalNotification.h)\r\n@property(nonatomic,copy) NSDictionary *userInfo;   // throws if contains non-property list types\r\n\r\nHowever expecting -userInfo on the UILocalNotification mock throws the \"cannot stub/verify .. because it does not exist in the mocked class\" exception.\r\n\r\nIf I do not expect it, when the test runs I get an unrecognized selector exception.\r\n\r\nI dont understand why this is happening since it appears to be the same scenario in many tests that work fine.\r\n\r\nHere is the test and code under test that reproduces this scenario\r\nhttps://gist.github.com/jhoughjr/dcfd9a7bbf869c0695d1\r\n\r\nPossibly I am doing something wrong, but I don't see it, as this seems a  simple test case."},"comment":{"url":"https://api.github.com/repos/erikdoe/ocmock/issues/comments/133675033","html_url":"https://github.com/erikdoe/ocmock/issues/218#issuecomment-133675033","issue_url":"https://api.github.com/repos/erikdoe/ocmock/issues/218","id":133675033,"user":{"login":"erikdoe","id":954026,"avatar_url":"https://avatars.githubusercontent.com/u/954026?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdoe","html_url":"https://github.com/erikdoe","followers_url":"https://api.github.com/users/erikdoe/followers","following_url":"https://api.github.com/users/erikdoe/following{/other_user}","gists_url":"https://api.github.com/users/erikdoe/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdoe/subscriptions","organizations_url":"https://api.github.com/users/erikdoe/orgs","repos_url":"https://api.github.com/users/erikdoe/repos","events_url":"https://api.github.com/users/erikdoe/events{/privacy}","received_events_url":"https://api.github.com/users/erikdoe/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T10:14:29Z","updated_at":"2015-08-22T10:14:29Z","body":"I have just merged #223 which makes it possible to stub dynamic properties as if they were regular methods. Can you verify that this fixes your problem?"}}