{"action":"reopened","number":1157,"pull_request":{"url":"https://api.github.com/repos/mockito/mockito/pulls/1157","id":134040639,"html_url":"https://github.com/mockito/mockito/pull/1157","diff_url":"https://github.com/mockito/mockito/pull/1157.diff","patch_url":"https://github.com/mockito/mockito/pull/1157.patch","issue_url":"https://api.github.com/repos/mockito/mockito/issues/1157","number":1157,"state":"open","locked":false,"title":"Add tests to verify and show that @Spy can be used to allow stubbing/verification of List parameters using varargs.","user":{"login":"fluentfuture","id":3457808,"avatar_url":"https://avatars0.githubusercontent.com/u/3457808?v=4","gravatar_id":"","url":"https://api.github.com/users/fluentfuture","html_url":"https://github.com/fluentfuture","followers_url":"https://api.github.com/users/fluentfuture/followers","following_url":"https://api.github.com/users/fluentfuture/following{/other_user}","gists_url":"https://api.github.com/users/fluentfuture/gists{/gist_id}","starred_url":"https://api.github.com/users/fluentfuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluentfuture/subscriptions","organizations_url":"https://api.github.com/users/fluentfuture/orgs","repos_url":"https://api.github.com/users/fluentfuture/repos","events_url":"https://api.github.com/users/fluentfuture/events{/privacy}","received_events_url":"https://api.github.com/users/fluentfuture/received_events","type":"User","site_admin":false},"body":"Hi, I thought about sending an email first but then figured that I'd probably put in the test code as the example anyway, which is what this PR is all about.\r\n\r\nI'm not completely sure that there isn't already a better way to go about stubbing List params. If there are, I'm happy to learn! :)\r\n","created_at":"2017-08-03T21:00:52Z","updated_at":"2017-08-04T23:28:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45a01b20a0da307b1016d69710717479189df093","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mockito/mockito/pulls/1157/commits","review_comments_url":"https://api.github.com/repos/mockito/mockito/pulls/1157/comments","review_comment_url":"https://api.github.com/repos/mockito/mockito/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mockito/mockito/issues/1157/comments","statuses_url":"https://api.github.com/repos/mockito/mockito/statuses/57845b06e39066f3ff53285f8641edcd9b62b54f","head":{"label":"fluentfuture:release/2.x","ref":"release/2.x","sha":"57845b06e39066f3ff53285f8641edcd9b62b54f","user":{"login":"fluentfuture","id":3457808,"avatar_url":"https://avatars0.githubusercontent.com/u/3457808?v=4","gravatar_id":"","url":"https://api.github.com/users/fluentfuture","html_url":"https://github.com/fluentfuture","followers_url":"https://api.github.com/users/fluentfuture/followers","following_url":"https://api.github.com/users/fluentfuture/following{/other_user}","gists_url":"https://api.github.com/users/fluentfuture/gists{/gist_id}","starred_url":"https://api.github.com/users/fluentfuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluentfuture/subscriptions","organizations_url":"https://api.github.com/users/fluentfuture/orgs","repos_url":"https://api.github.com/users/fluentfuture/repos","events_url":"https://api.github.com/users/fluentfuture/events{/privacy}","received_events_url":"https://api.github.com/users/fluentfuture/received_events","type":"User","site_admin":false},"repo":{"id":81017523,"name":"mockito","full_name":"fluentfuture/mockito","owner":{"login":"fluentfuture","id":3457808,"avatar_url":"https://avatars0.githubusercontent.com/u/3457808?v=4","gravatar_id":"","url":"https://api.github.com/users/fluentfuture","html_url":"https://github.com/fluentfuture","followers_url":"https://api.github.com/users/fluentfuture/followers","following_url":"https://api.github.com/users/fluentfuture/following{/other_user}","gists_url":"https://api.github.com/users/fluentfuture/gists{/gist_id}","starred_url":"https://api.github.com/users/fluentfuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluentfuture/subscriptions","organizations_url":"https://api.github.com/users/fluentfuture/orgs","repos_url":"https://api.github.com/users/fluentfuture/repos","events_url":"https://api.github.com/users/fluentfuture/events{/privacy}","received_events_url":"https://api.github.com/users/fluentfuture/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fluentfuture/mockito","description":"Most popular Mocking framework for unit tests written in Java","fork":true,"url":"https://api.github.com/repos/fluentfuture/mockito","forks_url":"https://api.github.com/repos/fluentfuture/mockito/forks","keys_url":"https://api.github.com/repos/fluentfuture/mockito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluentfuture/mockito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluentfuture/mockito/teams","hooks_url":"https://api.github.com/repos/fluentfuture/mockito/hooks","issue_events_url":"https://api.github.com/repos/fluentfuture/mockito/issues/events{/number}","events_url":"https://api.github.com/repos/fluentfuture/mockito/events","assignees_url":"https://api.github.com/repos/fluentfuture/mockito/assignees{/user}","branches_url":"https://api.github.com/repos/fluentfuture/mockito/branches{/branch}","tags_url":"https://api.github.com/repos/fluentfuture/mockito/tags","blobs_url":"https://api.github.com/repos/fluentfuture/mockito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluentfuture/mockito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluentfuture/mockito/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluentfuture/mockito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluentfuture/mockito/statuses/{sha}","languages_url":"https://api.github.com/repos/fluentfuture/mockito/languages","stargazers_url":"https://api.github.com/repos/fluentfuture/mockito/stargazers","contributors_url":"https://api.github.com/repos/fluentfuture/mockito/contributors","subscribers_url":"https://api.github.com/repos/fluentfuture/mockito/subscribers","subscription_url":"https://api.github.com/repos/fluentfuture/mockito/subscription","commits_url":"https://api.github.com/repos/fluentfuture/mockito/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluentfuture/mockito/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluentfuture/mockito/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluentfuture/mockito/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluentfuture/mockito/contents/{+path}","compare_url":"https://api.github.com/repos/fluentfuture/mockito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluentfuture/mockito/merges","archive_url":"https://api.github.com/repos/fluentfuture/mockito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluentfuture/mockito/downloads","issues_url":"https://api.github.com/repos/fluentfuture/mockito/issues{/number}","pulls_url":"https://api.github.com/repos/fluentfuture/mockito/pulls{/number}","milestones_url":"https://api.github.com/repos/fluentfuture/mockito/milestones{/number}","notifications_url":"https://api.github.com/repos/fluentfuture/mockito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluentfuture/mockito/labels{/name}","releases_url":"https://api.github.com/repos/fluentfuture/mockito/releases{/id}","deployments_url":"https://api.github.com/repos/fluentfuture/mockito/deployments","created_at":"2017-02-05T19:49:07Z","updated_at":"2017-02-05T19:49:11Z","pushed_at":"2017-08-03T20:57:53Z","git_url":"git://github.com/fluentfuture/mockito.git","ssh_url":"git@github.com:fluentfuture/mockito.git","clone_url":"https://github.com/fluentfuture/mockito.git","svn_url":"https://github.com/fluentfuture/mockito","homepage":"http://mockito.org","size":43339,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"release/2.x"}},"base":{"label":"mockito:release/2.x","ref":"release/2.x","sha":"885defd508cb2d61f00e611ebe2927d328d31e73","user":{"login":"mockito","id":2054056,"avatar_url":"https://avatars0.githubusercontent.com/u/2054056?v=4","gravatar_id":"","url":"https://api.github.com/users/mockito","html_url":"https://github.com/mockito","followers_url":"https://api.github.com/users/mockito/followers","following_url":"https://api.github.com/users/mockito/following{/other_user}","gists_url":"https://api.github.com/users/mockito/gists{/gist_id}","starred_url":"https://api.github.com/users/mockito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mockito/subscriptions","organizations_url":"https://api.github.com/users/mockito/orgs","repos_url":"https://api.github.com/users/mockito/repos","events_url":"https://api.github.com/users/mockito/events{/privacy}","received_events_url":"https://api.github.com/users/mockito/received_events","type":"Organization","site_admin":false},"repo":{"id":6207167,"name":"mockito","full_name":"mockito/mockito","owner":{"login":"mockito","id":2054056,"avatar_url":"https://avatars0.githubusercontent.com/u/2054056?v=4","gravatar_id":"","url":"https://api.github.com/users/mockito","html_url":"https://github.com/mockito","followers_url":"https://api.github.com/users/mockito/followers","following_url":"https://api.github.com/users/mockito/following{/other_user}","gists_url":"https://api.github.com/users/mockito/gists{/gist_id}","starred_url":"https://api.github.com/users/mockito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mockito/subscriptions","organizations_url":"https://api.github.com/users/mockito/orgs","repos_url":"https://api.github.com/users/mockito/repos","events_url":"https://api.github.com/users/mockito/events{/privacy}","received_events_url":"https://api.github.com/users/mockito/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mockito/mockito","description":"Most popular Mocking framework for unit tests written in Java","fork":false,"url":"https://api.github.com/repos/mockito/mockito","forks_url":"https://api.github.com/repos/mockito/mockito/forks","keys_url":"https://api.github.com/repos/mockito/mockito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mockito/mockito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mockito/mockito/teams","hooks_url":"https://api.github.com/repos/mockito/mockito/hooks","issue_events_url":"https://api.github.com/repos/mockito/mockito/issues/events{/number}","events_url":"https://api.github.com/repos/mockito/mockito/events","assignees_url":"https://api.github.com/repos/mockito/mockito/assignees{/user}","branches_url":"https://api.github.com/repos/mockito/mockito/branches{/branch}","tags_url":"https://api.github.com/repos/mockito/mockito/tags","blobs_url":"https://api.github.com/repos/mockito/mockito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mockito/mockito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mockito/mockito/git/refs{/sha}","trees_url":"https://api.github.com/repos/mockito/mockito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mockito/mockito/statuses/{sha}","languages_url":"https://api.github.com/repos/mockito/mockito/languages","stargazers_url":"https://api.github.com/repos/mockito/mockito/stargazers","contributors_url":"https://api.github.com/repos/mockito/mockito/contributors","subscribers_url":"https://api.github.com/repos/mockito/mockito/subscribers","subscription_url":"https://api.github.com/repos/mockito/mockito/subscription","commits_url":"https://api.github.com/repos/mockito/mockito/commits{/sha}","git_commits_url":"https://api.github.com/repos/mockito/mockito/git/commits{/sha}","comments_url":"https://api.github.com/repos/mockito/mockito/comments{/number}","issue_comment_url":"https://api.github.com/repos/mockito/mockito/issues/comments{/number}","contents_url":"https://api.github.com/repos/mockito/mockito/contents/{+path}","compare_url":"https://api.github.com/repos/mockito/mockito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mockito/mockito/merges","archive_url":"https://api.github.com/repos/mockito/mockito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mockito/mockito/downloads","issues_url":"https://api.github.com/repos/mockito/mockito/issues{/number}","pulls_url":"https://api.github.com/repos/mockito/mockito/pulls{/number}","milestones_url":"https://api.github.com/repos/mockito/mockito/milestones{/number}","notifications_url":"https://api.github.com/repos/mockito/mockito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mockito/mockito/labels{/name}","releases_url":"https://api.github.com/repos/mockito/mockito/releases{/id}","deployments_url":"https://api.github.com/repos/mockito/mockito/deployments","created_at":"2012-10-13T20:27:12Z","updated_at":"2017-08-04T20:53:45Z","pushed_at":"2017-08-04T23:14:52Z","git_url":"git://github.com/mockito/mockito.git","ssh_url":"git@github.com:mockito/mockito.git","clone_url":"https://github.com/mockito/mockito.git","svn_url":"https://github.com/mockito/mockito","homepage":"http://mockito.org","size":43440,"stargazers_count":5062,"watchers_count":5062,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":940,"mirror_url":null,"open_issues_count":153,"forks":940,"open_issues":153,"watchers":5062,"default_branch":"release/2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/mockito/mockito/pulls/1157"},"html":{"href":"https://github.com/mockito/mockito/pull/1157"},"issue":{"href":"https://api.github.com/repos/mockito/mockito/issues/1157"},"comments":{"href":"https://api.github.com/repos/mockito/mockito/issues/1157/comments"},"review_comments":{"href":"https://api.github.com/repos/mockito/mockito/pulls/1157/comments"},"review_comment":{"href":"https://api.github.com/repos/mockito/mockito/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mockito/mockito/pulls/1157/commits"},"statuses":{"href":"https://api.github.com/repos/mockito/mockito/statuses/57845b06e39066f3ff53285f8641edcd9b62b54f"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":44,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"fluentfuture"}}