New convention test was added. Now each "TheCtor" class must have "EnsuresNonNullArguments" method were throwing of ArgumentNullException from client constructor class should be tested.

All unused "using" directives were removed.
This commit is contained in:
aedampir@gmail.com
2016-04-10 22:28:18 +07:00
parent a783d05abb
commit 36c08248fa
52 changed files with 119 additions and 76 deletions
@@ -1,5 +1,4 @@
using System;
using System.Linq;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
@@ -84,7 +83,7 @@ namespace Octokit.Tests.Reactive
public class TheCtor
{
[Fact]
public void EnsuresArgument()
public void EnsuresNonNullArguments()
{
Assert.Throws<ArgumentNullException>(() => new ObservableUserKeysClient(null));
}