{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/206","repository_url":"https://api.github.com/repos/jayway/powermock","labels_url":"https://api.github.com/repos/jayway/powermock/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/206/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/206/events","html_url":"https://github.com/jayway/powermock/issues/206","id":96884275,"number":206,"title":"Whitebox.invokeConstructor should support null","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/powermock/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jayway/powermock/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/powermock/labels/Priority:Low","name":"Priority:Low","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jayway/powermock/milestones/1","html_url":"https://github.com/jayway/powermock/milestones/PowerMock%201.6.5","labels_url":"https://api.github.com/repos/jayway/powermock/milestones/1/labels","id":1608245,"number":1,"title":"PowerMock 1.6.5","description":"","creator":{"login":"thekingnothing","id":13175296,"avatar_url":"https://avatars.githubusercontent.com/u/13175296?v=3","gravatar_id":"","url":"https://api.github.com/users/thekingnothing","html_url":"https://github.com/thekingnothing","followers_url":"https://api.github.com/users/thekingnothing/followers","following_url":"https://api.github.com/users/thekingnothing/following{/other_user}","gists_url":"https://api.github.com/users/thekingnothing/gists{/gist_id}","starred_url":"https://api.github.com/users/thekingnothing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekingnothing/subscriptions","organizations_url":"https://api.github.com/users/thekingnothing/orgs","repos_url":"https://api.github.com/users/thekingnothing/repos","events_url":"https://api.github.com/users/thekingnothing/events{/privacy}","received_events_url":"https://api.github.com/users/thekingnothing/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":10,"state":"open","created_at":"2016-02-26T15:16:16Z","updated_at":"2016-03-03T11:34:41Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-23T19:04:08Z","updated_at":"2016-03-03T11:34:41Z","closed_at":"2016-03-03T11:34:41Z","body":"_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on October 16, 2009 16:01:14_\n\nIt should be possible to supply a null value as parameter type to\r\ninvokeConstructor\n\n_Original issue: http://code.google.com/p/powermock/issues/detail?id=186_"},"comment":{"url":"https://api.github.com/repos/jayway/powermock/issues/comments/191719221","html_url":"https://github.com/jayway/powermock/issues/206#issuecomment-191719221","issue_url":"https://api.github.com/repos/jayway/powermock/issues/206","id":191719221,"user":{"login":"thekingnothing","id":13175296,"avatar_url":"https://avatars.githubusercontent.com/u/13175296?v=3","gravatar_id":"","url":"https://api.github.com/users/thekingnothing","html_url":"https://github.com/thekingnothing","followers_url":"https://api.github.com/users/thekingnothing/followers","following_url":"https://api.github.com/users/thekingnothing/following{/other_user}","gists_url":"https://api.github.com/users/thekingnothing/gists{/gist_id}","starred_url":"https://api.github.com/users/thekingnothing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekingnothing/subscriptions","organizations_url":"https://api.github.com/users/thekingnothing/orgs","repos_url":"https://api.github.com/users/thekingnothing/repos","events_url":"https://api.github.com/users/thekingnothing/events{/privacy}","received_events_url":"https://api.github.com/users/thekingnothing/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T11:34:41Z","updated_at":"2016-03-03T11:34:41Z","body":"It's imposible to implement without changing API, because in case : \r\n\r\npublic static <T> T invokeConstructor(Class<T> classThatContainsTheConstructorToTest, Object... arguments)\r\n`invokeConstructor( object, \"method\", null )`\r\nthe method \r\n`public static <T> T invokeConstructor(Class<T> classThatContainsTheConstructorToTest, Object... arguments)` is called. "}}