Added test for null argument in ctor

This commit is contained in:
Kristian Hellang
2013-11-22 01:29:23 +01:00
parent 776a0b845f
commit 930537af53
@@ -12,6 +12,15 @@ namespace Octokit.Tests.Clients
{
public class TheGetMethod
{
public class TheCtor
{
[Fact]
public void EnsuresArgument()
{
Assert.Throws<ArgumentNullException>(() => new ReferencesClient(null));
}
}
[Fact]
public async void EnsuresNonNullArguments()
{