{"action":"created","issue":{"url":"https://api.github.com/repos/certificationy/symfony-pack/issues/27","repository_url":"https://api.github.com/repos/certificationy/symfony-pack","labels_url":"https://api.github.com/repos/certificationy/symfony-pack/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/certificationy/symfony-pack/issues/27/comments","events_url":"https://api.github.com/repos/certificationy/symfony-pack/issues/27/events","html_url":"https://github.com/certificationy/symfony-pack/pull/27","id":147800387,"number":27,"title":"Fixed wrong answer with PHPUnit at() calls","user":{"login":"lolautruche","id":313528,"avatar_url":"https://avatars.githubusercontent.com/u/313528?v=3","gravatar_id":"","url":"https://api.github.com/users/lolautruche","html_url":"https://github.com/lolautruche","followers_url":"https://api.github.com/users/lolautruche/followers","following_url":"https://api.github.com/users/lolautruche/following{/other_user}","gists_url":"https://api.github.com/users/lolautruche/gists{/gist_id}","starred_url":"https://api.github.com/users/lolautruche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolautruche/subscriptions","organizations_url":"https://api.github.com/users/lolautruche/orgs","repos_url":"https://api.github.com/users/lolautruche/repos","events_url":"https://api.github.com/users/lolautruche/events{/privacy}","received_events_url":"https://api.github.com/users/lolautruche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T16:09:08Z","updated_at":"2016-04-12T18:49:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/certificationy/symfony-pack/pulls/27","html_url":"https://github.com/certificationy/symfony-pack/pull/27","diff_url":"https://github.com/certificationy/symfony-pack/pull/27.diff","patch_url":"https://github.com/certificationy/symfony-pack/pull/27.patch"},"body":"`at()` calls in test cases are 0 indexed. So in order to test a second call on a mock, `$this->at(1)` is the correct answer.\r\n\r\nI fixed the answer and left `$this->at(2)` to confuse the candidate.\r\nI also removed one answer."},"comment":{"url":"https://api.github.com/repos/certificationy/symfony-pack/issues/comments/209050493","html_url":"https://github.com/certificationy/symfony-pack/pull/27#issuecomment-209050493","issue_url":"https://api.github.com/repos/certificationy/symfony-pack/issues/27","id":209050493,"user":{"login":"mickaelandrieu","id":1247388,"avatar_url":"https://avatars.githubusercontent.com/u/1247388?v=3","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T18:49:00Z","updated_at":"2016-04-12T18:49:00Z","body":"Thanks @lolautruche"}}