{"action":"created","issue":{"url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/106","repository_url":"https://api.github.com/repos/Yomguithereal/kotatsu","labels_url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/106/comments","events_url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/106/events","html_url":"https://github.com/Yomguithereal/kotatsu/pull/106","id":135104400,"number":106,"title":"Added copying of headers","user":{"login":"christianalfoni","id":3956929,"avatar_url":"https://avatars.githubusercontent.com/u/3956929?v=3","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yomguithereal/kotatsu/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-20T17:33:21Z","updated_at":"2016-02-22T11:04:21Z","closed_at":"2016-02-22T11:04:02Z","pull_request":{"url":"https://api.github.com/repos/Yomguithereal/kotatsu/pulls/106","html_url":"https://github.com/Yomguithereal/kotatsu/pull/106","diff_url":"https://github.com/Yomguithereal/kotatsu/pull/106.diff","patch_url":"https://github.com/Yomguithereal/kotatsu/pull/106.patch"},"body":"I created new files with the methods doing the copying, but I was unsure how to write the tests? I would suggest just mocking the args here and make sure that the methods are called as they are supposed to. But yeah, was not sure. Tested it on our project though :-)"},"comment":{"url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/comments/187125355","html_url":"https://github.com/Yomguithereal/kotatsu/pull/106#issuecomment-187125355","issue_url":"https://api.github.com/repos/Yomguithereal/kotatsu/issues/106","id":187125355,"user":{"login":"Yomguithereal","id":2571951,"avatar_url":"https://avatars.githubusercontent.com/u/2571951?v=3","gravatar_id":"","url":"https://api.github.com/users/Yomguithereal","html_url":"https://github.com/Yomguithereal","followers_url":"https://api.github.com/users/Yomguithereal/followers","following_url":"https://api.github.com/users/Yomguithereal/following{/other_user}","gists_url":"https://api.github.com/users/Yomguithereal/gists{/gist_id}","starred_url":"https://api.github.com/users/Yomguithereal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yomguithereal/subscriptions","organizations_url":"https://api.github.com/users/Yomguithereal/orgs","repos_url":"https://api.github.com/users/Yomguithereal/repos","events_url":"https://api.github.com/users/Yomguithereal/events{/privacy}","received_events_url":"https://api.github.com/users/Yomguithereal/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T11:04:21Z","updated_at":"2016-02-22T11:04:21Z","body":"I don't have a precise way to test. Can't find the proper way to test such a tool."}}