/// <summary> /// Gets a single Repository Comment by number. /// </summary> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="number">The comment id</param> /// <remarks>http://developer.github.com/v3/repos/comments/#get-a-single-commit-comment</remarks> public IObservable <CommitComment> Get(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(_client.Get(owner, name, number).ToObservable()); }
public async Task CanGetComment() { var commit = await _fixture.Get(owner, name, 1467023); Assert.NotNull(commit); }