{"action":"created","comment":{"url":"https://api.github.com/repos/adhoclabs/task/pulls/comments/45290500","id":45290500,"diff_hunk":"@@ -0,0 +1,59 @@\n+package co.adhoclabs.task.consumer\n+\n+import java.util.Date\n+\n+import akka.actor.{ ActorRef, Props, ActorSystem, Status }\n+import akka.camel.{ Ack, CamelMessage }\n+import akka.testkit._\n+import co.adhoclabs.task._\n+import co.adhoclabs.task.models.InactivePushToken\n+import org.apache.camel.component.apns.model.InactiveDevice\n+import org.scalatest.{ BeforeAndAfterAll, Matchers, WordSpecLike }\n+\n+class ApnsFeedbackConsumerActorTest extends TestKit(ActorSystem(\"test-system\"))\n+    with Config\n+    with ImplicitSender\n+    with WordSpecLike\n+    with Matchers\n+    with BeforeAndAfterAll {\n+\n+  \"ApnsFeedbackConsumerActorTest\" should {\n+\n+    \"send InactivePushToken message to target actor and pipe reply to self and send Ack to sender\" in withConsumerActor { (consumerActor, targetProbe) ⇒","path":"src/test/scala/co/adhoclabs/task/consumer/ApnsFeedbackConsumerActorTest.scala","position":22,"original_position":22,"commit_id":"1e2167dd198958b69a361f28d15ff15e0863fd96","original_commit_id":"1e2167dd198958b69a361f28d15ff15e0863fd96","user":{"login":"yeghishe","id":1479173,"avatar_url":"https://avatars.githubusercontent.com/u/1479173?v=3","gravatar_id":"","url":"https://api.github.com/users/yeghishe","html_url":"https://github.com/yeghishe","followers_url":"https://api.github.com/users/yeghishe/followers","following_url":"https://api.github.com/users/yeghishe/following{/other_user}","gists_url":"https://api.github.com/users/yeghishe/gists{/gist_id}","starred_url":"https://api.github.com/users/yeghishe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeghishe/subscriptions","organizations_url":"https://api.github.com/users/yeghishe/orgs","repos_url":"https://api.github.com/users/yeghishe/repos","events_url":"https://api.github.com/users/yeghishe/events{/privacy}","received_events_url":"https://api.github.com/users/yeghishe/received_events","type":"User","site_admin":false},"body":"Don't need to be that specific about pipe and reply, not that test can even test it, all it cares is that target actor gets it.","created_at":"2015-11-19T01:52:38Z","updated_at":"2015-11-19T01:52:38Z","html_url":"https://github.com/adhoclabs/task/pull/12#discussion_r45290500","pull_request_url":"https://api.github.com/repos/adhoclabs/task/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/comments/45290500"},"html":{"href":"https://github.com/adhoclabs/task/pull/12#discussion_r45290500"},"pull_request":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/adhoclabs/task/pulls/12","id":51166991,"html_url":"https://github.com/adhoclabs/task/pull/12","diff_url":"https://github.com/adhoclabs/task/pull/12.diff","patch_url":"https://github.com/adhoclabs/task/pull/12.patch","issue_url":"https://api.github.com/repos/adhoclabs/task/issues/12","number":12,"state":"open","locked":false,"title":"Adding support for APNS FB service.","user":{"login":"chromalley","id":293890,"avatar_url":"https://avatars.githubusercontent.com/u/293890?v=3","gravatar_id":"","url":"https://api.github.com/users/chromalley","html_url":"https://github.com/chromalley","followers_url":"https://api.github.com/users/chromalley/followers","following_url":"https://api.github.com/users/chromalley/following{/other_user}","gists_url":"https://api.github.com/users/chromalley/gists{/gist_id}","starred_url":"https://api.github.com/users/chromalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromalley/subscriptions","organizations_url":"https://api.github.com/users/chromalley/orgs","repos_url":"https://api.github.com/users/chromalley/repos","events_url":"https://api.github.com/users/chromalley/events{/privacy}","received_events_url":"https://api.github.com/users/chromalley/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-19T01:09:25Z","updated_at":"2015-11-19T01:52:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d30a4c0b15f106038f767d37f5e690404b914a7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adhoclabs/task/pulls/12/commits","review_comments_url":"https://api.github.com/repos/adhoclabs/task/pulls/12/comments","review_comment_url":"https://api.github.com/repos/adhoclabs/task/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adhoclabs/task/issues/12/comments","statuses_url":"https://api.github.com/repos/adhoclabs/task/statuses/1e2167dd198958b69a361f28d15ff15e0863fd96","head":{"label":"adhoclabs:chromalley.apns_feedback_support","ref":"chromalley.apns_feedback_support","sha":"1e2167dd198958b69a361f28d15ff15e0863fd96","user":{"login":"adhoclabs","id":2192663,"avatar_url":"https://avatars.githubusercontent.com/u/2192663?v=3","gravatar_id":"","url":"https://api.github.com/users/adhoclabs","html_url":"https://github.com/adhoclabs","followers_url":"https://api.github.com/users/adhoclabs/followers","following_url":"https://api.github.com/users/adhoclabs/following{/other_user}","gists_url":"https://api.github.com/users/adhoclabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adhoclabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhoclabs/subscriptions","organizations_url":"https://api.github.com/users/adhoclabs/orgs","repos_url":"https://api.github.com/users/adhoclabs/repos","events_url":"https://api.github.com/users/adhoclabs/events{/privacy}","received_events_url":"https://api.github.com/users/adhoclabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35517742,"name":"task","full_name":"adhoclabs/task","owner":{"login":"adhoclabs","id":2192663,"avatar_url":"https://avatars.githubusercontent.com/u/2192663?v=3","gravatar_id":"","url":"https://api.github.com/users/adhoclabs","html_url":"https://github.com/adhoclabs","followers_url":"https://api.github.com/users/adhoclabs/followers","following_url":"https://api.github.com/users/adhoclabs/following{/other_user}","gists_url":"https://api.github.com/users/adhoclabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adhoclabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhoclabs/subscriptions","organizations_url":"https://api.github.com/users/adhoclabs/orgs","repos_url":"https://api.github.com/users/adhoclabs/repos","events_url":"https://api.github.com/users/adhoclabs/events{/privacy}","received_events_url":"https://api.github.com/users/adhoclabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adhoclabs/task","description":"","fork":false,"url":"https://api.github.com/repos/adhoclabs/task","forks_url":"https://api.github.com/repos/adhoclabs/task/forks","keys_url":"https://api.github.com/repos/adhoclabs/task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adhoclabs/task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adhoclabs/task/teams","hooks_url":"https://api.github.com/repos/adhoclabs/task/hooks","issue_events_url":"https://api.github.com/repos/adhoclabs/task/issues/events{/number}","events_url":"https://api.github.com/repos/adhoclabs/task/events","assignees_url":"https://api.github.com/repos/adhoclabs/task/assignees{/user}","branches_url":"https://api.github.com/repos/adhoclabs/task/branches{/branch}","tags_url":"https://api.github.com/repos/adhoclabs/task/tags","blobs_url":"https://api.github.com/repos/adhoclabs/task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adhoclabs/task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adhoclabs/task/git/refs{/sha}","trees_url":"https://api.github.com/repos/adhoclabs/task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adhoclabs/task/statuses/{sha}","languages_url":"https://api.github.com/repos/adhoclabs/task/languages","stargazers_url":"https://api.github.com/repos/adhoclabs/task/stargazers","contributors_url":"https://api.github.com/repos/adhoclabs/task/contributors","subscribers_url":"https://api.github.com/repos/adhoclabs/task/subscribers","subscription_url":"https://api.github.com/repos/adhoclabs/task/subscription","commits_url":"https://api.github.com/repos/adhoclabs/task/commits{/sha}","git_commits_url":"https://api.github.com/repos/adhoclabs/task/git/commits{/sha}","comments_url":"https://api.github.com/repos/adhoclabs/task/comments{/number}","issue_comment_url":"https://api.github.com/repos/adhoclabs/task/issues/comments{/number}","contents_url":"https://api.github.com/repos/adhoclabs/task/contents/{+path}","compare_url":"https://api.github.com/repos/adhoclabs/task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adhoclabs/task/merges","archive_url":"https://api.github.com/repos/adhoclabs/task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adhoclabs/task/downloads","issues_url":"https://api.github.com/repos/adhoclabs/task/issues{/number}","pulls_url":"https://api.github.com/repos/adhoclabs/task/pulls{/number}","milestones_url":"https://api.github.com/repos/adhoclabs/task/milestones{/number}","notifications_url":"https://api.github.com/repos/adhoclabs/task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adhoclabs/task/labels{/name}","releases_url":"https://api.github.com/repos/adhoclabs/task/releases{/id}","created_at":"2015-05-12T23:30:05Z","updated_at":"2015-09-14T22:41:48Z","pushed_at":"2015-11-19T01:21:27Z","git_url":"git://github.com/adhoclabs/task.git","ssh_url":"git@github.com:adhoclabs/task.git","clone_url":"https://github.com/adhoclabs/task.git","svn_url":"https://github.com/adhoclabs/task","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"adhoclabs:master","ref":"master","sha":"c331832e7993b0f140d605eab18218bfe4f20206","user":{"login":"adhoclabs","id":2192663,"avatar_url":"https://avatars.githubusercontent.com/u/2192663?v=3","gravatar_id":"","url":"https://api.github.com/users/adhoclabs","html_url":"https://github.com/adhoclabs","followers_url":"https://api.github.com/users/adhoclabs/followers","following_url":"https://api.github.com/users/adhoclabs/following{/other_user}","gists_url":"https://api.github.com/users/adhoclabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adhoclabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhoclabs/subscriptions","organizations_url":"https://api.github.com/users/adhoclabs/orgs","repos_url":"https://api.github.com/users/adhoclabs/repos","events_url":"https://api.github.com/users/adhoclabs/events{/privacy}","received_events_url":"https://api.github.com/users/adhoclabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35517742,"name":"task","full_name":"adhoclabs/task","owner":{"login":"adhoclabs","id":2192663,"avatar_url":"https://avatars.githubusercontent.com/u/2192663?v=3","gravatar_id":"","url":"https://api.github.com/users/adhoclabs","html_url":"https://github.com/adhoclabs","followers_url":"https://api.github.com/users/adhoclabs/followers","following_url":"https://api.github.com/users/adhoclabs/following{/other_user}","gists_url":"https://api.github.com/users/adhoclabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adhoclabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhoclabs/subscriptions","organizations_url":"https://api.github.com/users/adhoclabs/orgs","repos_url":"https://api.github.com/users/adhoclabs/repos","events_url":"https://api.github.com/users/adhoclabs/events{/privacy}","received_events_url":"https://api.github.com/users/adhoclabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adhoclabs/task","description":"","fork":false,"url":"https://api.github.com/repos/adhoclabs/task","forks_url":"https://api.github.com/repos/adhoclabs/task/forks","keys_url":"https://api.github.com/repos/adhoclabs/task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adhoclabs/task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adhoclabs/task/teams","hooks_url":"https://api.github.com/repos/adhoclabs/task/hooks","issue_events_url":"https://api.github.com/repos/adhoclabs/task/issues/events{/number}","events_url":"https://api.github.com/repos/adhoclabs/task/events","assignees_url":"https://api.github.com/repos/adhoclabs/task/assignees{/user}","branches_url":"https://api.github.com/repos/adhoclabs/task/branches{/branch}","tags_url":"https://api.github.com/repos/adhoclabs/task/tags","blobs_url":"https://api.github.com/repos/adhoclabs/task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adhoclabs/task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adhoclabs/task/git/refs{/sha}","trees_url":"https://api.github.com/repos/adhoclabs/task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adhoclabs/task/statuses/{sha}","languages_url":"https://api.github.com/repos/adhoclabs/task/languages","stargazers_url":"https://api.github.com/repos/adhoclabs/task/stargazers","contributors_url":"https://api.github.com/repos/adhoclabs/task/contributors","subscribers_url":"https://api.github.com/repos/adhoclabs/task/subscribers","subscription_url":"https://api.github.com/repos/adhoclabs/task/subscription","commits_url":"https://api.github.com/repos/adhoclabs/task/commits{/sha}","git_commits_url":"https://api.github.com/repos/adhoclabs/task/git/commits{/sha}","comments_url":"https://api.github.com/repos/adhoclabs/task/comments{/number}","issue_comment_url":"https://api.github.com/repos/adhoclabs/task/issues/comments{/number}","contents_url":"https://api.github.com/repos/adhoclabs/task/contents/{+path}","compare_url":"https://api.github.com/repos/adhoclabs/task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adhoclabs/task/merges","archive_url":"https://api.github.com/repos/adhoclabs/task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adhoclabs/task/downloads","issues_url":"https://api.github.com/repos/adhoclabs/task/issues{/number}","pulls_url":"https://api.github.com/repos/adhoclabs/task/pulls{/number}","milestones_url":"https://api.github.com/repos/adhoclabs/task/milestones{/number}","notifications_url":"https://api.github.com/repos/adhoclabs/task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adhoclabs/task/labels{/name}","releases_url":"https://api.github.com/repos/adhoclabs/task/releases{/id}","created_at":"2015-05-12T23:30:05Z","updated_at":"2015-09-14T22:41:48Z","pushed_at":"2015-11-19T01:21:27Z","git_url":"git://github.com/adhoclabs/task.git","ssh_url":"git@github.com:adhoclabs/task.git","clone_url":"https://github.com/adhoclabs/task.git","svn_url":"https://github.com/adhoclabs/task","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/12"},"html":{"href":"https://github.com/adhoclabs/task/pull/12"},"issue":{"href":"https://api.github.com/repos/adhoclabs/task/issues/12"},"comments":{"href":"https://api.github.com/repos/adhoclabs/task/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adhoclabs/task/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/adhoclabs/task/statuses/1e2167dd198958b69a361f28d15ff15e0863fd96"}}}}