{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/174","labels_url":"https://api.github.com/repos/dart-lang/test/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/174/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/174/events","html_url":"https://github.com/dart-lang/test/issues/174","id":85654874,"number":174,"title":"Make verifying setters and getters more consistent","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/test/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/test/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/test/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T23:18:07Z","updated_at":"2015-06-05T23:18:08Z","closed_at":null,"body":"<a href=\"https://github.com/rbeeger\"><img src=\"https://avatars.githubusercontent.com/u/426834?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [rbeeger](https://github.com/rbeeger)**\n_Originally opened as dart-lang/sdk#7535_\n\n----\n\nBased on a discussion on Google \n+ https://plus.google.com/101220062889757306080/posts/SstoNUQ5fjw .\n\nVerifying a setter now works like this\nview.getLogs(callsTo('timeFrom=', START)).verify(happenedOnce);\n\nStubbing a getter looks like this \nmodel.when(callsTo('get start')).thenReturn(START);\n\nThe call matchers for getters and setters are inconsistent.\nChanging the getter part to just\nmodel.when(callsTo('start')).thenReturn(START);\nwould make it consistent again.\n\n"}}