public void TfsServiceProviderThrowsArgumentNullExceptionForNullServiceUri()
        {
            // ReSharper disable once UnusedVariable
            Action action = () => { var x = new TfsSoapServiceProvider(null); };

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

            action.ShouldThrow<ArgumentNullException>().And.ParamName.Should().Be("serviceUri");
        }