mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 06:05:12 +00:00
Added constructor test
Check the ctor for a null IGitHubClient
This commit is contained in:
@@ -9,6 +9,15 @@ namespace Octokit.Tests.Reactive
|
||||
{
|
||||
public class ObservableRepositoryCommitsClientTests
|
||||
{
|
||||
public class TheCtor
|
||||
{
|
||||
[Fact]
|
||||
public void EnsuresArgument()
|
||||
{
|
||||
Assert.Throws<ArgumentNullException>(() => new ObservableRepositoryCommitsClient(null));
|
||||
}
|
||||
}
|
||||
|
||||
public class TheGetSha1Method
|
||||
{
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user