{"action":"created","comment":{"url":"https://api.github.com/repos/octokit/octokit.net/pulls/comments/66346520","id":66346520,"diff_hunk":"@@ -110,6 +110,68 @@ public void EnsuresNonEmptyArguments()\n             }\n         }\n \n+        public class TheAddAssigneesMethod\n+        {\n+            [Fact]\n+            public void RequestsCorrectUrl()\n+            {\n+                var newAssignees = new AssigneesUpdate(new List<string>() { \"assignee1\", \"assignee2\" });\n+                var gitHubClient = Substitute.For<IGitHubClient>();\n+                var client = new ObservableAssigneesClient(gitHubClient);\n+\n+                client.AddAssignees(\"fake\", \"repo\", 2, newAssignees);\n+\n+                gitHubClient.Issue.Assignee.Received().AddAssignees(\"fake\", \"repo\", 2, newAssignees);\n+            }\n+\n+            [Fact]\n+            public void EnsuresNonNullArguments()\n+            {\n+                var githubClient = Substitute.For<IGitHubClient>();\n+                var client = new ObservableAssigneesClient(githubClient);\n+                var newAssignees = new AssigneesUpdate(new List<string>() { \"assignee1\", \"assignee2\" });\n+\n+                Assert.Throws<ArgumentNullException>(() => client.AddAssignees(null, null, 2, newAssignees));","path":"Octokit.Tests/Reactive/ObservableAssigneesClientTests.cs","position":48,"original_position":48,"commit_id":"a1593cf173535832f675a7e88d239c59a0348c13","original_commit_id":"a1593cf173535832f675a7e88d239c59a0348c13","user":{"login":"ryangribble","id":5425163,"avatar_url":"https://avatars.githubusercontent.com/u/5425163?v=3","gravatar_id":"","url":"https://api.github.com/users/ryangribble","html_url":"https://github.com/ryangribble","followers_url":"https://api.github.com/users/ryangribble/followers","following_url":"https://api.github.com/users/ryangribble/following{/other_user}","gists_url":"https://api.github.com/users/ryangribble/gists{/gist_id}","starred_url":"https://api.github.com/users/ryangribble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryangribble/subscriptions","organizations_url":"https://api.github.com/users/ryangribble/orgs","repos_url":"https://api.github.com/users/ryangribble/repos","events_url":"https://api.github.com/users/ryangribble/events{/privacy}","received_events_url":"https://api.github.com/users/ryangribble/received_events","type":"User","site_admin":false},"body":"you dont need to test combinations of more than one field being null or empty at a time, since the first assert to match, will throw an exception.\r\n\r\nIn other words if there are 3 input fields that have NotNull asserts, there should be 3 test cases (each one specifying null for 1 field and valid value for the other fields), eg:\r\nnull, \"name\", 2, newAssignee\r\n\"owner\", null, 2, newAssignee\r\n\"owner\", \"name\", 2, null","created_at":"2016-06-08T21:47:04Z","updated_at":"2016-06-08T21:47:04Z","html_url":"https://github.com/octokit/octokit.net/pull/1339#discussion_r66346520","pull_request_url":"https://api.github.com/repos/octokit/octokit.net/pulls/1339","_links":{"self":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/comments/66346520"},"html":{"href":"https://github.com/octokit/octokit.net/pull/1339#discussion_r66346520"},"pull_request":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/1339"}}},"pull_request":{"url":"https://api.github.com/repos/octokit/octokit.net/pulls/1339","id":72462668,"html_url":"https://github.com/octokit/octokit.net/pull/1339","diff_url":"https://github.com/octokit/octokit.net/pull/1339.diff","patch_url":"https://github.com/octokit/octokit.net/pull/1339.patch","issue_url":"https://api.github.com/repos/octokit/octokit.net/issues/1339","number":1339,"state":"open","locked":false,"title":"Add multiple assignees to issuese","user":{"login":"maddin2016","id":19551763,"avatar_url":"https://avatars.githubusercontent.com/u/19551763?v=3","gravatar_id":"","url":"https://api.github.com/users/maddin2016","html_url":"https://github.com/maddin2016","followers_url":"https://api.github.com/users/maddin2016/followers","following_url":"https://api.github.com/users/maddin2016/following{/other_user}","gists_url":"https://api.github.com/users/maddin2016/gists{/gist_id}","starred_url":"https://api.github.com/users/maddin2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddin2016/subscriptions","organizations_url":"https://api.github.com/users/maddin2016/orgs","repos_url":"https://api.github.com/users/maddin2016/repos","events_url":"https://api.github.com/users/maddin2016/events{/privacy}","received_events_url":"https://api.github.com/users/maddin2016/received_events","type":"User","site_admin":false},"body":"Fixes #1334 \r\nThis is a first preview for add multiple assignees to an issue. I created a new class IssueAssignees because the key `assignees` is only added for this special api call. Maybe `AddAssignees` can live directly under `client.Issue`. Please tell me if this goes in the right direction.","created_at":"2016-06-03T07:06:20Z","updated_at":"2016-06-08T21:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"064ead50b783f2001432022e03e33fc05fe9c8c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/octokit/octokit.net/pulls/1339/commits","review_comments_url":"https://api.github.com/repos/octokit/octokit.net/pulls/1339/comments","review_comment_url":"https://api.github.com/repos/octokit/octokit.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octokit/octokit.net/issues/1339/comments","statuses_url":"https://api.github.com/repos/octokit/octokit.net/statuses/a1593cf173535832f675a7e88d239c59a0348c13","head":{"label":"maddin2016:add-assignes-to-issues","ref":"add-assignes-to-issues","sha":"a1593cf173535832f675a7e88d239c59a0348c13","user":{"login":"maddin2016","id":19551763,"avatar_url":"https://avatars.githubusercontent.com/u/19551763?v=3","gravatar_id":"","url":"https://api.github.com/users/maddin2016","html_url":"https://github.com/maddin2016","followers_url":"https://api.github.com/users/maddin2016/followers","following_url":"https://api.github.com/users/maddin2016/following{/other_user}","gists_url":"https://api.github.com/users/maddin2016/gists{/gist_id}","starred_url":"https://api.github.com/users/maddin2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddin2016/subscriptions","organizations_url":"https://api.github.com/users/maddin2016/orgs","repos_url":"https://api.github.com/users/maddin2016/repos","events_url":"https://api.github.com/users/maddin2016/events{/privacy}","received_events_url":"https://api.github.com/users/maddin2016/received_events","type":"User","site_admin":false},"repo":{"id":59650191,"name":"octokit.net","full_name":"maddin2016/octokit.net","owner":{"login":"maddin2016","id":19551763,"avatar_url":"https://avatars.githubusercontent.com/u/19551763?v=3","gravatar_id":"","url":"https://api.github.com/users/maddin2016","html_url":"https://github.com/maddin2016","followers_url":"https://api.github.com/users/maddin2016/followers","following_url":"https://api.github.com/users/maddin2016/following{/other_user}","gists_url":"https://api.github.com/users/maddin2016/gists{/gist_id}","starred_url":"https://api.github.com/users/maddin2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddin2016/subscriptions","organizations_url":"https://api.github.com/users/maddin2016/orgs","repos_url":"https://api.github.com/users/maddin2016/repos","events_url":"https://api.github.com/users/maddin2016/events{/privacy}","received_events_url":"https://api.github.com/users/maddin2016/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maddin2016/octokit.net","description":"A GitHub API client library for .NET ","fork":true,"url":"https://api.github.com/repos/maddin2016/octokit.net","forks_url":"https://api.github.com/repos/maddin2016/octokit.net/forks","keys_url":"https://api.github.com/repos/maddin2016/octokit.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maddin2016/octokit.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maddin2016/octokit.net/teams","hooks_url":"https://api.github.com/repos/maddin2016/octokit.net/hooks","issue_events_url":"https://api.github.com/repos/maddin2016/octokit.net/issues/events{/number}","events_url":"https://api.github.com/repos/maddin2016/octokit.net/events","assignees_url":"https://api.github.com/repos/maddin2016/octokit.net/assignees{/user}","branches_url":"https://api.github.com/repos/maddin2016/octokit.net/branches{/branch}","tags_url":"https://api.github.com/repos/maddin2016/octokit.net/tags","blobs_url":"https://api.github.com/repos/maddin2016/octokit.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maddin2016/octokit.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maddin2016/octokit.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/maddin2016/octokit.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maddin2016/octokit.net/statuses/{sha}","languages_url":"https://api.github.com/repos/maddin2016/octokit.net/languages","stargazers_url":"https://api.github.com/repos/maddin2016/octokit.net/stargazers","contributors_url":"https://api.github.com/repos/maddin2016/octokit.net/contributors","subscribers_url":"https://api.github.com/repos/maddin2016/octokit.net/subscribers","subscription_url":"https://api.github.com/repos/maddin2016/octokit.net/subscription","commits_url":"https://api.github.com/repos/maddin2016/octokit.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/maddin2016/octokit.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/maddin2016/octokit.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/maddin2016/octokit.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/maddin2016/octokit.net/contents/{+path}","compare_url":"https://api.github.com/repos/maddin2016/octokit.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maddin2016/octokit.net/merges","archive_url":"https://api.github.com/repos/maddin2016/octokit.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maddin2016/octokit.net/downloads","issues_url":"https://api.github.com/repos/maddin2016/octokit.net/issues{/number}","pulls_url":"https://api.github.com/repos/maddin2016/octokit.net/pulls{/number}","milestones_url":"https://api.github.com/repos/maddin2016/octokit.net/milestones{/number}","notifications_url":"https://api.github.com/repos/maddin2016/octokit.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maddin2016/octokit.net/labels{/name}","releases_url":"https://api.github.com/repos/maddin2016/octokit.net/releases{/id}","deployments_url":"https://api.github.com/repos/maddin2016/octokit.net/deployments","created_at":"2016-05-25T09:31:26Z","updated_at":"2016-05-25T09:31:29Z","pushed_at":"2016-06-08T18:12:48Z","git_url":"git://github.com/maddin2016/octokit.net.git","ssh_url":"git@github.com:maddin2016/octokit.net.git","clone_url":"https://github.com/maddin2016/octokit.net.git","svn_url":"https://github.com/maddin2016/octokit.net","homepage":null,"size":83902,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"octokit:master","ref":"master","sha":"886dcbaa813c902459e346b367e4756800501198","user":{"login":"octokit","id":3430433,"avatar_url":"https://avatars.githubusercontent.com/u/3430433?v=3","gravatar_id":"","url":"https://api.github.com/users/octokit","html_url":"https://github.com/octokit","followers_url":"https://api.github.com/users/octokit/followers","following_url":"https://api.github.com/users/octokit/following{/other_user}","gists_url":"https://api.github.com/users/octokit/gists{/gist_id}","starred_url":"https://api.github.com/users/octokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octokit/subscriptions","organizations_url":"https://api.github.com/users/octokit/orgs","repos_url":"https://api.github.com/users/octokit/repos","events_url":"https://api.github.com/users/octokit/events{/privacy}","received_events_url":"https://api.github.com/users/octokit/received_events","type":"Organization","site_admin":false},"repo":{"id":7528679,"name":"octokit.net","full_name":"octokit/octokit.net","owner":{"login":"octokit","id":3430433,"avatar_url":"https://avatars.githubusercontent.com/u/3430433?v=3","gravatar_id":"","url":"https://api.github.com/users/octokit","html_url":"https://github.com/octokit","followers_url":"https://api.github.com/users/octokit/followers","following_url":"https://api.github.com/users/octokit/following{/other_user}","gists_url":"https://api.github.com/users/octokit/gists{/gist_id}","starred_url":"https://api.github.com/users/octokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octokit/subscriptions","organizations_url":"https://api.github.com/users/octokit/orgs","repos_url":"https://api.github.com/users/octokit/repos","events_url":"https://api.github.com/users/octokit/events{/privacy}","received_events_url":"https://api.github.com/users/octokit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octokit/octokit.net","description":"A GitHub API client library for .NET ","fork":false,"url":"https://api.github.com/repos/octokit/octokit.net","forks_url":"https://api.github.com/repos/octokit/octokit.net/forks","keys_url":"https://api.github.com/repos/octokit/octokit.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octokit/octokit.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octokit/octokit.net/teams","hooks_url":"https://api.github.com/repos/octokit/octokit.net/hooks","issue_events_url":"https://api.github.com/repos/octokit/octokit.net/issues/events{/number}","events_url":"https://api.github.com/repos/octokit/octokit.net/events","assignees_url":"https://api.github.com/repos/octokit/octokit.net/assignees{/user}","branches_url":"https://api.github.com/repos/octokit/octokit.net/branches{/branch}","tags_url":"https://api.github.com/repos/octokit/octokit.net/tags","blobs_url":"https://api.github.com/repos/octokit/octokit.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octokit/octokit.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octokit/octokit.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/octokit/octokit.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octokit/octokit.net/statuses/{sha}","languages_url":"https://api.github.com/repos/octokit/octokit.net/languages","stargazers_url":"https://api.github.com/repos/octokit/octokit.net/stargazers","contributors_url":"https://api.github.com/repos/octokit/octokit.net/contributors","subscribers_url":"https://api.github.com/repos/octokit/octokit.net/subscribers","subscription_url":"https://api.github.com/repos/octokit/octokit.net/subscription","commits_url":"https://api.github.com/repos/octokit/octokit.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/octokit/octokit.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/octokit/octokit.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/octokit/octokit.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/octokit/octokit.net/contents/{+path}","compare_url":"https://api.github.com/repos/octokit/octokit.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octokit/octokit.net/merges","archive_url":"https://api.github.com/repos/octokit/octokit.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octokit/octokit.net/downloads","issues_url":"https://api.github.com/repos/octokit/octokit.net/issues{/number}","pulls_url":"https://api.github.com/repos/octokit/octokit.net/pulls{/number}","milestones_url":"https://api.github.com/repos/octokit/octokit.net/milestones{/number}","notifications_url":"https://api.github.com/repos/octokit/octokit.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octokit/octokit.net/labels{/name}","releases_url":"https://api.github.com/repos/octokit/octokit.net/releases{/id}","deployments_url":"https://api.github.com/repos/octokit/octokit.net/deployments","created_at":"2013-01-09T20:48:45Z","updated_at":"2016-06-08T16:26:56Z","pushed_at":"2016-06-08T21:32:03Z","git_url":"git://github.com/octokit/octokit.net.git","ssh_url":"git@github.com:octokit/octokit.net.git","clone_url":"https://github.com/octokit/octokit.net.git","svn_url":"https://github.com/octokit/octokit.net","homepage":null,"size":91429,"stargazers_count":953,"watchers_count":953,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":486,"mirror_url":null,"open_issues_count":120,"forks":486,"open_issues":120,"watchers":953,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/1339"},"html":{"href":"https://github.com/octokit/octokit.net/pull/1339"},"issue":{"href":"https://api.github.com/repos/octokit/octokit.net/issues/1339"},"comments":{"href":"https://api.github.com/repos/octokit/octokit.net/issues/1339/comments"},"review_comments":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/1339/comments"},"review_comment":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octokit/octokit.net/pulls/1339/commits"},"statuses":{"href":"https://api.github.com/repos/octokit/octokit.net/statuses/a1593cf173535832f675a7e88d239c59a0348c13"}}}}
{"actor":{"display_login":"ryangribble"}}