{"action":"created","comment":{"url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments/35062867","id":35062867,"diff_hunk":"@@ -19,6 +19,38 @@ public function setUp()\n \t * @test\n \t *\n \t * @param array $invests  投入されるお金\n+\t * @param int   $expected 受け取れなかった金額\n+\t *\n+\t * @return void\n+\t *\n+\t * @dataProvider お金受け取る_正常系Provider\n+\t */\n+\tpublic function お金受け取る_正常系($invests, $expected)\n+\t{\n+\t\t$result = $this->vendingMachine_obj->add_amount($invests);\n+\t\t$this->assertEquals($expected, $result);\n+\t}\n+\n+\t/**\n+\t * @test\n+\t *\n+\t * @param array $invests  投入されるお金","path":"tests/vendingMachineTest.php","position":19,"original_position":19,"commit_id":"5b0d19a1dd9d233d5f3c8f14a56dfd0e39cf048c","original_commit_id":"5b0d19a1dd9d233d5f3c8f14a56dfd0e39cf048c","user":{"login":"s-nagayama","id":8164207,"avatar_url":"https://avatars.githubusercontent.com/u/8164207?v=3","gravatar_id":"","url":"https://api.github.com/users/s-nagayama","html_url":"https://github.com/s-nagayama","followers_url":"https://api.github.com/users/s-nagayama/followers","following_url":"https://api.github.com/users/s-nagayama/following{/other_user}","gists_url":"https://api.github.com/users/s-nagayama/gists{/gist_id}","starred_url":"https://api.github.com/users/s-nagayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-nagayama/subscriptions","organizations_url":"https://api.github.com/users/s-nagayama/orgs","repos_url":"https://api.github.com/users/s-nagayama/repos","events_url":"https://api.github.com/users/s-nagayama/events{/privacy}","received_events_url":"https://api.github.com/users/s-nagayama/received_events","type":"User","site_admin":false},"body":"確かに、intだと思います。","created_at":"2015-07-21T01:32:15Z","updated_at":"2015-07-21T01:32:15Z","html_url":"https://github.com/oz-sysb/MerryMurakami/pull/42#discussion_r35062867","pull_request_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments/35062867"},"html":{"href":"https://github.com/oz-sysb/MerryMurakami/pull/42#discussion_r35062867"},"pull_request":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42","id":40363381,"html_url":"https://github.com/oz-sysb/MerryMurakami/pull/42","diff_url":"https://github.com/oz-sysb/MerryMurakami/pull/42.diff","patch_url":"https://github.com/oz-sysb/MerryMurakami/pull/42.patch","issue_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/42","number":42,"state":"open","locked":false,"title":"[WIP]お金いれとくさんの入れとくと自販機の受け取るの返り値を変えてみた","user":{"login":"s-nagayama","id":8164207,"avatar_url":"https://avatars.githubusercontent.com/u/8164207?v=3","gravatar_id":"","url":"https://api.github.com/users/s-nagayama","html_url":"https://github.com/s-nagayama","followers_url":"https://api.github.com/users/s-nagayama/followers","following_url":"https://api.github.com/users/s-nagayama/following{/other_user}","gists_url":"https://api.github.com/users/s-nagayama/gists{/gist_id}","starred_url":"https://api.github.com/users/s-nagayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-nagayama/subscriptions","organizations_url":"https://api.github.com/users/s-nagayama/orgs","repos_url":"https://api.github.com/users/s-nagayama/repos","events_url":"https://api.github.com/users/s-nagayama/events{/privacy}","received_events_url":"https://api.github.com/users/s-nagayama/received_events","type":"User","site_admin":false},"body":"お金が受け取れている　　➡　総額\r\nお金が受け取れていない　➡　投入金額\r\n\r\n以下に変更\r\nお金が受け取れている　　➡　0\r\nお金が受け取れていない　➡　投入金額","created_at":"2015-07-20T15:21:10Z","updated_at":"2015-07-21T01:32:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52f00eb5c75b06c9e79d45d49d9aef613bd405a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42/commits","review_comments_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42/comments","review_comment_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/42/comments","statuses_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/5b0d19a1dd9d233d5f3c8f14a56dfd0e39cf048c","head":{"label":"oz-sysb:vendingMachine_modify","ref":"vendingMachine_modify","sha":"5b0d19a1dd9d233d5f3c8f14a56dfd0e39cf048c","user":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"repo":{"id":38812076,"name":"MerryMurakami","full_name":"oz-sysb/MerryMurakami","owner":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oz-sysb/MerryMurakami","description":"愉快な村上チームの開発リポジトリ","fork":false,"url":"https://api.github.com/repos/oz-sysb/MerryMurakami","forks_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/forks","keys_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/teams","hooks_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/hooks","issue_events_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/events{/number}","events_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/events","assignees_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/assignees{/user}","branches_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/branches{/branch}","tags_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/tags","blobs_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/refs{/sha}","trees_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/{sha}","languages_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/languages","stargazers_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/stargazers","contributors_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/contributors","subscribers_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/subscribers","subscription_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/subscription","commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/commits{/sha}","git_commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/commits{/sha}","comments_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/comments{/number}","issue_comment_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/comments{/number}","contents_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/contents/{+path}","compare_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/merges","archive_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/downloads","issues_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues{/number}","pulls_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls{/number}","milestones_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/milestones{/number}","notifications_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/labels{/name}","releases_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/releases{/id}","created_at":"2015-07-09T09:42:49Z","updated_at":"2015-07-10T13:32:07Z","pushed_at":"2015-07-20T16:51:25Z","git_url":"git://github.com/oz-sysb/MerryMurakami.git","ssh_url":"git@github.com:oz-sysb/MerryMurakami.git","clone_url":"https://github.com/oz-sysb/MerryMurakami.git","svn_url":"https://github.com/oz-sysb/MerryMurakami","homepage":null,"size":9820,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"oz-sysb:master","ref":"master","sha":"9b60e20052db140d5872877777ca98e91e55db0c","user":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"repo":{"id":38812076,"name":"MerryMurakami","full_name":"oz-sysb/MerryMurakami","owner":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oz-sysb/MerryMurakami","description":"愉快な村上チームの開発リポジトリ","fork":false,"url":"https://api.github.com/repos/oz-sysb/MerryMurakami","forks_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/forks","keys_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/teams","hooks_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/hooks","issue_events_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/events{/number}","events_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/events","assignees_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/assignees{/user}","branches_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/branches{/branch}","tags_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/tags","blobs_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/refs{/sha}","trees_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/{sha}","languages_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/languages","stargazers_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/stargazers","contributors_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/contributors","subscribers_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/subscribers","subscription_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/subscription","commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/commits{/sha}","git_commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/git/commits{/sha}","comments_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/comments{/number}","issue_comment_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/comments{/number}","contents_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/contents/{+path}","compare_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/merges","archive_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/downloads","issues_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues{/number}","pulls_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls{/number}","milestones_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/milestones{/number}","notifications_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/labels{/name}","releases_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/releases{/id}","created_at":"2015-07-09T09:42:49Z","updated_at":"2015-07-10T13:32:07Z","pushed_at":"2015-07-20T16:51:25Z","git_url":"git://github.com/oz-sysb/MerryMurakami.git","ssh_url":"git@github.com:oz-sysb/MerryMurakami.git","clone_url":"https://github.com/oz-sysb/MerryMurakami.git","svn_url":"https://github.com/oz-sysb/MerryMurakami","homepage":null,"size":9820,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42"},"html":{"href":"https://github.com/oz-sysb/MerryMurakami/pull/42"},"issue":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/42"},"comments":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/5b0d19a1dd9d233d5f3c8f14a56dfd0e39cf048c"}}}}