New contructor was added.

This commit is contained in:
aedampir@gmail.com
2016-04-18 13:26:01 +07:00
parent 36c08248fa
commit 251e61ae43
@@ -1,12 +1,21 @@
using NSubstitute;
using System;
using System.Collections.Generic;
using Xunit;
namespace Octokit.Tests.Clients
{
public class RespositoryCommitsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
Assert.Throws<ArgumentNullException>(
() => new RepositoryCommitsClient(null));
}
}
public class TheGetAllMethod
{
[Fact]