{"action":"created","comment":{"url":"https://api.github.com/repos/kreta/kreta/pulls/comments/82616484","pull_request_review_id":3433752,"id":82616484,"diff_hunk":"@@ -0,0 +1,36 @@\n+<?php\n+\n+namespace Spec\\Kreta\\TaskManager\\Domain\\Model\\Organization;\n+\n+use Kreta\\SharedKernel\\Domain\\Model\\DomainEvent;\n+use Kreta\\TaskManager\\Domain\\Model\\Organization\\OrganizationCreated;\n+use Kreta\\TaskManager\\Domain\\Model\\Organization\\OrganizationId;\n+use PhpSpec\\ObjectBehavior;\n+\n+class OrganizationCreatedSpec extends ObjectBehavior\n+{\n+    function let(OrganizationId $organizationId)\n+    {\n+        $this->beConstructedWith($organizationId);\n+    }\n+\n+    function it_is_initializable()\n+    {\n+        $this->shouldHaveType(OrganizationCreated::class);\n+    }\n+\n+    function it_implements_domain_event()\n+    {\n+        $this->shouldImplement(DomainEvent::class);","path":"src/Kreta/TaskManager/Tests/Spec/Kreta/TaskManager/Domain/Model/Organization/OrganizationCreatedSpec.php","position":24,"original_position":24,"commit_id":"aeb2b5070619636d9094c055b97ae4760b285287","original_commit_id":"aeb2b5070619636d9094c055b97ae4760b285287","user":{"login":"gorkalaucirica","id":1749891,"avatar_url":"https://avatars.githubusercontent.com/u/1749891?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkalaucirica","html_url":"https://github.com/gorkalaucirica","followers_url":"https://api.github.com/users/gorkalaucirica/followers","following_url":"https://api.github.com/users/gorkalaucirica/following{/other_user}","gists_url":"https://api.github.com/users/gorkalaucirica/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkalaucirica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkalaucirica/subscriptions","organizations_url":"https://api.github.com/users/gorkalaucirica/orgs","repos_url":"https://api.github.com/users/gorkalaucirica/repos","events_url":"https://api.github.com/users/gorkalaucirica/events{/privacy}","received_events_url":"https://api.github.com/users/gorkalaucirica/received_events","type":"User","site_admin":false},"body":"Maybe we can add this in `it_is_initializable`, WDYT?","created_at":"2016-10-10T14:37:10Z","updated_at":"2016-10-10T14:37:19Z","html_url":"https://github.com/kreta/kreta/pull/131#discussion_r82616484","pull_request_url":"https://api.github.com/repos/kreta/kreta/pulls/131","_links":{"self":{"href":"https://api.github.com/repos/kreta/kreta/pulls/comments/82616484"},"html":{"href":"https://github.com/kreta/kreta/pull/131#discussion_r82616484"},"pull_request":{"href":"https://api.github.com/repos/kreta/kreta/pulls/131"}}},"pull_request":{"url":"https://api.github.com/repos/kreta/kreta/pulls/131","id":88594983,"html_url":"https://github.com/kreta/kreta/pull/131","diff_url":"https://github.com/kreta/kreta/pull/131.diff","patch_url":"https://github.com/kreta/kreta/pull/131.patch","issue_url":"https://api.github.com/repos/kreta/kreta/issues/131","number":131,"state":"open","locked":false,"title":"Added organization creation application service","user":{"login":"benatespina","id":3951376,"avatar_url":"https://avatars.githubusercontent.com/u/3951376?v=3","gravatar_id":"","url":"https://api.github.com/users/benatespina","html_url":"https://github.com/benatespina","followers_url":"https://api.github.com/users/benatespina/followers","following_url":"https://api.github.com/users/benatespina/following{/other_user}","gists_url":"https://api.github.com/users/benatespina/gists{/gist_id}","starred_url":"https://api.github.com/users/benatespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benatespina/subscriptions","organizations_url":"https://api.github.com/users/benatespina/orgs","repos_url":"https://api.github.com/users/benatespina/repos","events_url":"https://api.github.com/users/benatespina/events{/privacy}","received_events_url":"https://api.github.com/users/benatespina/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #124\r\n| License       | MIT\r\n| Doc PR        | no\r\n\r\n","created_at":"2016-10-09T21:15:46Z","updated_at":"2016-10-10T14:42:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f5bf73a1dce99fcd41a21fbef0f678cbe1afcdd","assignee":{"login":"gorkalaucirica","id":1749891,"avatar_url":"https://avatars.githubusercontent.com/u/1749891?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkalaucirica","html_url":"https://github.com/gorkalaucirica","followers_url":"https://api.github.com/users/gorkalaucirica/followers","following_url":"https://api.github.com/users/gorkalaucirica/following{/other_user}","gists_url":"https://api.github.com/users/gorkalaucirica/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkalaucirica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkalaucirica/subscriptions","organizations_url":"https://api.github.com/users/gorkalaucirica/orgs","repos_url":"https://api.github.com/users/gorkalaucirica/repos","events_url":"https://api.github.com/users/gorkalaucirica/events{/privacy}","received_events_url":"https://api.github.com/users/gorkalaucirica/received_events","type":"User","site_admin":false},"assignees":[{"login":"gorkalaucirica","id":1749891,"avatar_url":"https://avatars.githubusercontent.com/u/1749891?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkalaucirica","html_url":"https://github.com/gorkalaucirica","followers_url":"https://api.github.com/users/gorkalaucirica/followers","following_url":"https://api.github.com/users/gorkalaucirica/following{/other_user}","gists_url":"https://api.github.com/users/gorkalaucirica/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkalaucirica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkalaucirica/subscriptions","organizations_url":"https://api.github.com/users/gorkalaucirica/orgs","repos_url":"https://api.github.com/users/gorkalaucirica/repos","events_url":"https://api.github.com/users/gorkalaucirica/events{/privacy}","received_events_url":"https://api.github.com/users/gorkalaucirica/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kreta/kreta/pulls/131/commits","review_comments_url":"https://api.github.com/repos/kreta/kreta/pulls/131/comments","review_comment_url":"https://api.github.com/repos/kreta/kreta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kreta/kreta/issues/131/comments","statuses_url":"https://api.github.com/repos/kreta/kreta/statuses/aeb2b5070619636d9094c055b97ae4760b285287","head":{"label":"kreta:feature/application-create-organization","ref":"feature/application-create-organization","sha":"aeb2b5070619636d9094c055b97ae4760b285287","user":{"login":"kreta","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta","html_url":"https://github.com/kreta","followers_url":"https://api.github.com/users/kreta/followers","following_url":"https://api.github.com/users/kreta/following{/other_user}","gists_url":"https://api.github.com/users/kreta/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta/subscriptions","organizations_url":"https://api.github.com/users/kreta/orgs","repos_url":"https://api.github.com/users/kreta/repos","events_url":"https://api.github.com/users/kreta/events{/privacy}","received_events_url":"https://api.github.com/users/kreta/received_events","type":"Organization","site_admin":false},"repo":{"id":25040658,"name":"kreta","full_name":"kreta/kreta","owner":{"login":"kreta","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta","html_url":"https://github.com/kreta","followers_url":"https://api.github.com/users/kreta/followers","following_url":"https://api.github.com/users/kreta/following{/other_user}","gists_url":"https://api.github.com/users/kreta/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta/subscriptions","organizations_url":"https://api.github.com/users/kreta/orgs","repos_url":"https://api.github.com/users/kreta/repos","events_url":"https://api.github.com/users/kreta/events{/privacy}","received_events_url":"https://api.github.com/users/kreta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kreta/kreta","description":"Modern project management solution","fork":false,"url":"https://api.github.com/repos/kreta/kreta","forks_url":"https://api.github.com/repos/kreta/kreta/forks","keys_url":"https://api.github.com/repos/kreta/kreta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreta/kreta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreta/kreta/teams","hooks_url":"https://api.github.com/repos/kreta/kreta/hooks","issue_events_url":"https://api.github.com/repos/kreta/kreta/issues/events{/number}","events_url":"https://api.github.com/repos/kreta/kreta/events","assignees_url":"https://api.github.com/repos/kreta/kreta/assignees{/user}","branches_url":"https://api.github.com/repos/kreta/kreta/branches{/branch}","tags_url":"https://api.github.com/repos/kreta/kreta/tags","blobs_url":"https://api.github.com/repos/kreta/kreta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreta/kreta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreta/kreta/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreta/kreta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreta/kreta/statuses/{sha}","languages_url":"https://api.github.com/repos/kreta/kreta/languages","stargazers_url":"https://api.github.com/repos/kreta/kreta/stargazers","contributors_url":"https://api.github.com/repos/kreta/kreta/contributors","subscribers_url":"https://api.github.com/repos/kreta/kreta/subscribers","subscription_url":"https://api.github.com/repos/kreta/kreta/subscription","commits_url":"https://api.github.com/repos/kreta/kreta/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreta/kreta/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreta/kreta/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreta/kreta/issues/comments{/number}","contents_url":"https://api.github.com/repos/kreta/kreta/contents/{+path}","compare_url":"https://api.github.com/repos/kreta/kreta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreta/kreta/merges","archive_url":"https://api.github.com/repos/kreta/kreta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreta/kreta/downloads","issues_url":"https://api.github.com/repos/kreta/kreta/issues{/number}","pulls_url":"https://api.github.com/repos/kreta/kreta/pulls{/number}","milestones_url":"https://api.github.com/repos/kreta/kreta/milestones{/number}","notifications_url":"https://api.github.com/repos/kreta/kreta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreta/kreta/labels{/name}","releases_url":"https://api.github.com/repos/kreta/kreta/releases{/id}","deployments_url":"https://api.github.com/repos/kreta/kreta/deployments","created_at":"2014-10-10T15:08:10Z","updated_at":"2016-09-08T20:22:22Z","pushed_at":"2016-10-09T21:17:42Z","git_url":"git://github.com/kreta/kreta.git","ssh_url":"git@github.com:kreta/kreta.git","clone_url":"https://github.com/kreta/kreta.git","svn_url":"https://github.com/kreta/kreta","homepage":"http://demo.kreta.io","size":7930,"stargazers_count":31,"watchers_count":31,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":31,"default_branch":"master"}},"base":{"label":"kreta:master","ref":"master","sha":"ce9b811e2a600282eda9977eedf37bf054725c69","user":{"login":"kreta","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta","html_url":"https://github.com/kreta","followers_url":"https://api.github.com/users/kreta/followers","following_url":"https://api.github.com/users/kreta/following{/other_user}","gists_url":"https://api.github.com/users/kreta/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta/subscriptions","organizations_url":"https://api.github.com/users/kreta/orgs","repos_url":"https://api.github.com/users/kreta/repos","events_url":"https://api.github.com/users/kreta/events{/privacy}","received_events_url":"https://api.github.com/users/kreta/received_events","type":"Organization","site_admin":false},"repo":{"id":25040658,"name":"kreta","full_name":"kreta/kreta","owner":{"login":"kreta","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta","html_url":"https://github.com/kreta","followers_url":"https://api.github.com/users/kreta/followers","following_url":"https://api.github.com/users/kreta/following{/other_user}","gists_url":"https://api.github.com/users/kreta/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta/subscriptions","organizations_url":"https://api.github.com/users/kreta/orgs","repos_url":"https://api.github.com/users/kreta/repos","events_url":"https://api.github.com/users/kreta/events{/privacy}","received_events_url":"https://api.github.com/users/kreta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kreta/kreta","description":"Modern project management solution","fork":false,"url":"https://api.github.com/repos/kreta/kreta","forks_url":"https://api.github.com/repos/kreta/kreta/forks","keys_url":"https://api.github.com/repos/kreta/kreta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreta/kreta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreta/kreta/teams","hooks_url":"https://api.github.com/repos/kreta/kreta/hooks","issue_events_url":"https://api.github.com/repos/kreta/kreta/issues/events{/number}","events_url":"https://api.github.com/repos/kreta/kreta/events","assignees_url":"https://api.github.com/repos/kreta/kreta/assignees{/user}","branches_url":"https://api.github.com/repos/kreta/kreta/branches{/branch}","tags_url":"https://api.github.com/repos/kreta/kreta/tags","blobs_url":"https://api.github.com/repos/kreta/kreta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreta/kreta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreta/kreta/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreta/kreta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreta/kreta/statuses/{sha}","languages_url":"https://api.github.com/repos/kreta/kreta/languages","stargazers_url":"https://api.github.com/repos/kreta/kreta/stargazers","contributors_url":"https://api.github.com/repos/kreta/kreta/contributors","subscribers_url":"https://api.github.com/repos/kreta/kreta/subscribers","subscription_url":"https://api.github.com/repos/kreta/kreta/subscription","commits_url":"https://api.github.com/repos/kreta/kreta/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreta/kreta/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreta/kreta/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreta/kreta/issues/comments{/number}","contents_url":"https://api.github.com/repos/kreta/kreta/contents/{+path}","compare_url":"https://api.github.com/repos/kreta/kreta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreta/kreta/merges","archive_url":"https://api.github.com/repos/kreta/kreta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreta/kreta/downloads","issues_url":"https://api.github.com/repos/kreta/kreta/issues{/number}","pulls_url":"https://api.github.com/repos/kreta/kreta/pulls{/number}","milestones_url":"https://api.github.com/repos/kreta/kreta/milestones{/number}","notifications_url":"https://api.github.com/repos/kreta/kreta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreta/kreta/labels{/name}","releases_url":"https://api.github.com/repos/kreta/kreta/releases{/id}","deployments_url":"https://api.github.com/repos/kreta/kreta/deployments","created_at":"2014-10-10T15:08:10Z","updated_at":"2016-09-08T20:22:22Z","pushed_at":"2016-10-09T21:17:42Z","git_url":"git://github.com/kreta/kreta.git","ssh_url":"git@github.com:kreta/kreta.git","clone_url":"https://github.com/kreta/kreta.git","svn_url":"https://github.com/kreta/kreta","homepage":"http://demo.kreta.io","size":7930,"stargazers_count":31,"watchers_count":31,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kreta/kreta/pulls/131"},"html":{"href":"https://github.com/kreta/kreta/pull/131"},"issue":{"href":"https://api.github.com/repos/kreta/kreta/issues/131"},"comments":{"href":"https://api.github.com/repos/kreta/kreta/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/kreta/kreta/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/kreta/kreta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kreta/kreta/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/kreta/kreta/statuses/aeb2b5070619636d9094c055b97ae4760b285287"}}}}
{"actor":{"display_login":"gorkalaucirica"}}