{"action":"created","issue":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/62","repository_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php","labels_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/62/comments","events_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/62/events","html_url":"https://github.com/mailjet/mailjet-apiv3-php/issues/62","id":165007230,"number":62,"title":"Mocking Responses","user":{"login":"bretto36","id":6217994,"avatar_url":"https://avatars.githubusercontent.com/u/6217994?v=3","gravatar_id":"","url":"https://api.github.com/users/bretto36","html_url":"https://github.com/bretto36","followers_url":"https://api.github.com/users/bretto36/followers","following_url":"https://api.github.com/users/bretto36/following{/other_user}","gists_url":"https://api.github.com/users/bretto36/gists{/gist_id}","starred_url":"https://api.github.com/users/bretto36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretto36/subscriptions","organizations_url":"https://api.github.com/users/bretto36/orgs","repos_url":"https://api.github.com/users/bretto36/repos","events_url":"https://api.github.com/users/bretto36/events{/privacy}","received_events_url":"https://api.github.com/users/bretto36/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T06:59:56Z","updated_at":"2016-07-12T07:08:51Z","closed_at":null,"body":"I'm trying to write some test cases for the Omnimail library - https://github.com/gabrielbull/omnimail\r\n\r\nI need to pass in some mock responses to the Client to get it to return and process them. I've done a couple of the other gateways using Guzzle MockHandler (but your implementation doesn't use Guzzle)\r\n\r\nAny chance you could build in some sort of Mock system? I'd be willing to do it if you could give some direction on how you'd like it to happen. "},"comment":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/comments/231955831","html_url":"https://github.com/mailjet/mailjet-apiv3-php/issues/62#issuecomment-231955831","issue_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php/issues/62","id":231955831,"user":{"login":"bretto36","id":6217994,"avatar_url":"https://avatars.githubusercontent.com/u/6217994?v=3","gravatar_id":"","url":"https://api.github.com/users/bretto36","html_url":"https://github.com/bretto36","followers_url":"https://api.github.com/users/bretto36/followers","following_url":"https://api.github.com/users/bretto36/following{/other_user}","gists_url":"https://api.github.com/users/bretto36/gists{/gist_id}","starred_url":"https://api.github.com/users/bretto36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretto36/subscriptions","organizations_url":"https://api.github.com/users/bretto36/orgs","repos_url":"https://api.github.com/users/bretto36/repos","events_url":"https://api.github.com/users/bretto36/events{/privacy}","received_events_url":"https://api.github.com/users/bretto36/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T07:08:51Z","updated_at":"2016-07-12T07:08:51Z","body":"Just realised you ARE using guzzle - i'll keep you posted with how i go getting mocks in there"}}
{"actor":{"display_login":"bretto36"}}