GetAllForIssue() public method

Gets Issue Comments for a specified Issue.
http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
public GetAllForIssue ( long repositoryId, int number ) : Task>
repositoryId long The Id of the repository
number int The issue number
return Task>
        public async Task EnsuresArgumentsNotNull()
        {
            var connection = Substitute.For<IApiConnection>();
            var client = new IssueCommentsClient(connection);

            await Assert.ThrowsAsync<ArgumentNullException>(() => client.GetAllForIssue(null, "name", 1));
            await Assert.ThrowsAsync<ArgumentException>(() => client.GetAllForIssue("", "name", 1));
            await Assert.ThrowsAsync<ArgumentNullException>(() => client.GetAllForIssue("owner", null, 1));
            await Assert.ThrowsAsync<ArgumentException>(() => client.GetAllForIssue("owner", "", 1));
        }
        public void RequestsCorrectUrl()
        {
            var connection = Substitute.For<IApiConnection>();
            var client = new IssueCommentsClient(connection);

            client.GetAllForIssue("fake", "repo", 3);

            connection.Received().GetAll<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/3/comments"));
        }