public void TfsServiceProviderThrowsArgumentNullExceptionForNullServiceUri() { // ReSharper disable once UnusedVariable Action action = () => { var x = new TfsSoapServiceProvider(null); }; action.ShouldThrow <ArgumentNullException>().And.ParamName.Should().Be("serviceUri"); }
public void TfsServiceProviderThrowsArgumentNullExceptionForNullServiceUri() { // ReSharper disable once UnusedVariable Action action = () => { var x = new TfsSoapServiceProvider(null); }; action.ShouldThrow<ArgumentNullException>().And.ParamName.Should().Be("serviceUri"); }