{"action":"created","comment":{"url":"https://api.github.com/repos/genkgo/camt/pulls/comments/76944772","id":76944772,"diff_hunk":"@@ -229,4 +229,39 @@ public function testRelatedParties()\n             }\n         }\n     }\n+\n+    public function testProprietaryBankTransactionCode()\n+    {\n+        $messages = [\n+            $this->getV2Message()\n+        ];\n+\n+        foreach ($messages as $message) {\n+            $reports = $message->getRecords();\n+\n+            $this->assertCount(1, $reports);\n+            foreach ($reports as $report) {\n+                $entries = $report->getEntries();\n+                $this->assertCount(1, $entries);\n+\n+                /** @var DTO\\Entry $entry */\n+                foreach ($entries as $entry) {\n+                    $this->assertInstanceOf(DTO\\BankTransactionCode::class, $entry->getBankTransactionCode());\n+                    $this->assertInstanceOf(DTO\\ProprietaryBankTransactionCode::class, $entry->getBankTransactionCode()->getProprietary());\n+\n+                    $this->assertEquals('XXXX+000+0000+000', $entry->getBankTransactionCode()->getProprietary()->getCode());\n+                    $this->assertEquals('ZKA', $entry->getBankTransactionCode()->getProprietary()->getIssuer());\n+\n+                    $this->assertCount(1, $entry->getTransactionDetails());\n+                    foreach($entry->getTransactionDetails() as $details) {\n+                        $this->assertInstanceOf(DTO\\BankTransactionCode::class, $details->getBankTransactionCode());\n+                        $this->assertInstanceOf(DTO\\ProprietaryBankTransactionCode::class, $details->getBankTransactionCode()->getProprietary());\n+\n+                    $this->assertEquals('XXXX+000+0000+000', $details->getBankTransactionCode()->getProprietary()->getCode());","path":"tests/Unit/Camt052/EndToEndTest.php","position":32,"original_position":32,"commit_id":"ba8b3c48539f38cb47c256783a22ce6f170a1848","original_commit_id":"ba8b3c48539f38cb47c256783a22ce6f170a1848","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":"bad indent","created_at":"2016-08-31T08:27:57Z","updated_at":"2016-08-31T08:27:57Z","html_url":"https://github.com/genkgo/camt/pull/31#discussion_r76944772","pull_request_url":"https://api.github.com/repos/genkgo/camt/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/genkgo/camt/pulls/comments/76944772"},"html":{"href":"https://github.com/genkgo/camt/pull/31#discussion_r76944772"},"pull_request":{"href":"https://api.github.com/repos/genkgo/camt/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/genkgo/camt/pulls/31","id":83084008,"html_url":"https://github.com/genkgo/camt/pull/31","diff_url":"https://github.com/genkgo/camt/pull/31.diff","patch_url":"https://github.com/genkgo/camt/pull/31.patch","issue_url":"https://api.github.com/repos/genkgo/camt/issues/31","number":31,"state":"open","locked":false,"title":"Add ProprietaryBankTransactionCode <BkTxCd>.<Prtry> to the entry","user":{"login":"bdudelsack","id":3631456,"avatar_url":"https://avatars.githubusercontent.com/u/3631456?v=3","gravatar_id":"","url":"https://api.github.com/users/bdudelsack","html_url":"https://github.com/bdudelsack","followers_url":"https://api.github.com/users/bdudelsack/followers","following_url":"https://api.github.com/users/bdudelsack/following{/other_user}","gists_url":"https://api.github.com/users/bdudelsack/gists{/gist_id}","starred_url":"https://api.github.com/users/bdudelsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdudelsack/subscriptions","organizations_url":"https://api.github.com/users/bdudelsack/orgs","repos_url":"https://api.github.com/users/bdudelsack/repos","events_url":"https://api.github.com/users/bdudelsack/events{/privacy}","received_events_url":"https://api.github.com/users/bdudelsack/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-29T11:30:29Z","updated_at":"2016-08-31T08:27:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35dd9ec6a2da79c8112e8d0854bfe402754fa2b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/genkgo/camt/pulls/31/commits","review_comments_url":"https://api.github.com/repos/genkgo/camt/pulls/31/comments","review_comment_url":"https://api.github.com/repos/genkgo/camt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/genkgo/camt/issues/31/comments","statuses_url":"https://api.github.com/repos/genkgo/camt/statuses/ba8b3c48539f38cb47c256783a22ce6f170a1848","head":{"label":"bdudelsack:bank-transaction-code","ref":"bank-transaction-code","sha":"ba8b3c48539f38cb47c256783a22ce6f170a1848","user":{"login":"bdudelsack","id":3631456,"avatar_url":"https://avatars.githubusercontent.com/u/3631456?v=3","gravatar_id":"","url":"https://api.github.com/users/bdudelsack","html_url":"https://github.com/bdudelsack","followers_url":"https://api.github.com/users/bdudelsack/followers","following_url":"https://api.github.com/users/bdudelsack/following{/other_user}","gists_url":"https://api.github.com/users/bdudelsack/gists{/gist_id}","starred_url":"https://api.github.com/users/bdudelsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdudelsack/subscriptions","organizations_url":"https://api.github.com/users/bdudelsack/orgs","repos_url":"https://api.github.com/users/bdudelsack/repos","events_url":"https://api.github.com/users/bdudelsack/events{/privacy}","received_events_url":"https://api.github.com/users/bdudelsack/received_events","type":"User","site_admin":false},"repo":{"id":66653707,"name":"camt","full_name":"bdudelsack/camt","owner":{"login":"bdudelsack","id":3631456,"avatar_url":"https://avatars.githubusercontent.com/u/3631456?v=3","gravatar_id":"","url":"https://api.github.com/users/bdudelsack","html_url":"https://github.com/bdudelsack","followers_url":"https://api.github.com/users/bdudelsack/followers","following_url":"https://api.github.com/users/bdudelsack/following{/other_user}","gists_url":"https://api.github.com/users/bdudelsack/gists{/gist_id}","starred_url":"https://api.github.com/users/bdudelsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdudelsack/subscriptions","organizations_url":"https://api.github.com/users/bdudelsack/orgs","repos_url":"https://api.github.com/users/bdudelsack/repos","events_url":"https://api.github.com/users/bdudelsack/events{/privacy}","received_events_url":"https://api.github.com/users/bdudelsack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdudelsack/camt","description":"PHP Parser for CAMT messages","fork":true,"url":"https://api.github.com/repos/bdudelsack/camt","forks_url":"https://api.github.com/repos/bdudelsack/camt/forks","keys_url":"https://api.github.com/repos/bdudelsack/camt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdudelsack/camt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdudelsack/camt/teams","hooks_url":"https://api.github.com/repos/bdudelsack/camt/hooks","issue_events_url":"https://api.github.com/repos/bdudelsack/camt/issues/events{/number}","events_url":"https://api.github.com/repos/bdudelsack/camt/events","assignees_url":"https://api.github.com/repos/bdudelsack/camt/assignees{/user}","branches_url":"https://api.github.com/repos/bdudelsack/camt/branches{/branch}","tags_url":"https://api.github.com/repos/bdudelsack/camt/tags","blobs_url":"https://api.github.com/repos/bdudelsack/camt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdudelsack/camt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdudelsack/camt/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdudelsack/camt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdudelsack/camt/statuses/{sha}","languages_url":"https://api.github.com/repos/bdudelsack/camt/languages","stargazers_url":"https://api.github.com/repos/bdudelsack/camt/stargazers","contributors_url":"https://api.github.com/repos/bdudelsack/camt/contributors","subscribers_url":"https://api.github.com/repos/bdudelsack/camt/subscribers","subscription_url":"https://api.github.com/repos/bdudelsack/camt/subscription","commits_url":"https://api.github.com/repos/bdudelsack/camt/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdudelsack/camt/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdudelsack/camt/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdudelsack/camt/issues/comments{/number}","contents_url":"https://api.github.com/repos/bdudelsack/camt/contents/{+path}","compare_url":"https://api.github.com/repos/bdudelsack/camt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdudelsack/camt/merges","archive_url":"https://api.github.com/repos/bdudelsack/camt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdudelsack/camt/downloads","issues_url":"https://api.github.com/repos/bdudelsack/camt/issues{/number}","pulls_url":"https://api.github.com/repos/bdudelsack/camt/pulls{/number}","milestones_url":"https://api.github.com/repos/bdudelsack/camt/milestones{/number}","notifications_url":"https://api.github.com/repos/bdudelsack/camt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdudelsack/camt/labels{/name}","releases_url":"https://api.github.com/repos/bdudelsack/camt/releases{/id}","deployments_url":"https://api.github.com/repos/bdudelsack/camt/deployments","created_at":"2016-08-26T14:24:48Z","updated_at":"2016-08-26T14:24:49Z","pushed_at":"2016-08-31T07:47:26Z","git_url":"git://github.com/bdudelsack/camt.git","ssh_url":"git@github.com:bdudelsack/camt.git","clone_url":"https://github.com/bdudelsack/camt.git","svn_url":"https://github.com/bdudelsack/camt","homepage":"","size":212,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"genkgo:master","ref":"master","sha":"03eab32559f5baf80cafe857497a289f431d7fba","user":{"login":"genkgo","id":4599771,"avatar_url":"https://avatars.githubusercontent.com/u/4599771?v=3","gravatar_id":"","url":"https://api.github.com/users/genkgo","html_url":"https://github.com/genkgo","followers_url":"https://api.github.com/users/genkgo/followers","following_url":"https://api.github.com/users/genkgo/following{/other_user}","gists_url":"https://api.github.com/users/genkgo/gists{/gist_id}","starred_url":"https://api.github.com/users/genkgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genkgo/subscriptions","organizations_url":"https://api.github.com/users/genkgo/orgs","repos_url":"https://api.github.com/users/genkgo/repos","events_url":"https://api.github.com/users/genkgo/events{/privacy}","received_events_url":"https://api.github.com/users/genkgo/received_events","type":"Organization","site_admin":false},"repo":{"id":32018799,"name":"camt","full_name":"genkgo/camt","owner":{"login":"genkgo","id":4599771,"avatar_url":"https://avatars.githubusercontent.com/u/4599771?v=3","gravatar_id":"","url":"https://api.github.com/users/genkgo","html_url":"https://github.com/genkgo","followers_url":"https://api.github.com/users/genkgo/followers","following_url":"https://api.github.com/users/genkgo/following{/other_user}","gists_url":"https://api.github.com/users/genkgo/gists{/gist_id}","starred_url":"https://api.github.com/users/genkgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genkgo/subscriptions","organizations_url":"https://api.github.com/users/genkgo/orgs","repos_url":"https://api.github.com/users/genkgo/repos","events_url":"https://api.github.com/users/genkgo/events{/privacy}","received_events_url":"https://api.github.com/users/genkgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/genkgo/camt","description":"PHP Parser for CAMT messages","fork":false,"url":"https://api.github.com/repos/genkgo/camt","forks_url":"https://api.github.com/repos/genkgo/camt/forks","keys_url":"https://api.github.com/repos/genkgo/camt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genkgo/camt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genkgo/camt/teams","hooks_url":"https://api.github.com/repos/genkgo/camt/hooks","issue_events_url":"https://api.github.com/repos/genkgo/camt/issues/events{/number}","events_url":"https://api.github.com/repos/genkgo/camt/events","assignees_url":"https://api.github.com/repos/genkgo/camt/assignees{/user}","branches_url":"https://api.github.com/repos/genkgo/camt/branches{/branch}","tags_url":"https://api.github.com/repos/genkgo/camt/tags","blobs_url":"https://api.github.com/repos/genkgo/camt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genkgo/camt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genkgo/camt/git/refs{/sha}","trees_url":"https://api.github.com/repos/genkgo/camt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genkgo/camt/statuses/{sha}","languages_url":"https://api.github.com/repos/genkgo/camt/languages","stargazers_url":"https://api.github.com/repos/genkgo/camt/stargazers","contributors_url":"https://api.github.com/repos/genkgo/camt/contributors","subscribers_url":"https://api.github.com/repos/genkgo/camt/subscribers","subscription_url":"https://api.github.com/repos/genkgo/camt/subscription","commits_url":"https://api.github.com/repos/genkgo/camt/commits{/sha}","git_commits_url":"https://api.github.com/repos/genkgo/camt/git/commits{/sha}","comments_url":"https://api.github.com/repos/genkgo/camt/comments{/number}","issue_comment_url":"https://api.github.com/repos/genkgo/camt/issues/comments{/number}","contents_url":"https://api.github.com/repos/genkgo/camt/contents/{+path}","compare_url":"https://api.github.com/repos/genkgo/camt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genkgo/camt/merges","archive_url":"https://api.github.com/repos/genkgo/camt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genkgo/camt/downloads","issues_url":"https://api.github.com/repos/genkgo/camt/issues{/number}","pulls_url":"https://api.github.com/repos/genkgo/camt/pulls{/number}","milestones_url":"https://api.github.com/repos/genkgo/camt/milestones{/number}","notifications_url":"https://api.github.com/repos/genkgo/camt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genkgo/camt/labels{/name}","releases_url":"https://api.github.com/repos/genkgo/camt/releases{/id}","deployments_url":"https://api.github.com/repos/genkgo/camt/deployments","created_at":"2015-03-11T13:23:11Z","updated_at":"2016-08-28T11:34:27Z","pushed_at":"2016-08-31T07:47:26Z","git_url":"git://github.com/genkgo/camt.git","ssh_url":"git@github.com:genkgo/camt.git","clone_url":"https://github.com/genkgo/camt.git","svn_url":"https://github.com/genkgo/camt","homepage":"","size":206,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":3,"forks":12,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/genkgo/camt/pulls/31"},"html":{"href":"https://github.com/genkgo/camt/pull/31"},"issue":{"href":"https://api.github.com/repos/genkgo/camt/issues/31"},"comments":{"href":"https://api.github.com/repos/genkgo/camt/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/genkgo/camt/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/genkgo/camt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/genkgo/camt/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/genkgo/camt/statuses/ba8b3c48539f38cb47c256783a22ce6f170a1848"}}}}
{"actor":{"display_login":"Einenlum"}}