{"action":"created","comment":{"url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments/35638510","id":35638510,"diff_hunk":"@@ -0,0 +1,38 @@\n+<?php\n+require_once(dirname(__FILE__) . '/../applications/config/autoload.php');\n+use MerryMurakami\\VendingMachine\\Proceeds;\n+\n+class ProceedsTest extends PHPUnit_Framework_TestCase\n+{\n+    /**\n+     * 毎テスト開始時の初期化関数\n+     *\n+     * @return void\n+     */\n+    public function setUp()\n+    {","path":"tests/ProceedsTest.php","position":13,"original_position":13,"commit_id":"f00a019669ea1e8bedfc1656e0eb85ce6be94ad3","original_commit_id":"f00a019669ea1e8bedfc1656e0eb85ce6be94ad3","user":{"login":"nouka","id":7764730,"avatar_url":"https://avatars.githubusercontent.com/u/7764730?v=3","gravatar_id":"","url":"https://api.github.com/users/nouka","html_url":"https://github.com/nouka","followers_url":"https://api.github.com/users/nouka/followers","following_url":"https://api.github.com/users/nouka/following{/other_user}","gists_url":"https://api.github.com/users/nouka/gists{/gist_id}","starred_url":"https://api.github.com/users/nouka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouka/subscriptions","organizations_url":"https://api.github.com/users/nouka/orgs","repos_url":"https://api.github.com/users/nouka/repos","events_url":"https://api.github.com/users/nouka/events{/privacy}","received_events_url":"https://api.github.com/users/nouka/received_events","type":"User","site_admin":false},"body":"そういうことか。\r\n`tearDown`メソッドとかで、インスタンスを破棄してあげればいいかもですね。","created_at":"2015-07-28T11:53:00Z","updated_at":"2015-07-28T11:53:00Z","html_url":"https://github.com/oz-sysb/MerryMurakami/pull/64#discussion_r35638510","pull_request_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/comments/35638510"},"html":{"href":"https://github.com/oz-sysb/MerryMurakami/pull/64#discussion_r35638510"},"pull_request":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64","id":40999718,"html_url":"https://github.com/oz-sysb/MerryMurakami/pull/64","diff_url":"https://github.com/oz-sysb/MerryMurakami/pull/64.diff","patch_url":"https://github.com/oz-sysb/MerryMurakami/pull/64.patch","issue_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/64","number":64,"state":"open","locked":false,"title":"売り上げ管理さんを追加","user":{"login":"y-murakami","id":7588300,"avatar_url":"https://avatars.githubusercontent.com/u/7588300?v=3","gravatar_id":"","url":"https://api.github.com/users/y-murakami","html_url":"https://github.com/y-murakami","followers_url":"https://api.github.com/users/y-murakami/followers","following_url":"https://api.github.com/users/y-murakami/following{/other_user}","gists_url":"https://api.github.com/users/y-murakami/gists{/gist_id}","starred_url":"https://api.github.com/users/y-murakami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-murakami/subscriptions","organizations_url":"https://api.github.com/users/y-murakami/orgs","repos_url":"https://api.github.com/users/y-murakami/repos","events_url":"https://api.github.com/users/y-murakami/events{/privacy}","received_events_url":"https://api.github.com/users/y-murakami/received_events","type":"User","site_admin":false},"body":"売り上げ金額の初期化と、初期値のテストだけ追加。\r\nシングルトンで実装してみた。","created_at":"2015-07-28T11:09:49Z","updated_at":"2015-07-28T11:53:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd8769c901a92d7d4fb1ca52651eca243fcfe2ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64/commits","review_comments_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64/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/64/comments","statuses_url":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/f00a019669ea1e8bedfc1656e0eb85ce6be94ad3","head":{"label":"oz-sysb:add_proceeds","ref":"add_proceeds","sha":"f00a019669ea1e8bedfc1656e0eb85ce6be94ad3","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-28T11:29:47Z","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":10576,"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":"961a19309945ed6f36650d7e5dc1834868b51bee","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-28T11:29:47Z","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":10576,"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/64"},"html":{"href":"https://github.com/oz-sysb/MerryMurakami/pull/64"},"issue":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/64"},"comments":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/pulls/64/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/64/commits"},"statuses":{"href":"https://api.github.com/repos/oz-sysb/MerryMurakami/statuses/f00a019669ea1e8bedfc1656e0eb85ce6be94ad3"}}}}