mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 06:35:11 +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 ObservableRepositoryCommitsClientTests
|
||||||
{
|
{
|
||||||
|
public class TheCtor
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void EnsuresArgument()
|
||||||
|
{
|
||||||
|
Assert.Throws<ArgumentNullException>(() => new ObservableRepositoryCommitsClient(null));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class TheGetSha1Method
|
public class TheGetSha1Method
|
||||||
{
|
{
|
||||||
[Fact]
|
[Fact]
|
||||||
|
|||||||
Reference in New Issue
Block a user