{"action":"created","issue":{"url":"https://api.github.com/repos/p2/OAuth2/issues/146","repository_url":"https://api.github.com/repos/p2/OAuth2","labels_url":"https://api.github.com/repos/p2/OAuth2/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/p2/OAuth2/issues/146/comments","events_url":"https://api.github.com/repos/p2/OAuth2/issues/146/events","html_url":"https://github.com/p2/OAuth2/issues/146","id":180105508,"number":146,"title":"Update library to be Protocol Oriented ","user":{"login":"cyr-lepottier","id":5039489,"avatar_url":"https://avatars.githubusercontent.com/u/5039489?v=3","gravatar_id":"","url":"https://api.github.com/users/cyr-lepottier","html_url":"https://github.com/cyr-lepottier","followers_url":"https://api.github.com/users/cyr-lepottier/followers","following_url":"https://api.github.com/users/cyr-lepottier/following{/other_user}","gists_url":"https://api.github.com/users/cyr-lepottier/gists{/gist_id}","starred_url":"https://api.github.com/users/cyr-lepottier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyr-lepottier/subscriptions","organizations_url":"https://api.github.com/users/cyr-lepottier/orgs","repos_url":"https://api.github.com/users/cyr-lepottier/repos","events_url":"https://api.github.com/users/cyr-lepottier/events{/privacy}","received_events_url":"https://api.github.com/users/cyr-lepottier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T16:57:05Z","updated_at":"2016-09-29T18:33:24Z","closed_at":null,"body":"Hello,\r\n\r\nThe inclusion of final methods, notably in OAuth2, prevents me from mocking and Unit Testing my project. Since Swift doesn’t have readwrite reflection, subclassing remains the only way to Mock. \r\n\r\nCould the code be updated to use protocols and make the projects that uses the library testable ?\r\n\r\nThanks,\r\nCyril\r\n"},"comment":{"url":"https://api.github.com/repos/p2/OAuth2/issues/comments/250552628","html_url":"https://github.com/p2/OAuth2/issues/146#issuecomment-250552628","issue_url":"https://api.github.com/repos/p2/OAuth2/issues/146","id":250552628,"user":{"login":"p2","id":358485,"avatar_url":"https://avatars.githubusercontent.com/u/358485?v=3","gravatar_id":"","url":"https://api.github.com/users/p2","html_url":"https://github.com/p2","followers_url":"https://api.github.com/users/p2/followers","following_url":"https://api.github.com/users/p2/following{/other_user}","gists_url":"https://api.github.com/users/p2/gists{/gist_id}","starred_url":"https://api.github.com/users/p2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p2/subscriptions","organizations_url":"https://api.github.com/users/p2/orgs","repos_url":"https://api.github.com/users/p2/repos","events_url":"https://api.github.com/users/p2/events{/privacy}","received_events_url":"https://api.github.com/users/p2/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T18:33:23Z","updated_at":"2016-09-29T18:33:23Z","body":"That's a rather broad request. The library uses protocols in many places, what exactly are you unable to test, what do you need changed so you can implement your tests?"}}
{"actor":{"display_login":"p2"}}