{"action":"created","comment":{"url":"https://api.github.com/repos/Djeg/Minibus/pulls/comments/37423554","id":37423554,"diff_hunk":"@@ -0,0 +1,62 @@\n+Feature: Play with lines\n+    In order to handle complex actions\n+    I should be able to create and handle a minibus with a line\n+\n+    Scenario: Successfully handle a basic minibus line\n+        Given I create 2 basic stations\n+        And I create a minibus\n+        And I create a line instance\n+        When I add the stations inside the line\n+        Then I should be able to lead the minibus thrue the lines\n+        And my minibus should contains the following passengers:\n+            | basic       |\n+            | other_basic |\n+\n+    Scenario: Successfully add a terminus to a line\n+        Given I create 2 basic stations\n+        And I create a minibus\n+        And I create a line instance\n+        And I create a useless terminus\n+        When I add the stations inside the line\n+        And I add the terminus to the line\n+        Then I should get \"useless\" when i lead the minibus\n+        And my minibus should contains the following passengers:\n+            | basic       |\n+            | other_basic |\n+\n+    Scenario: Successfully handle configuration station and terminus\n+        Given I create a configurable station\n+        And I create a minibus\n+        And I create a configurable terminus\n+        And I create a line instance\n+        When I add the station inside the line with the configuration:\n+            | plop | something |\n+        And I add the terminus to the line with the following configuration:\n+            | must_return | test |\n+        Then I should get \"test\" when i lead the minibus\n+        And my minibus should contains the following passengers:\n+            | plop |\n+\n+    Scenario: Successfully hook a line with events\n+        Given I create 2 basic stations\n+        And I create a minibus\n+        And I create a line with some events\n+        When I add the stations inside the line\n+        Then I should be able to lead the minibus thrue the lines\n+        And my minibus should contains the following passengers:","path":"features/play-with-lines.feature","position":46,"original_position":46,"commit_id":"844e7e500e3d352d65656e5e2961db5506cb012a","original_commit_id":"844e7e500e3d352d65656e5e2961db5506cb012a","user":{"login":"Einenlum","id":5675200,"avatar_url":"https://avatars.githubusercontent.com/u/5675200?v=3","gravatar_id":"","url":"https://api.github.com/users/Einenlum","html_url":"https://github.com/Einenlum","followers_url":"https://api.github.com/users/Einenlum/followers","following_url":"https://api.github.com/users/Einenlum/following{/other_user}","gists_url":"https://api.github.com/users/Einenlum/gists{/gist_id}","starred_url":"https://api.github.com/users/Einenlum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Einenlum/subscriptions","organizations_url":"https://api.github.com/users/Einenlum/orgs","repos_url":"https://api.github.com/users/Einenlum/repos","events_url":"https://api.github.com/users/Einenlum/events{/privacy}","received_events_url":"https://api.github.com/users/Einenlum/received_events","type":"User","site_admin":false},"body":"![image](https://cloud.githubusercontent.com/assets/5675200/9359679/a14f8f7e-4692-11e5-83e4-ff836186ba07.jpeg)\r\n","created_at":"2015-08-19T14:52:11Z","updated_at":"2015-08-19T14:52:11Z","html_url":"https://github.com/Djeg/Minibus/pull/5#discussion_r37423554","pull_request_url":"https://api.github.com/repos/Djeg/Minibus/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/comments/37423554"},"html":{"href":"https://github.com/Djeg/Minibus/pull/5#discussion_r37423554"},"pull_request":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Djeg/Minibus/pulls/5","id":42821490,"html_url":"https://github.com/Djeg/Minibus/pull/5","diff_url":"https://github.com/Djeg/Minibus/pull/5.diff","patch_url":"https://github.com/Djeg/Minibus/pull/5.patch","issue_url":"https://api.github.com/repos/Djeg/Minibus/issues/5","number":5,"state":"open","locked":false,"title":"Add behat tests","user":{"login":"Djeg","id":1638230,"avatar_url":"https://avatars.githubusercontent.com/u/1638230?v=3","gravatar_id":"","url":"https://api.github.com/users/Djeg","html_url":"https://github.com/Djeg","followers_url":"https://api.github.com/users/Djeg/followers","following_url":"https://api.github.com/users/Djeg/following{/other_user}","gists_url":"https://api.github.com/users/Djeg/gists{/gist_id}","starred_url":"https://api.github.com/users/Djeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djeg/subscriptions","organizations_url":"https://api.github.com/users/Djeg/orgs","repos_url":"https://api.github.com/users/Djeg/repos","events_url":"https://api.github.com/users/Djeg/events{/privacy}","received_events_url":"https://api.github.com/users/Djeg/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-19T14:33:45Z","updated_at":"2015-08-19T14:52:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca14fb0970fc43c7a4d7e464683c597443fe1b7c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Djeg/Minibus/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Djeg/Minibus/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Djeg/Minibus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Djeg/Minibus/issues/5/comments","statuses_url":"https://api.github.com/repos/Djeg/Minibus/statuses/844e7e500e3d352d65656e5e2961db5506cb012a","head":{"label":"Djeg:feature/behat-tests","ref":"feature/behat-tests","sha":"844e7e500e3d352d65656e5e2961db5506cb012a","user":{"login":"Djeg","id":1638230,"avatar_url":"https://avatars.githubusercontent.com/u/1638230?v=3","gravatar_id":"","url":"https://api.github.com/users/Djeg","html_url":"https://github.com/Djeg","followers_url":"https://api.github.com/users/Djeg/followers","following_url":"https://api.github.com/users/Djeg/following{/other_user}","gists_url":"https://api.github.com/users/Djeg/gists{/gist_id}","starred_url":"https://api.github.com/users/Djeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djeg/subscriptions","organizations_url":"https://api.github.com/users/Djeg/orgs","repos_url":"https://api.github.com/users/Djeg/repos","events_url":"https://api.github.com/users/Djeg/events{/privacy}","received_events_url":"https://api.github.com/users/Djeg/received_events","type":"User","site_admin":false},"repo":{"id":25732855,"name":"Minibus","full_name":"Djeg/Minibus","owner":{"login":"Djeg","id":1638230,"avatar_url":"https://avatars.githubusercontent.com/u/1638230?v=3","gravatar_id":"","url":"https://api.github.com/users/Djeg","html_url":"https://github.com/Djeg","followers_url":"https://api.github.com/users/Djeg/followers","following_url":"https://api.github.com/users/Djeg/following{/other_user}","gists_url":"https://api.github.com/users/Djeg/gists{/gist_id}","starred_url":"https://api.github.com/users/Djeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djeg/subscriptions","organizations_url":"https://api.github.com/users/Djeg/orgs","repos_url":"https://api.github.com/users/Djeg/repos","events_url":"https://api.github.com/users/Djeg/events{/privacy}","received_events_url":"https://api.github.com/users/Djeg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Djeg/Minibus","description":"A simple and extensible bus library for php.","fork":false,"url":"https://api.github.com/repos/Djeg/Minibus","forks_url":"https://api.github.com/repos/Djeg/Minibus/forks","keys_url":"https://api.github.com/repos/Djeg/Minibus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Djeg/Minibus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Djeg/Minibus/teams","hooks_url":"https://api.github.com/repos/Djeg/Minibus/hooks","issue_events_url":"https://api.github.com/repos/Djeg/Minibus/issues/events{/number}","events_url":"https://api.github.com/repos/Djeg/Minibus/events","assignees_url":"https://api.github.com/repos/Djeg/Minibus/assignees{/user}","branches_url":"https://api.github.com/repos/Djeg/Minibus/branches{/branch}","tags_url":"https://api.github.com/repos/Djeg/Minibus/tags","blobs_url":"https://api.github.com/repos/Djeg/Minibus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Djeg/Minibus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Djeg/Minibus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Djeg/Minibus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Djeg/Minibus/statuses/{sha}","languages_url":"https://api.github.com/repos/Djeg/Minibus/languages","stargazers_url":"https://api.github.com/repos/Djeg/Minibus/stargazers","contributors_url":"https://api.github.com/repos/Djeg/Minibus/contributors","subscribers_url":"https://api.github.com/repos/Djeg/Minibus/subscribers","subscription_url":"https://api.github.com/repos/Djeg/Minibus/subscription","commits_url":"https://api.github.com/repos/Djeg/Minibus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Djeg/Minibus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Djeg/Minibus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Djeg/Minibus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Djeg/Minibus/contents/{+path}","compare_url":"https://api.github.com/repos/Djeg/Minibus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Djeg/Minibus/merges","archive_url":"https://api.github.com/repos/Djeg/Minibus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Djeg/Minibus/downloads","issues_url":"https://api.github.com/repos/Djeg/Minibus/issues{/number}","pulls_url":"https://api.github.com/repos/Djeg/Minibus/pulls{/number}","milestones_url":"https://api.github.com/repos/Djeg/Minibus/milestones{/number}","notifications_url":"https://api.github.com/repos/Djeg/Minibus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Djeg/Minibus/labels{/name}","releases_url":"https://api.github.com/repos/Djeg/Minibus/releases{/id}","created_at":"2014-10-25T13:47:12Z","updated_at":"2015-04-21T14:36:38Z","pushed_at":"2015-08-19T14:33:45Z","git_url":"git://github.com/Djeg/Minibus.git","ssh_url":"git@github.com:Djeg/Minibus.git","clone_url":"https://github.com/Djeg/Minibus.git","svn_url":"https://github.com/Djeg/Minibus","homepage":null,"size":546,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Djeg:master","ref":"master","sha":"dcf5ad2453750aa75bc3ac06a4289ec5a6e408cf","user":{"login":"Djeg","id":1638230,"avatar_url":"https://avatars.githubusercontent.com/u/1638230?v=3","gravatar_id":"","url":"https://api.github.com/users/Djeg","html_url":"https://github.com/Djeg","followers_url":"https://api.github.com/users/Djeg/followers","following_url":"https://api.github.com/users/Djeg/following{/other_user}","gists_url":"https://api.github.com/users/Djeg/gists{/gist_id}","starred_url":"https://api.github.com/users/Djeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djeg/subscriptions","organizations_url":"https://api.github.com/users/Djeg/orgs","repos_url":"https://api.github.com/users/Djeg/repos","events_url":"https://api.github.com/users/Djeg/events{/privacy}","received_events_url":"https://api.github.com/users/Djeg/received_events","type":"User","site_admin":false},"repo":{"id":25732855,"name":"Minibus","full_name":"Djeg/Minibus","owner":{"login":"Djeg","id":1638230,"avatar_url":"https://avatars.githubusercontent.com/u/1638230?v=3","gravatar_id":"","url":"https://api.github.com/users/Djeg","html_url":"https://github.com/Djeg","followers_url":"https://api.github.com/users/Djeg/followers","following_url":"https://api.github.com/users/Djeg/following{/other_user}","gists_url":"https://api.github.com/users/Djeg/gists{/gist_id}","starred_url":"https://api.github.com/users/Djeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djeg/subscriptions","organizations_url":"https://api.github.com/users/Djeg/orgs","repos_url":"https://api.github.com/users/Djeg/repos","events_url":"https://api.github.com/users/Djeg/events{/privacy}","received_events_url":"https://api.github.com/users/Djeg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Djeg/Minibus","description":"A simple and extensible bus library for php.","fork":false,"url":"https://api.github.com/repos/Djeg/Minibus","forks_url":"https://api.github.com/repos/Djeg/Minibus/forks","keys_url":"https://api.github.com/repos/Djeg/Minibus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Djeg/Minibus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Djeg/Minibus/teams","hooks_url":"https://api.github.com/repos/Djeg/Minibus/hooks","issue_events_url":"https://api.github.com/repos/Djeg/Minibus/issues/events{/number}","events_url":"https://api.github.com/repos/Djeg/Minibus/events","assignees_url":"https://api.github.com/repos/Djeg/Minibus/assignees{/user}","branches_url":"https://api.github.com/repos/Djeg/Minibus/branches{/branch}","tags_url":"https://api.github.com/repos/Djeg/Minibus/tags","blobs_url":"https://api.github.com/repos/Djeg/Minibus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Djeg/Minibus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Djeg/Minibus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Djeg/Minibus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Djeg/Minibus/statuses/{sha}","languages_url":"https://api.github.com/repos/Djeg/Minibus/languages","stargazers_url":"https://api.github.com/repos/Djeg/Minibus/stargazers","contributors_url":"https://api.github.com/repos/Djeg/Minibus/contributors","subscribers_url":"https://api.github.com/repos/Djeg/Minibus/subscribers","subscription_url":"https://api.github.com/repos/Djeg/Minibus/subscription","commits_url":"https://api.github.com/repos/Djeg/Minibus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Djeg/Minibus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Djeg/Minibus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Djeg/Minibus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Djeg/Minibus/contents/{+path}","compare_url":"https://api.github.com/repos/Djeg/Minibus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Djeg/Minibus/merges","archive_url":"https://api.github.com/repos/Djeg/Minibus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Djeg/Minibus/downloads","issues_url":"https://api.github.com/repos/Djeg/Minibus/issues{/number}","pulls_url":"https://api.github.com/repos/Djeg/Minibus/pulls{/number}","milestones_url":"https://api.github.com/repos/Djeg/Minibus/milestones{/number}","notifications_url":"https://api.github.com/repos/Djeg/Minibus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Djeg/Minibus/labels{/name}","releases_url":"https://api.github.com/repos/Djeg/Minibus/releases{/id}","created_at":"2014-10-25T13:47:12Z","updated_at":"2015-04-21T14:36:38Z","pushed_at":"2015-08-19T14:33:45Z","git_url":"git://github.com/Djeg/Minibus.git","ssh_url":"git@github.com:Djeg/Minibus.git","clone_url":"https://github.com/Djeg/Minibus.git","svn_url":"https://github.com/Djeg/Minibus","homepage":null,"size":546,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/5"},"html":{"href":"https://github.com/Djeg/Minibus/pull/5"},"issue":{"href":"https://api.github.com/repos/Djeg/Minibus/issues/5"},"comments":{"href":"https://api.github.com/repos/Djeg/Minibus/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Djeg/Minibus/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Djeg/Minibus/statuses/844e7e500e3d352d65656e5e2961db5506cb012a"}}}}