{"action":"created","issue":{"url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/6","labels_url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/6/comments","events_url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/6/events","html_url":"https://github.com/php-mock/php-mock-phpunit/issues/6","id":127308997,"number":6,"title":"$this->at(0) does not work","user":{"login":"HotPizzaBox","id":1893516,"avatar_url":"https://avatars.githubusercontent.com/u/1893516?v=3","gravatar_id":"","url":"https://api.github.com/users/HotPizzaBox","html_url":"https://github.com/HotPizzaBox","followers_url":"https://api.github.com/users/HotPizzaBox/followers","following_url":"https://api.github.com/users/HotPizzaBox/following{/other_user}","gists_url":"https://api.github.com/users/HotPizzaBox/gists{/gist_id}","starred_url":"https://api.github.com/users/HotPizzaBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotPizzaBox/subscriptions","organizations_url":"https://api.github.com/users/HotPizzaBox/orgs","repos_url":"https://api.github.com/users/HotPizzaBox/repos","events_url":"https://api.github.com/users/HotPizzaBox/events{/privacy}","received_events_url":"https://api.github.com/users/HotPizzaBox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T20:54:57Z","updated_at":"2016-01-18T20:58:13Z","closed_at":"2016-01-18T20:58:13Z","body":"Is there any reason why this does not work?\r\n\r\n    $timeMock = $this->getFunctionMock(__NAMESPACE__, \"time\");\r\n\r\n    $timeMock->expects($this->at(0))\r\n        ->willReturn(1);\r\n\r\n    $this->assertEquals(1, time());\r\n\r\n    $timeMock->expects($this->at(1))\r\n        ->willReturn(4);\r\n\r\n    $this->assertEquals(4, time());"},"comment":{"url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/comments/172652271","html_url":"https://github.com/php-mock/php-mock-phpunit/issues/6#issuecomment-172652271","issue_url":"https://api.github.com/repos/php-mock/php-mock-phpunit/issues/6","id":172652271,"user":{"login":"HotPizzaBox","id":1893516,"avatar_url":"https://avatars.githubusercontent.com/u/1893516?v=3","gravatar_id":"","url":"https://api.github.com/users/HotPizzaBox","html_url":"https://github.com/HotPizzaBox","followers_url":"https://api.github.com/users/HotPizzaBox/followers","following_url":"https://api.github.com/users/HotPizzaBox/following{/other_user}","gists_url":"https://api.github.com/users/HotPizzaBox/gists{/gist_id}","starred_url":"https://api.github.com/users/HotPizzaBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotPizzaBox/subscriptions","organizations_url":"https://api.github.com/users/HotPizzaBox/orgs","repos_url":"https://api.github.com/users/HotPizzaBox/repos","events_url":"https://api.github.com/users/HotPizzaBox/events{/privacy}","received_events_url":"https://api.github.com/users/HotPizzaBox/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T20:58:13Z","updated_at":"2016-01-18T20:58:13Z","body":"Wrong order of the setup. "}}