{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/131","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/131/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/131/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/131","id":59360230,"number":131,"title":"Mocked methods should declare thrown IOException","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-Tests","name":"Component-Tests","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.3.2","name":"Milestone-Version1.3.2","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T21:52:49Z","updated_at":"2015-02-28T21:52:49Z","closed_at":"2015-02-28T21:52:49Z","body":"```\nVersion of google-api-java-client (e.g. 1.3.1-alpha)?\n\n1.3.1-alpha\n\nJava environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?\n\nAll\n\nDescribe the problem.\n\nThe following methods do not declare that they may throw IOException, which \nmeans subclasses cannot throw them, which is a problem for testing:\n\nMockHttpContent.getLength()\nMockHttpTransport.build*Request()\nMockLowLevelRequest.setContent()\nMockLowLevelRequest.execute()\nMockLowLevelResponse.getContent()\n\nHow would you expect it to be fixed?\n\nThese methods should declare that they throw IOException.\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 24 Feb 2011 at 4:46"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76548696","html_url":"https://github.com/chrsmith/google-api-java-client/issues/131#issuecomment-76548696","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/131","id":76548696,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T21:52:49Z","updated_at":"2015-02-28T21:52:49Z","body":"\n\nOriginal comment by `yan...@google.com` on 24 Feb 2011 at 10:12\n* Changed state: **Fixed**"}}