From 3ff3165a42d9afc9a2d45d51e7fac7c7070a89a4 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 12 Nov 2016 16:40:22 -0500 Subject: [PATCH] add exception throw test --- src/UriBuilder.Fluent.UnitTests/ThrowsTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UriBuilder.Fluent.UnitTests/ThrowsTests.cs b/src/UriBuilder.Fluent.UnitTests/ThrowsTests.cs index 012070c..e055915 100644 --- a/src/UriBuilder.Fluent.UnitTests/ThrowsTests.cs +++ b/src/UriBuilder.Fluent.UnitTests/ThrowsTests.cs @@ -16,6 +16,7 @@ namespace FluentUriBuilder.Tests Assert.Throws(() => tstObj.WithPathSegment(null)); Assert.Throws(() => tstObj.WithScheme(null)); Assert.Throws(() => tstObj.WithHost(null)); + Assert.Throws(() => tstObj.WithParameter(parameterDictionary: null)); Assert.Throws(() => tstObj.WithPort(-1)); } }