diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7fab2a..9a9d0e9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 1.0.3.10 (17 March 2018) + + - [#109](https://github.com/WireMock-Net/WireMock.Net/issues/109) - Issue: When proxying, MimeType is wrong for StringContent + +Commits: 720c59c595...720c59c595 + + # 1.0.3.9 (15 March 2018) - [#108](https://github.com/WireMock-Net/WireMock.Net/issues/108) - Issue: provide correct contentTypeHeader value for the bodyparser +fix diff --git a/GitReleaseNotes.txt b/GitReleaseNotes.txt index 983c31a6..ac093d61 100644 --- a/GitReleaseNotes.txt +++ b/GitReleaseNotes.txt @@ -1,5 +1,5 @@ https://github.com/GitTools/GitReleaseNotes -GitReleaseNotes.exe . /OutputFile CHANGELOG.md /Version 1.0.3.9 +GitReleaseNotes.exe . /OutputFile CHANGELOG.md /Version 1.0.3.10 GitReleaseNotes.exe . /OutputFile CHANGELOG.md /allTags diff --git a/ReSharper_WireMock.DotSettings b/ReSharper_WireMock.DotSettings index dcd08149..079eb7da 100644 --- a/ReSharper_WireMock.DotSettings +++ b/ReSharper_WireMock.DotSettings @@ -8,22 +8,13 @@ False TypePlaceholder - - - - - - - - True False - - ExpressionPlaceholder True CSHARP Check.NotNull($paramName$, nameof($paramName$)); if ($paramName$ == null) throw new $ArgumentNullException$($args$); - SUGGESTION \ No newline at end of file + SUGGESTION + \ No newline at end of file diff --git a/WireMock.Net Solution.sln b/WireMock.Net Solution.sln index ed905e83..3cbec0aa 100644 --- a/WireMock.Net Solution.sln +++ b/WireMock.Net Solution.sln @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution codecov-local.cmd = codecov-local.cmd GitReleaseNotes.txt = GitReleaseNotes.txt README.md = README.md + ReSharper_WireMock.DotSettings = ReSharper_WireMock.DotSettings EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{F0C22C47-DF71-463C-9B04-B4E0F3B8708A}" diff --git a/coverage.xml b/coverage.xml index 3b921994..572e0233 100644 --- a/coverage.xml +++ b/coverage.xml @@ -1,1180 +1,1186 @@ - + - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.CoreLib.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.CoreLib.dll + 2018-02-12T14:08:18Z System.Private.CoreLib - - C:\Program Files\dotnet\sdk\2.1.4\dotnet.dll - 2017-12-20T23:01:56Z + + C:\Program Files\dotnet\sdk\2.1.101\dotnet.dll + 2018-02-20T21:15:20Z dotnet - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.dll + 2018-02-12T14:08:16Z System.Runtime - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Cli.Utils.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Cli.Utils.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Cli.Utils - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Extensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Extensions.dll + 2018-02-12T14:08:16Z System.Runtime.Extensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Loader.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Loader.dll + 2018-02-12T14:08:16Z System.Runtime.Loader - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.PlatformAbstractions.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.PlatformAbstractions.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.PlatformAbstractions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.RuntimeInformation.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.RuntimeInformation.dll + 2018-02-12T14:08:16Z System.Runtime.InteropServices.RuntimeInformation - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.dll + 2018-02-12T14:08:16Z System.Reflection - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Extensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Extensions.dll + 2018-02-12T14:08:16Z System.Reflection.Extensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.dll + 2018-02-12T14:08:16Z System.Runtime.InteropServices - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.dll + 2018-02-12T14:08:14Z System.IO.FileSystem - - C:\Program Files\dotnet\sdk\2.1.4\runtimes\win\lib\netstandard1.3\System.Text.Encoding.CodePages.dll - 2017-12-20T23:00:20Z + + C:\Program Files\dotnet\sdk\2.1.101\runtimes\win\lib\netstandard1.3\System.Text.Encoding.CodePages.dll + 2018-02-20T21:16:44Z System.Text.Encoding.CodePages - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.Encoding.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.dll + 2018-02-12T14:08:18Z System.Text.Encoding - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.dll + 2018-02-12T14:08:12Z System.Collections - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.dll + 2018-02-12T14:08:18Z System.Threading - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.Concurrent.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.Concurrent.dll + 2018-02-12T14:08:12Z System.Collections.Concurrent - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Thread.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Thread.dll + 2018-02-12T14:08:18Z System.Threading.Thread - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Configurer.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Configurer.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Configurer - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Process.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Process.dll + 2018-02-12T14:08:14Z System.Diagnostics.Process - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Linq.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Linq.dll + 2018-02-12T14:08:14Z System.Linq - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Frameworks.dll - 2017-12-20T23:00:46Z + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Frameworks.dll + 2018-02-20T21:09:54Z NuGet.Frameworks - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Cli.CommandLine.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Cli.CommandLine.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Cli.CommandLine - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Console.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Console.dll + 2018-02-12T14:08:14Z System.Console - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.InternalAbstractions.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.InternalAbstractions.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.InternalAbstractions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.Primitives.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.Primitives.dll + 2018-02-12T14:08:14Z System.IO.FileSystem.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.AppContext.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.AppContext.dll + 2018-02-12T14:08:12Z System.AppContext - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.dll + 2018-02-12T14:08:14Z System.IO - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.Encoding.Extensions.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.Extensions.dll + 2018-02-12T14:08:18Z System.Text.Encoding.Extensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Handles.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Handles.dll + 2018-02-12T14:08:16Z System.Runtime.Handles - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.ApplicationInsights.dll - 2017-12-20T23:00:44Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.ApplicationInsights.dll + 2018-02-20T21:14:08Z Microsoft.ApplicationInsights - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XDocument.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XDocument.dll + 2018-02-12T14:08:18Z System.Xml.XDocument - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.Linq.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.Linq.dll + 2018-02-12T14:08:16Z System.Private.Xml.Linq - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Cryptography.Algorithms.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Cryptography.Algorithms.dll + 2018-02-12T14:08:16Z System.Security.Cryptography.Algorithms - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Cryptography.Primitives.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Cryptography.Primitives.dll + 2018-02-12T14:08:16Z System.Security.Cryptography.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.dll + 2018-02-12T14:08:16Z System.Private.Xml - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.RegularExpressions.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.RegularExpressions.dll + 2018-02-12T14:08:18Z System.Text.RegularExpressions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.ReaderWriter.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.ReaderWriter.dll + 2018-02-12T14:08:18Z System.Xml.ReaderWriter - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Tracing.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Tracing.dll + 2018-02-12T14:08:14Z System.Diagnostics.Tracing - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Uri.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Uri.dll + 2018-02-12T14:08:16Z System.Private.Uri - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Tasks.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Tasks.dll + 2018-02-12T14:08:18Z System.Threading.Tasks - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Globalization.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Globalization.dll + 2018-02-12T14:08:14Z System.Globalization - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Resources.ResourceManager.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Resources.ResourceManager.dll + 2018-02-12T14:08:16Z System.Resources.ResourceManager - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Tools.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Tools.dll + 2018-02-12T14:08:14Z System.Diagnostics.Tools - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Debug.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Debug.dll + 2018-02-12T14:08:14Z System.Diagnostics.Debug - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.Compression.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.Compression.dll + 2018-02-12T14:08:14Z System.IO.Compression - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Buffers.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Buffers.dll + 2018-02-12T14:08:12Z System.Buffers - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.Utilities.Core.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.Utilities.Core.dll + 2018-02-20T21:14:08Z Microsoft.Build.Utilities.Core - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.Framework.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.Framework.dll + 2018-02-20T21:14:08Z Microsoft.Build.Framework - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.TypeExtensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.TypeExtensions.dll + 2018-02-12T14:08:16Z System.Reflection.TypeExtensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.ComponentModel.Primitives.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.ComponentModel.Primitives.dll + 2018-02-12T14:08:12Z System.ComponentModel.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\Microsoft.Win32.Primitives.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\Microsoft.Win32.Primitives.dll + 2018-02-12T14:08:12Z Microsoft.Win32.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.Http.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.Http.dll + 2018-02-12T14:08:14Z System.Net.Http - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.Primitives.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.Primitives.dll + 2018-02-12T14:08:14Z System.Net.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.DiagnosticSource.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.DiagnosticSource.dll + 2018-02-12T14:08:14Z System.Diagnostics.DiagnosticSource - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Cryptography.X509Certificates.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Cryptography.X509Certificates.dll + 2018-02-12T14:08:16Z System.Security.Cryptography.X509Certificates - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.NonGeneric.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.NonGeneric.dll + 2018-02-12T14:08:12Z System.Collections.NonGeneric - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.CoreLib.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.CoreLib.dll + 2018-02-12T14:08:18Z System.Private.CoreLib - - C:\Program Files\dotnet\sdk\2.1.4\MSBuild.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\MSBuild.dll + 2018-02-20T21:09:56Z MSBuild - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.dll + 2018-02-12T14:08:16Z System.Runtime - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Extensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Extensions.dll + 2018-02-12T14:08:16Z System.Runtime.Extensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.dll + 2018-02-12T14:08:18Z System.Threading - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.dll + 2018-02-12T14:08:16Z System.Reflection - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.TypeExtensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.TypeExtensions.dll + 2018-02-12T14:08:16Z System.Reflection.TypeExtensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Globalization.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Globalization.dll + 2018-02-12T14:08:14Z System.Globalization - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.dll + 2018-02-12T14:08:14Z System.IO.FileSystem - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Linq.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Linq.dll + 2018-02-12T14:08:14Z System.Linq - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.RegularExpressions.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.RegularExpressions.dll + 2018-02-12T14:08:18Z System.Text.RegularExpressions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.RuntimeInformation.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.RuntimeInformation.dll + 2018-02-12T14:08:16Z System.Runtime.InteropServices.RuntimeInformation - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.dll + 2018-02-12T14:08:12Z System.Collections - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.dll + 2018-02-12T14:08:16Z System.Runtime.InteropServices - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Console.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Console.dll + 2018-02-12T14:08:14Z System.Console - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Process.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Process.dll + 2018-02-12T14:08:14Z System.Diagnostics.Process - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.ComponentModel.Primitives.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.ComponentModel.Primitives.dll + 2018-02-12T14:08:12Z System.ComponentModel.Primitives - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.Framework.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.Framework.dll + 2018-02-20T21:14:08Z Microsoft.Build.Framework - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.dll + 2018-02-12T14:08:14Z System.IO - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.dll + 2018-02-20T21:14:08Z Microsoft.Build - - C:\Program Files\dotnet\sdk\2.1.4\runtimes\win\lib\netstandard1.3\System.Text.Encoding.CodePages.dll - 2017-12-20T23:00:20Z + + C:\Program Files\dotnet\sdk\2.1.101\runtimes\win\lib\netstandard1.3\System.Text.Encoding.CodePages.dll + 2018-02-20T21:16:44Z System.Text.Encoding.CodePages - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.Encoding.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.dll + 2018-02-12T14:08:18Z System.Text.Encoding - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.NonGeneric.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.NonGeneric.dll + 2018-02-12T14:08:12Z System.Collections.NonGeneric - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.Concurrent.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.Concurrent.dll + 2018-02-12T14:08:12Z System.Collections.Concurrent - - C:\Program Files\dotnet\sdk\2.1.4\dotnet.dll - 2017-12-20T23:01:56Z + + C:\Program Files\dotnet\sdk\2.1.101\dotnet.dll + 2018-02-20T21:15:20Z dotnet - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.Utilities.Core.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.Utilities.Core.dll + 2018-02-20T21:14:08Z Microsoft.Build.Utilities.Core - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Tools.MigrateCommand.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Tools.MigrateCommand.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Tools.MigrateCommand - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Cli.Utils.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Cli.Utils.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Cli.Utils - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Frameworks.dll - 2017-12-20T23:00:46Z + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Frameworks.dll + 2018-02-20T21:09:54Z NuGet.Frameworks - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Extensions.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Extensions.dll + 2018-02-12T14:08:16Z System.Reflection.Extensions - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.Configurer.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.Configurer.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.Configurer - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.InternalAbstractions.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.InternalAbstractions.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.InternalAbstractions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.Primitives.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.Primitives.dll + 2018-02-12T14:08:14Z System.IO.FileSystem.Primitives - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.ApplicationInsights.dll - 2017-12-20T23:00:44Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.ApplicationInsights.dll + 2018-02-20T21:14:08Z Microsoft.ApplicationInsights - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.Encoding.Extensions.dll - 2017-12-20T15:43:18Z - System.Text.Encoding.Extensions - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.DotNet.PlatformAbstractions.dll - 2017-12-20T23:00:50Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.DotNet.PlatformAbstractions.dll + 2018-02-20T21:14:08Z Microsoft.DotNet.PlatformAbstractions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XDocument.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XDocument.dll + 2018-02-12T14:08:18Z System.Xml.XDocument - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.Linq.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.Linq.dll + 2018-02-12T14:08:16Z System.Private.Xml.Linq - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Handles.dll - 2017-12-20T15:43:16Z - System.Runtime.Handles - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.dll - 2017-12-20T15:43:16Z - System.Private.Xml - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.ReaderWriter.dll - 2017-12-20T15:43:18Z - System.Xml.ReaderWriter - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Tracing.dll - 2017-12-20T15:43:14Z - System.Diagnostics.Tracing - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Uri.dll - 2017-12-20T15:43:16Z - System.Private.Uri - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Tasks.dll - 2017-12-20T15:43:18Z - System.Threading.Tasks - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Cryptography.Algorithms.dll - 2017-12-20T15:43:16Z - System.Security.Cryptography.Algorithms - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Cryptography.Primitives.dll - 2017-12-20T15:43:16Z - System.Security.Cryptography.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Tasks.Dataflow.dll - 2017-12-20T15:43:18Z - System.Threading.Tasks.Dataflow - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\netstandard.dll - 2017-12-20T15:43:18Z - netstandard - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Resources.ResourceManager.dll - 2017-12-20T15:43:16Z - System.Resources.ResourceManager - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.ObjectModel.dll - 2017-12-20T15:43:16Z - System.ObjectModel - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Thread.dll - 2017-12-20T15:43:18Z - System.Threading.Thread - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XmlDocument.dll - 2017-12-20T15:43:18Z - System.Xml.XmlDocument - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.TraceSource.dll - 2017-12-20T15:43:14Z - System.Diagnostics.TraceSource - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.FileVersionInfo.dll - 2017-12-20T15:43:14Z - System.Diagnostics.FileVersionInfo - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.Immutable.dll - 2017-12-20T15:43:14Z - System.Collections.Immutable - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Primitives.dll - 2017-12-20T15:43:16Z - System.Reflection.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Tasks.Parallel.dll - 2017-12-20T15:43:18Z - System.Threading.Tasks.Parallel - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.Primitives.dll - 2017-12-20T15:43:16Z - System.Net.Primitives - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Build.Tasks.Core.dll - 2017-12-20T23:00:50Z - Microsoft.Build.Tasks.Core - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.ThreadPool.dll - 2017-12-20T15:43:18Z - System.Threading.ThreadPool - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Build.Tasks.dll - 2017-12-20T23:00:44Z - NuGet.Build.Tasks - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Commands.dll - 2017-12-20T23:00:46Z - NuGet.Commands - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Common.dll - 2017-12-20T23:00:46Z - NuGet.Common - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Loader.dll - 2017-12-20T15:43:16Z - System.Runtime.Loader - - - - C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\..\tools\netcoreapp1.0/Microsoft.NET.Build.Tasks.dll - 2017-12-20T23:00:54Z - Microsoft.NET.Build.Tasks - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Configuration.dll - 2017-12-20T23:00:46Z - NuGet.Configuration - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.ProjectModel.dll - 2017-12-20T23:00:46Z - NuGet.ProjectModel - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Versioning.dll - 2017-12-20T23:00:46Z - NuGet.Versioning - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Protocol.dll - 2017-12-20T23:00:46Z - NuGet.Protocol - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Packaging.dll - 2017-12-20T23:00:46Z - NuGet.Packaging - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.DependencyResolver.Core.dll - 2017-12-20T23:00:46Z - NuGet.DependencyResolver.Core - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.Packaging.Core.dll - 2017-12-20T23:00:46Z - NuGet.Packaging.Core - - - - C:\Program Files\dotnet\sdk\2.1.4\Newtonsoft.Json.dll - 2017-12-20T23:00:26Z - Newtonsoft.Json - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Dynamic.Runtime.dll - 2017-12-20T15:43:14Z - System.Dynamic.Runtime - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Linq.Expressions.dll - 2017-12-20T15:43:14Z - System.Linq.Expressions - - - - C:\Program Files\dotnet\sdk\2.1.4\NuGet.LibraryModel.dll - 2017-12-20T23:00:46Z - NuGet.LibraryModel - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Serialization.Primitives.dll - 2017-12-20T15:43:16Z - System.Runtime.Serialization.Primitives - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.Build.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.Build - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\Microsoft.Win32.Primitives.dll - 2017-12-20T15:43:14Z - Microsoft.Win32.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.CoreLib.dll - 2017-12-20T15:43:18Z - System.Private.CoreLib - - - - C:\Program Files\dotnet\sdk\2.1.4\vstest.console.dll - 2017-12-20T23:00:32Z - vstest.console - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.dll - 2017-12-20T15:43:16Z - System.Runtime - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Process.dll - 2017-12-20T15:43:14Z - System.Diagnostics.Process - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.ComponentModel.Primitives.dll - 2017-12-20T15:43:14Z - System.ComponentModel.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Extensions.dll - 2017-12-20T15:43:16Z - System.Runtime.Extensions - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.CoreUtilities.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.CoreUtilities - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Debug.dll - 2017-12-20T15:43:14Z - System.Diagnostics.Debug - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Thread.dll - 2017-12-20T15:43:18Z - System.Threading.Thread - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.dll - 2017-12-20T15:43:18Z - System.Threading - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Console.dll - 2017-12-20T15:43:14Z - System.Console - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.dll - 2017-12-20T15:43:14Z - System.IO - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.Encoding.Extensions.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.Extensions.dll + 2018-02-12T14:08:18Z System.Text.Encoding.Extensions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.Tracing.dll - 2017-12-20T15:43:14Z - System.Diagnostics.Tracing - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.dll - 2017-12-20T15:43:14Z - System.Collections - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll - 2017-12-20T23:00:52Z - Microsoft.VisualStudio.TestPlatform.ObjectModel - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.VisualStudio.TestPlatform.Client.dll - 2017-12-20T23:00:52Z - Microsoft.VisualStudio.TestPlatform.Client - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.VisualStudio.TestPlatform.Common.dll - 2017-12-20T23:00:52Z - Microsoft.VisualStudio.TestPlatform.Common - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Linq.dll - 2017-12-20T15:43:16Z - System.Linq - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.dll - 2017-12-20T15:43:16Z - System.Runtime.InteropServices - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Resources.ResourceManager.dll - 2017-12-20T15:43:16Z - System.Resources.ResourceManager - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.Primitives.dll - 2017-12-20T15:43:14Z - System.IO.FileSystem.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.FileSystem.dll - 2017-12-20T15:43:14Z - System.IO.FileSystem - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.ReaderWriter.dll - 2017-12-20T15:43:18Z - System.Xml.ReaderWriter - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.dll + 2018-02-12T14:08:16Z System.Private.Xml - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.PlatformAbstractions.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.PlatformAbstractions + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.ReaderWriter.dll + 2018-02-12T14:08:18Z + System.Xml.ReaderWriter - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XmlDocument.dll - 2017-12-20T15:43:18Z - System.Xml.XmlDocument + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Tracing.dll + 2018-02-12T14:08:14Z + System.Diagnostics.Tracing - - C:\Program Files\dotnet\sdk\2.1.4\System.Xml.XPath.XmlDocument.dll - 2017-12-20T23:00:20Z - System.Xml.XPath.XmlDocument + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Handles.dll + 2018-02-12T14:08:16Z + System.Runtime.Handles - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XPath.dll - 2017-12-20T15:43:18Z - System.Xml.XPath - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.Utilities.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.Utilities - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.InteropServices.RuntimeInformation.dll - 2017-12-20T15:43:16Z - System.Runtime.InteropServices.RuntimeInformation - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Uri.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Uri.dll + 2018-02-12T14:08:16Z System.Private.Uri - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Globalization.dll - 2017-12-20T15:43:14Z - System.Globalization - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Diagnostics.TraceSource.dll - 2017-12-20T15:43:14Z - System.Diagnostics.TraceSource - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.NonGeneric.dll - 2017-12-20T15:43:14Z - System.Collections.NonGeneric - - - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.CrossPlatEngine.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.CrossPlatEngine - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.dll - 2017-12-20T15:43:16Z - System.Reflection - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Tasks.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Tasks.dll + 2018-02-12T14:08:18Z System.Threading.Tasks - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Loader.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Cryptography.Algorithms.dll + 2018-02-12T14:08:16Z + System.Security.Cryptography.Algorithms + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Cryptography.Primitives.dll + 2018-02-12T14:08:16Z + System.Security.Cryptography.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Tasks.Dataflow.dll + 2018-02-12T14:08:18Z + System.Threading.Tasks.Dataflow + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\netstandard.dll + 2018-02-12T14:08:18Z + netstandard + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Resources.ResourceManager.dll + 2018-02-12T14:08:16Z + System.Resources.ResourceManager + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.ObjectModel.dll + 2018-02-12T14:08:14Z + System.ObjectModel + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Thread.dll + 2018-02-12T14:08:18Z + System.Threading.Thread + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XmlDocument.dll + 2018-02-12T14:08:18Z + System.Xml.XmlDocument + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.TraceSource.dll + 2018-02-12T14:08:14Z + System.Diagnostics.TraceSource + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Loader.dll + 2018-02-12T14:08:16Z System.Runtime.Loader - - C:\Program Files\dotnet\sdk\2.1.4\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll - 2017-12-20T23:00:24Z - Microsoft.TestPlatform.Extensions.BlameDataCollector + + C:\Program Files\dotnet\sdk\2.1.101\SdkResolvers\NuGet.MSBuildSdkResolver\NuGet.MSBuildSdkResolver.dll + 2018-02-20T21:09:56Z + NuGet.MSBuildSdkResolver - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.TypeExtensions.dll - 2017-12-20T15:43:16Z - System.Reflection.TypeExtensions + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.FileVersionInfo.dll + 2018-02-12T14:08:14Z + System.Diagnostics.FileVersionInfo - - C:\Program Files\dotnet\sdk\2.1.4\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll - 2017-12-20T23:00:24Z - Microsoft.TestPlatform.Extensions.EventLogCollector - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\mscorlib.dll - 2017-12-20T15:43:14Z - mscorlib - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.dll - 2017-12-20T15:43:18Z - System.Xml - - - - C:\Program Files\dotnet\sdk\2.1.4\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll - 2017-12-20T23:00:24Z - Microsoft.TestPlatform.TestHostRuntimeProvider - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Extensions.dll - 2017-12-20T15:43:16Z - System.Reflection.Extensions - - - - C:\Program Files\dotnet\sdk\2.1.4\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll - 2017-12-20T23:00:24Z - Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Metadata.dll - 2017-12-20T15:43:16Z - System.Reflection.Metadata - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Collections.Immutable.dll - 2017-12-20T15:43:14Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.Immutable.dll + 2018-02-12T14:08:12Z System.Collections.Immutable - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.IO.MemoryMappedFiles.dll - 2017-12-20T15:43:14Z - System.IO.MemoryMappedFiles + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Primitives.dll + 2018-02-12T14:08:16Z + System.Reflection.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\Microsoft.Win32.Primitives.dll - 2017-12-20T15:43:14Z - Microsoft.Win32.Primitives + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Tasks.Parallel.dll + 2018-02-12T14:08:18Z + System.Threading.Tasks.Parallel - - C:\Program Files\dotnet\sdk\2.1.4\Microsoft.TestPlatform.CommunicationUtilities.dll - 2017-12-20T23:00:52Z - Microsoft.TestPlatform.CommunicationUtilities - - - - C:\Program Files\dotnet\sdk\2.1.4\Newtonsoft.Json.dll - 2017-12-20T23:00:26Z - Newtonsoft.Json - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Runtime.Serialization.Primitives.dll - 2017-12-20T15:43:16Z - System.Runtime.Serialization.Primitives - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Timer.dll - 2017-12-20T15:43:18Z - System.Threading.Timer - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.Primitives.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.Primitives.dll + 2018-02-12T14:08:14Z System.Net.Primitives - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.Sockets.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.Build.Tasks.Core.dll + 2018-02-20T21:14:08Z + Microsoft.Build.Tasks.Core + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.ThreadPool.dll + 2018-02-12T14:08:18Z + System.Threading.ThreadPool + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Build.Tasks.dll + 2018-02-20T21:09:52Z + NuGet.Build.Tasks + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Commands.dll + 2018-02-20T21:09:54Z + NuGet.Commands + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Common.dll + 2018-02-20T21:09:52Z + NuGet.Common + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Configuration.dll + 2018-02-20T21:09:52Z + NuGet.Configuration + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.ProjectModel.dll + 2018-02-20T21:09:54Z + NuGet.ProjectModel + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Versioning.dll + 2018-02-20T21:09:54Z + NuGet.Versioning + + + + C:\Program Files\dotnet\sdk\2.1.101\Sdks\Microsoft.NET.Sdk\build\..\tools\netcoreapp1.0/Microsoft.NET.Build.Tasks.dll + 2018-02-20T21:09:16Z + Microsoft.NET.Build.Tasks + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Protocol.dll + 2018-02-20T21:09:54Z + NuGet.Protocol + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Packaging.dll + 2018-02-20T21:09:54Z + NuGet.Packaging + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.DependencyResolver.Core.dll + 2018-02-20T21:09:52Z + NuGet.DependencyResolver.Core + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.Packaging.Core.dll + 2018-02-20T21:09:54Z + NuGet.Packaging.Core + + + + C:\Program Files\dotnet\sdk\2.1.101\Newtonsoft.Json.dll + 2018-02-20T21:09:22Z + Newtonsoft.Json + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Dynamic.Runtime.dll + 2018-02-12T14:08:14Z + System.Dynamic.Runtime + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Linq.Expressions.dll + 2018-02-12T14:08:14Z + System.Linq.Expressions + + + + C:\Program Files\dotnet\sdk\2.1.101\NuGet.LibraryModel.dll + 2018-02-20T21:09:52Z + NuGet.LibraryModel + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Serialization.Primitives.dll + 2018-02-12T14:08:16Z + System.Runtime.Serialization.Primitives + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.Build.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.Build + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\Microsoft.Win32.Primitives.dll + 2018-02-12T14:08:12Z + Microsoft.Win32.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.CoreLib.dll + 2018-02-12T14:08:18Z + System.Private.CoreLib + + + + C:\Program Files\dotnet\sdk\2.1.101\vstest.console.dll + 2018-02-20T21:09:52Z + vstest.console + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.dll + 2018-02-12T14:08:16Z + System.Runtime + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Process.dll + 2018-02-12T14:08:14Z + System.Diagnostics.Process + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.ComponentModel.Primitives.dll + 2018-02-12T14:08:12Z + System.ComponentModel.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Extensions.dll + 2018-02-12T14:08:16Z + System.Runtime.Extensions + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.CoreUtilities.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.CoreUtilities + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Debug.dll + 2018-02-12T14:08:14Z + System.Diagnostics.Debug + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Thread.dll + 2018-02-12T14:08:18Z + System.Threading.Thread + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.dll + 2018-02-12T14:08:18Z + System.Threading + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Console.dll + 2018-02-12T14:08:14Z + System.Console + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.dll + 2018-02-12T14:08:14Z + System.IO + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.Extensions.dll + 2018-02-12T14:08:18Z + System.Text.Encoding.Extensions + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.Tracing.dll + 2018-02-12T14:08:14Z + System.Diagnostics.Tracing + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.dll + 2018-02-12T14:08:12Z + System.Collections + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll + 2018-02-20T21:14:10Z + Microsoft.VisualStudio.TestPlatform.ObjectModel + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.VisualStudio.TestPlatform.Client.dll + 2018-02-20T21:14:10Z + Microsoft.VisualStudio.TestPlatform.Client + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.VisualStudio.TestPlatform.Common.dll + 2018-02-20T21:14:10Z + Microsoft.VisualStudio.TestPlatform.Common + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Linq.dll + 2018-02-12T14:08:14Z + System.Linq + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.dll + 2018-02-12T14:08:16Z + System.Runtime.InteropServices + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Resources.ResourceManager.dll + 2018-02-12T14:08:16Z + System.Resources.ResourceManager + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.Primitives.dll + 2018-02-12T14:08:14Z + System.IO.FileSystem.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.FileSystem.dll + 2018-02-12T14:08:14Z + System.IO.FileSystem + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.ReaderWriter.dll + 2018-02-12T14:08:18Z + System.Xml.ReaderWriter + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.dll + 2018-02-12T14:08:16Z + System.Private.Xml + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.PlatformAbstractions.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.PlatformAbstractions + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XmlDocument.dll + 2018-02-12T14:08:18Z + System.Xml.XmlDocument + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.Utilities.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.Utilities + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.InteropServices.RuntimeInformation.dll + 2018-02-12T14:08:16Z + System.Runtime.InteropServices.RuntimeInformation + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Uri.dll + 2018-02-12T14:08:16Z + System.Private.Uri + + + + C:\Program Files\dotnet\sdk\2.1.101\System.Xml.XPath.XmlDocument.dll + 2018-02-20T21:16:44Z + System.Xml.XPath.XmlDocument + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XPath.dll + 2018-02-12T14:08:18Z + System.Xml.XPath + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Globalization.dll + 2018-02-12T14:08:14Z + System.Globalization + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.TraceSource.dll + 2018-02-12T14:08:14Z + System.Diagnostics.TraceSource + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.NonGeneric.dll + 2018-02-12T14:08:12Z + System.Collections.NonGeneric + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.CrossPlatEngine.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.CrossPlatEngine + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.dll + 2018-02-12T14:08:16Z + System.Reflection + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Tasks.dll + 2018-02-12T14:08:18Z + System.Threading.Tasks + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Loader.dll + 2018-02-12T14:08:16Z + System.Runtime.Loader + + + + C:\Program Files\dotnet\sdk\2.1.101\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll + 2018-02-20T21:13:38Z + Microsoft.TestPlatform.Extensions.BlameDataCollector + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.TypeExtensions.dll + 2018-02-12T14:08:16Z + System.Reflection.TypeExtensions + + + + C:\Program Files\dotnet\sdk\2.1.101\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll + 2018-02-20T21:13:38Z + Microsoft.TestPlatform.Extensions.EventLogCollector + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\mscorlib.dll + 2018-02-12T14:08:12Z + mscorlib + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.dll + 2018-02-12T14:08:18Z + System.Xml + + + + C:\Program Files\dotnet\sdk\2.1.101\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll + 2018-02-20T21:13:38Z + Microsoft.TestPlatform.TestHostRuntimeProvider + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Extensions.dll + 2018-02-12T14:08:16Z + System.Reflection.Extensions + + + + C:\Program Files\dotnet\sdk\2.1.101\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll + 2018-02-20T21:13:38Z + Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Metadata.dll + 2018-02-12T14:08:16Z + System.Reflection.Metadata + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Collections.Immutable.dll + 2018-02-12T14:08:12Z + System.Collections.Immutable + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.IO.MemoryMappedFiles.dll + 2018-02-12T14:08:14Z + System.IO.MemoryMappedFiles + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\Microsoft.Win32.Primitives.dll + 2018-02-12T14:08:12Z + Microsoft.Win32.Primitives + + + + C:\Program Files\dotnet\sdk\2.1.101\Microsoft.TestPlatform.CommunicationUtilities.dll + 2018-02-20T21:14:10Z + Microsoft.TestPlatform.CommunicationUtilities + + + + C:\Program Files\dotnet\sdk\2.1.101\Newtonsoft.Json.dll + 2018-02-20T21:09:22Z + Newtonsoft.Json + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Runtime.Serialization.Primitives.dll + 2018-02-12T14:08:16Z + System.Runtime.Serialization.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Timer.dll + 2018-02-12T14:08:18Z + System.Threading.Timer + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.Primitives.dll + 2018-02-12T14:08:14Z + System.Net.Primitives + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.Sockets.dll + 2018-02-12T14:08:14Z System.Net.Sockets - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.Overlapped.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.Overlapped.dll + 2018-02-12T14:08:18Z System.Threading.Overlapped - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Net.NameResolution.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Net.NameResolution.dll + 2018-02-12T14:08:14Z System.Net.NameResolution - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Threading.ThreadPool.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Threading.ThreadPool.dll + 2018-02-12T14:08:18Z System.Threading.ThreadPool @@ -1184,45 +1190,45 @@ mscorlib - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\testhost.x86.exe - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\testhost.x86.exe + 2018-02-20T21:09:52Z testhost.x86 - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.TestPlatform.CoreUtilities.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.TestPlatform.CoreUtilities.dll + 2018-02-20T21:10:48Z Microsoft.TestPlatform.CoreUtilities - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.TestPlatform.PlatformAbstractions.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.TestPlatform.PlatformAbstractions.dll + 2018-02-20T21:10:48Z Microsoft.TestPlatform.PlatformAbstractions - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll + 2018-02-20T21:10:48Z Microsoft.VisualStudio.TestPlatform.ObjectModel - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.TestPlatform.CrossPlatEngine.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.TestPlatform.CrossPlatEngine.dll + 2018-02-20T21:10:48Z Microsoft.TestPlatform.CrossPlatEngine - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.TestPlatform.CommunicationUtilities.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.TestPlatform.CommunicationUtilities.dll + 2018-02-20T21:10:48Z Microsoft.TestPlatform.CommunicationUtilities - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Microsoft.VisualStudio.TestPlatform.Common.dll - 2017-12-20T23:00:32Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Microsoft.VisualStudio.TestPlatform.Common.dll + 2018-02-20T21:10:48Z Microsoft.VisualStudio.TestPlatform.Common @@ -1244,81 +1250,87 @@ System.Xml - - C:\Program Files\dotnet\sdk\2.1.4\TestHost\Newtonsoft.Json.dll - 2017-12-20T23:00:26Z + + C:\Program Files\dotnet\sdk\2.1.101\TestHost\Newtonsoft.Json.dll + 2018-02-20T21:09:22Z Newtonsoft.Json - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Principal.Windows.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Principal.Windows.dll + 2018-02-12T14:08:16Z System.Security.Principal.Windows - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Dynamic.Runtime.dll - 2017-12-20T15:43:14Z - System.Dynamic.Runtime + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.Encoding.dll + 2018-02-12T14:08:18Z + System.Text.Encoding - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Claims.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Claims.dll + 2018-02-12T14:08:16Z System.Security.Claims - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Linq.Expressions.dll - 2017-12-20T15:43:14Z - System.Linq.Expressions - - - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Security.Principal.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Security.Principal.dll + 2018-02-12T14:08:16Z System.Security.Principal - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.ObjectModel.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Dynamic.Runtime.dll + 2018-02-12T14:08:14Z + System.Dynamic.Runtime + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Linq.Expressions.dll + 2018-02-12T14:08:14Z + System.Linq.Expressions + + + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.ObjectModel.dll + 2018-02-12T14:08:14Z System.ObjectModel - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Xml.XDocument.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Xml.XDocument.dll + 2018-02-12T14:08:18Z System.Xml.XDocument - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Private.Xml.Linq.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Private.Xml.Linq.dll + 2018-02-12T14:08:16Z System.Private.Xml.Linq - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Text.RegularExpressions.dll - 2017-12-20T15:43:18Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Text.RegularExpressions.dll + 2018-02-12T14:08:18Z System.Text.RegularExpressions - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Emit.ILGeneration.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Emit.ILGeneration.dll + 2018-02-12T14:08:16Z System.Reflection.Emit.ILGeneration - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Emit.Lightweight.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Emit.Lightweight.dll + 2018-02-12T14:08:16Z System.Reflection.Emit.Lightweight - - C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.5\System.Reflection.Primitives.dll - 2017-12-20T15:43:16Z + + C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Primitives.dll + 2018-02-12T14:08:16Z System.Reflection.Primitives @@ -1406,6 +1418,12 @@ Microsoft.Owin.Hosting + + C:\Users\azureuser\Documents\Github\WireMock.Net\test\WireMock.Net.Tests\bin\Debug\net452\MimeKitLite.dll + 2018-01-06T11:55:46Z + MimeKitLite + + C:\Users\azureuser\Documents\Github\WireMock.Net\test\WireMock.Net.Tests\bin\Debug\net452\Moq.dll 2018-02-23T10:08:52Z @@ -1472,10 +1490,10 @@ System.Web.Http.Owin - - + + C:\Users\azureuser\Documents\Github\WireMock.Net\test\WireMock.Net.Tests\bin\Debug\net452\WireMock.Net.dll - 2018-03-15T21:50:30.7488839Z + 2018-03-17T12:18:01.5919126Z WireMock.Net @@ -1535,26 +1553,28 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -1975,7 +1995,7 @@ - 100664197 + 100664199 System.Void WireMock.Mapping/<ResponseToAsync>d__31::.ctor() @@ -1983,7 +2003,7 @@ - 100664198 + 100664200 System.Void WireMock.Mapping/<ResponseToAsync>d__31::MoveNext() @@ -1995,7 +2015,7 @@ - 100664199 + 100664201 System.Void WireMock.Mapping/<ResponseToAsync>d__31::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -2388,7 +2408,7 @@ - 100664200 + 100664202 System.Void WireMock.RequestMessage/<>c::.cctor() @@ -2396,7 +2416,7 @@ - 100664201 + 100664203 System.Void WireMock.RequestMessage/<>c::.ctor() @@ -2404,7 +2424,7 @@ - 100664202 + 100664204 System.String WireMock.RequestMessage/<>c::<.ctor>b__54_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -2415,7 +2435,7 @@ - 100664203 + 100664205 WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__54_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -2426,7 +2446,7 @@ - 100664204 + 100664206 System.String WireMock.RequestMessage/<>c::<.ctor>b__55_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -2437,7 +2457,7 @@ - 100664205 + 100664207 WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__55_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -2448,7 +2468,7 @@ - 100664206 + 100664208 System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage/<>c::<ParseQuery>b__56_0(System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.String) @@ -2937,7 +2957,7 @@ - 100664207 + 100664209 System.Void WireMock.Validation.Check/<>c__6`1::.cctor() @@ -2945,7 +2965,7 @@ - 100664208 + 100664210 System.Void WireMock.Validation.Check/<>c__6`1::.ctor() @@ -2953,7 +2973,7 @@ - 100664209 + 100664211 System.Boolean WireMock.Validation.Check/<>c__6`1::<HasNoNulls>b__6_0(T) @@ -3171,7 +3191,7 @@ - 100664210 + 100664212 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::.ctor() @@ -3179,7 +3199,7 @@ - 100664211 + 100664213 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::MoveNext() @@ -3197,7 +3217,7 @@ - 100664212 + 100664214 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -3211,7 +3231,7 @@ - 100664213 + 100664215 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::.ctor() @@ -3219,7 +3239,7 @@ - 100664214 + 100664216 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::MoveNext() @@ -3237,7 +3257,7 @@ - 100664215 + 100664217 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -3251,7 +3271,7 @@ - 100664216 + 100664218 System.Void WireMock.Util.BodyParser/<>c__DisplayClass3_0::.ctor() @@ -3259,7 +3279,7 @@ - 100664217 + 100664219 System.Boolean WireMock.Util.BodyParser/<>c__DisplayClass3_0::<Parse>b__0(System.String) @@ -3276,7 +3296,7 @@ - 100664218 + 100664220 System.Void WireMock.Util.BodyParser/<Parse>d__3::.ctor() @@ -3284,7 +3304,7 @@ - 100664219 + 100664221 System.Void WireMock.Util.BodyParser/<Parse>d__3::MoveNext() @@ -3332,7 +3352,7 @@ - 100664220 + 100664222 System.Void WireMock.Util.BodyParser/<Parse>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -3876,7 +3896,7 @@ - 100664221 + 100664223 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.cctor() @@ -3884,7 +3904,7 @@ - 100664222 + 100664224 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.ctor() @@ -3892,7 +3912,7 @@ - 100664223 + 100664225 System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__11_0(System.Int32) @@ -3903,7 +3923,7 @@ - 100664224 + 100664226 System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__12_0(System.Int32) @@ -3914,7 +3934,7 @@ - 100664225 + 100664227 System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__13_0(System.Int32) @@ -4115,7 +4135,7 @@ - 100664226 + 100664228 System.Void WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::.ctor() @@ -4123,7 +4143,7 @@ - 100664227 + 100664229 System.String WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::<Transform>b__0(System.Func`2<System.Object,System.String>) @@ -6146,7 +6166,7 @@ - 100664228 + 100664230 System.Void WireMock.Server.FluentMockServer/<>c::.cctor() @@ -6154,7 +6174,7 @@ - 100664229 + 100664231 System.Void WireMock.Server.FluentMockServer/<>c::.ctor() @@ -6162,7 +6182,7 @@ - 100664230 + 100664232 System.String WireMock.Server.FluentMockServer/<>c::<ReadStaticMappings>b__10_0(System.String) @@ -6173,7 +6193,7 @@ - 100664231 + 100664233 System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsSave>b__22_0(WireMock.Mapping) @@ -6184,7 +6204,7 @@ - 100664232 + 100664234 System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsGet>b__25_0(WireMock.Mapping) @@ -6195,7 +6215,7 @@ - 100664233 + 100664235 System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsGet>b__31_0(WireMock.Logging.LogEntry) @@ -6206,7 +6226,7 @@ - 100664234 + 100664236 System.Object WireMock.Server.FluentMockServer/<>c::<ToLogEntryModel>b__32_0(System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>) @@ -6217,7 +6237,7 @@ - 100664235 + 100664237 System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_2(WireMock.Logging.LogEntry) @@ -6228,7 +6248,7 @@ - 100664236 + 100664238 System.Double WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) @@ -6239,7 +6259,7 @@ - 100664237 + 100664239 WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) @@ -6250,7 +6270,7 @@ - 100664238 + 100664240 <>f__AnonymousType2`3<System.String,System.Boolean,System.Object> WireMock.Server.FluentMockServer/<>c::<ScenariosGet>b__35_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Object>) @@ -6261,7 +6281,7 @@ - 100664239 + 100664241 System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_0(WireMock.Admin.Mappings.HeaderModel) @@ -6272,7 +6292,7 @@ - 100664240 + 100664242 System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_1(WireMock.Admin.Mappings.CookieModel) @@ -6283,7 +6303,7 @@ - 100664241 + 100664243 System.String WireMock.Server.FluentMockServer/<>c::<.ctor>b__64_0(System.String) @@ -6294,7 +6314,7 @@ - 100664242 + 100664244 WireMock.ResponseMessage WireMock.Server.FluentMockServer/<>c::<AddCatchAllMapping>b__66_0(WireMock.RequestMessage) @@ -6305,7 +6325,7 @@ - 100664243 + 100664245 System.Boolean WireMock.Server.FluentMockServer/<>c::<ResetMappings>b__69_0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) @@ -6316,7 +6336,7 @@ - 100664244 + 100664246 WireMock.Matchers.Request.RequestMatchResult WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) @@ -6327,7 +6347,7 @@ - 100664245 + 100664247 WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) @@ -6344,7 +6364,7 @@ - 100664246 + 100664248 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::.ctor() @@ -6352,7 +6372,7 @@ - 100664247 + 100664249 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::MoveNext() @@ -6383,7 +6403,7 @@ - 100664248 + 100664250 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -6397,7 +6417,7 @@ - 100664249 + 100664251 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::.ctor() @@ -6405,7 +6425,7 @@ - 100664250 + 100664252 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__0(System.String,WireMock.Util.WireMockList`1<System.String>) @@ -6416,7 +6436,7 @@ - 100664251 + 100664253 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__1(System.String,System.String) @@ -6427,7 +6447,7 @@ - 100664252 + 100664254 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__2(System.String,WireMock.Util.WireMockList`1<System.String>) @@ -6452,7 +6472,7 @@ - 100664253 + 100664255 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::.ctor() @@ -6460,7 +6480,7 @@ - 100664254 + 100664256 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::<ToMapping>b__3(System.String) @@ -6477,7 +6497,7 @@ - 100664255 + 100664257 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::.ctor() @@ -6485,7 +6505,7 @@ - 100664256 + 100664258 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::<MappingGet>b__0(WireMock.Mapping) @@ -6502,7 +6522,7 @@ - 100664257 + 100664259 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::.ctor() @@ -6510,7 +6530,7 @@ - 100664258 + 100664260 System.String WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::<SanitizeFileName>b__0(System.String,System.Char) @@ -6527,7 +6547,7 @@ - 100664259 + 100664261 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::.ctor() @@ -6535,7 +6555,7 @@ - 100664260 + 100664262 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::<RequestGet>b__0(WireMock.Logging.LogEntry) @@ -6552,7 +6572,7 @@ - 100664261 + 100664263 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::.ctor() @@ -6560,7 +6580,7 @@ - 100664262 + 100664264 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::<DeleteMapping>b__0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) @@ -6577,7 +6597,7 @@ - 100664263 + 100664265 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::.ctor() @@ -6585,7 +6605,7 @@ - 100664264 + 100664266 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::<DeleteLogEntry>b__0(WireMock.Logging.LogEntry) @@ -6923,7 +6943,7 @@ - 100664265 + 100664267 System.Void WireMock.Serialization.MappingConverter/<>c::.cctor() @@ -6931,7 +6951,7 @@ - 100664266 + 100664268 System.Void WireMock.Serialization.MappingConverter/<>c::.ctor() @@ -6939,7 +6959,7 @@ - 100664267 + 100664269 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_4(WireMock.Matchers.Request.RequestMessageClientIPMatcher) @@ -6950,7 +6970,7 @@ - 100664268 + 100664270 System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_5(WireMock.Matchers.Request.RequestMessageClientIPMatcher) @@ -6961,7 +6981,7 @@ - 100664269 + 100664271 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_6(WireMock.Matchers.Request.RequestMessageClientIPMatcher) @@ -6972,7 +6992,7 @@ - 100664270 + 100664272 System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_7(WireMock.Matchers.Request.RequestMessageClientIPMatcher) @@ -6983,7 +7003,7 @@ - 100664271 + 100664273 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_8(WireMock.Matchers.Request.RequestMessagePathMatcher) @@ -6994,7 +7014,7 @@ - 100664272 + 100664274 System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_9(WireMock.Matchers.Request.RequestMessagePathMatcher) @@ -7005,7 +7025,7 @@ - 100664273 + 100664275 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_10(WireMock.Matchers.Request.RequestMessagePathMatcher) @@ -7016,7 +7036,7 @@ - 100664274 + 100664276 System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_11(WireMock.Matchers.Request.RequestMessagePathMatcher) @@ -7027,7 +7047,7 @@ - 100664275 + 100664277 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_12(WireMock.Matchers.Request.RequestMessageUrlMatcher) @@ -7038,7 +7058,7 @@ - 100664276 + 100664278 System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_13(WireMock.Matchers.Request.RequestMessageUrlMatcher) @@ -7049,7 +7069,7 @@ - 100664277 + 100664279 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_14(WireMock.Matchers.Request.RequestMessageUrlMatcher) @@ -7060,7 +7080,7 @@ - 100664278 + 100664280 System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_15(WireMock.Matchers.Request.RequestMessageUrlMatcher) @@ -7071,7 +7091,7 @@ - 100664279 + 100664281 WireMock.Admin.Mappings.HeaderModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_0(WireMock.Matchers.Request.RequestMessageHeaderMatcher) @@ -7082,7 +7102,7 @@ - 100664280 + 100664282 WireMock.Admin.Mappings.CookieModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_1(WireMock.Matchers.Request.RequestMessageCookieMatcher) @@ -7093,7 +7113,7 @@ - 100664281 + 100664283 WireMock.Admin.Mappings.ParamModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_2(WireMock.Matchers.Request.RequestMessageParamMatcher) @@ -7107,7 +7127,7 @@ - 100664282 + 100664284 System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_3(System.String) @@ -7124,7 +7144,7 @@ - 100664283 + 100664285 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.cctor() @@ -7132,7 +7152,7 @@ - 100664284 + 100664286 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.ctor() @@ -7140,7 +7160,7 @@ - 100664285 + 100664287 System.Boolean WireMock.Serialization.MappingConverter/<>c__2`1::<Map>b__2_0(System.String) @@ -7206,7 +7226,7 @@ - 100664286 + 100664288 System.Void WireMock.Serialization.MatcherMapper/<>c::.cctor() @@ -7214,7 +7234,7 @@ - 100664287 + 100664289 System.Void WireMock.Serialization.MatcherMapper/<>c::.ctor() @@ -7222,7 +7242,7 @@ - 100664288 + 100664290 System.Boolean WireMock.Serialization.MatcherMapper/<>c::<Map>b__0_0(WireMock.Admin.Mappings.MatcherModel) @@ -7932,7 +7952,7 @@ - 100664289 + 100664291 System.Void WireMock.ResponseBuilders.Response/<>c::.cctor() @@ -7940,7 +7960,7 @@ - 100664290 + 100664292 System.Void WireMock.ResponseBuilders.Response/<>c::.ctor() @@ -7948,7 +7968,7 @@ - 100664291 + 100664293 System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) @@ -7959,7 +7979,7 @@ - 100664292 + 100664294 WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) @@ -7970,7 +7990,7 @@ - 100664293 + 100664295 System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -7981,7 +8001,7 @@ - 100664294 + 100664296 WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) @@ -7992,7 +8012,7 @@ - 100664295 + 100664297 System.Boolean WireMock.ResponseBuilders.Response/<>c::<WithDelay>b__42_0(System.TimeSpan) @@ -8009,7 +8029,7 @@ - 100664296 + 100664298 System.Void WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::.ctor() @@ -8017,7 +8037,7 @@ - 100664297 + 100664299 WireMock.ResponseMessage WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::<WithBody>b__0(WireMock.RequestMessage) @@ -8034,7 +8054,7 @@ - 100664298 + 100664300 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::.ctor() @@ -8042,7 +8062,7 @@ - 100664299 + 100664301 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::MoveNext() @@ -8079,7 +8099,7 @@ - 100664300 + 100664302 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -8661,7 +8681,7 @@ - 100664301 + 100664303 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.cctor() @@ -8669,7 +8689,7 @@ - 100664302 + 100664304 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.ctor() @@ -8677,7 +8697,7 @@ - 100664303 + 100664305 System.Boolean WireMock.RequestBuilders.Request/<>c__3`1::<GetRequestMessageMatchers>b__3_0(WireMock.Matchers.Request.IRequestMatcher) @@ -8694,7 +8714,7 @@ - 100664304 + 100664306 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.cctor() @@ -8702,7 +8722,7 @@ - 100664305 + 100664307 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.ctor() @@ -8710,7 +8730,7 @@ - 100664306 + 100664308 System.Boolean WireMock.RequestBuilders.Request/<>c__4`1::<GetRequestMessageMatcher>b__4_0(WireMock.Matchers.Request.IRequestMatcher) @@ -8727,7 +8747,7 @@ - 100664307 + 100664309 System.Void WireMock.RequestBuilders.Request/<>c::.cctor() @@ -8735,7 +8755,7 @@ - 100664308 + 100664310 System.Void WireMock.RequestBuilders.Request/<>c::.ctor() @@ -8743,7 +8763,7 @@ - 100664309 + 100664311 System.Boolean WireMock.RequestBuilders.Request/<>c::<UsingAnyVerb>b__20_0(WireMock.Matchers.Request.IRequestMatcher) @@ -8789,7 +8809,7 @@ - 100664310 + 100664312 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::.ctor() @@ -8797,7 +8817,7 @@ - 100664311 + 100664313 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::MoveNext() @@ -8822,7 +8842,7 @@ - 100664312 + 100664314 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -8871,7 +8891,7 @@ - 100664313 + 100664315 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::.ctor() @@ -8879,7 +8899,7 @@ - 100664314 + 100664316 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::MoveNext() @@ -8929,7 +8949,7 @@ - 100664315 + 100664317 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -8979,7 +8999,7 @@ - 100664316 + 100664318 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::.ctor() @@ -8987,7 +9007,7 @@ - 100664317 + 100664319 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::MoveNext() @@ -9052,7 +9072,7 @@ - 100664318 + 100664320 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -9066,7 +9086,7 @@ - 100664319 + 100664321 System.Void WireMock.Owin.OwinResponseMapper/<>c::.cctor() @@ -9074,7 +9094,7 @@ - 100664320 + 100664322 System.Void WireMock.Owin.OwinResponseMapper/<>c::.ctor() @@ -9082,7 +9102,7 @@ - 100664321 + 100664323 System.Void WireMock.Owin.OwinResponseMapper/<>c::<.cctor>b__4_0(Microsoft.Owin.IOwinResponse,WireMock.Util.WireMockList`1<System.String>) @@ -9370,7 +9390,7 @@ - 100664322 + 100664324 System.Void WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::.ctor() @@ -9378,7 +9398,7 @@ - 100664323 + 100664325 <>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult> WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::<Invoke>b__0(WireMock.Mapping) @@ -9398,7 +9418,7 @@ - 100664324 + 100664326 System.Void WireMock.Owin.WireMockMiddleware/<>c::.cctor() @@ -9406,7 +9426,7 @@ - 100664325 + 100664327 System.Void WireMock.Owin.WireMockMiddleware/<>c::.ctor() @@ -9414,7 +9434,7 @@ - 100664326 + 100664328 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_1(WireMock.Mapping) @@ -9428,7 +9448,7 @@ - 100664327 + 100664329 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_2(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9439,7 +9459,7 @@ - 100664328 + 100664330 WireMock.Matchers.Request.RequestMatchResult WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_3(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9450,7 +9470,7 @@ - 100664329 + 100664331 System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_4(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9461,7 +9481,7 @@ - 100664330 + 100664332 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_5(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9472,7 +9492,7 @@ - 100664331 + 100664333 System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_6(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9483,7 +9503,7 @@ - 100664332 + 100664334 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_7(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) @@ -9500,7 +9520,7 @@ - 100664333 + 100664335 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::.ctor() @@ -9508,7 +9528,7 @@ - 100664334 + 100664336 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::MoveNext() @@ -9617,7 +9637,7 @@ - 100664335 + 100664337 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) @@ -9919,7 +9939,7 @@ - 100664336 + 100664338 System.Void WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::.ctor() @@ -9927,7 +9947,7 @@ - 100664337 + 100664339 System.Boolean WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) @@ -10102,7 +10122,7 @@ - 100664338 + 100664340 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::.ctor() @@ -10110,7 +10130,7 @@ - 100664339 + 100664341 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) @@ -10127,7 +10147,7 @@ - 100664340 + 100664342 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::.ctor() @@ -10135,7 +10155,7 @@ - 100664341 + 100664343 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::<IsMatch>b__0(System.String) @@ -10310,7 +10330,7 @@ - 100664342 + 100664344 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::.ctor() @@ -10318,7 +10338,7 @@ - 100664343 + 100664345 System.Text.RegularExpressions.Regex WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::<.ctor>b__0(System.String) @@ -10335,7 +10355,7 @@ - 100664344 + 100664346 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::.ctor() @@ -10343,7 +10363,7 @@ - 100664345 + 100664347 System.Boolean WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.Text.RegularExpressions.Regex) @@ -10486,7 +10506,7 @@ - 100664346 + 100664348 System.Void WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::.ctor() @@ -10494,7 +10514,7 @@ - 100664347 + 100664349 System.Double WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.String) @@ -10570,7 +10590,7 @@ - 100664348 + 100664350 System.Void WireMock.Matchers.WildcardMatcher/<>c::.cctor() @@ -10578,7 +10598,7 @@ - 100664349 + 100664351 System.Void WireMock.Matchers.WildcardMatcher/<>c::.ctor() @@ -10586,7 +10606,7 @@ - 100664350 + 100664352 System.String WireMock.Matchers.WildcardMatcher/<>c::<.ctor>b__2_0(System.String) @@ -10674,7 +10694,7 @@ - 100664351 + 100664353 System.Void WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::.ctor() @@ -10682,7 +10702,7 @@ - 100664352 + 100664354 System.Boolean WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) @@ -11150,7 +11170,7 @@ - 100664353 + 100664355 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.cctor() @@ -11158,7 +11178,7 @@ - 100664354 + 100664356 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.ctor() @@ -11166,7 +11186,7 @@ - 100664355 + 100664357 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::<.ctor>b__6_0(System.String) @@ -11183,7 +11203,7 @@ - 100664356 + 100664358 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::.ctor() @@ -11191,7 +11211,7 @@ - 100664357 + 100664359 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) @@ -11202,7 +11222,7 @@ - 100664358 + 100664360 System.Boolean WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) @@ -11276,7 +11296,7 @@ - 100664359 + 100664361 System.Void WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::.ctor() @@ -11284,7 +11304,7 @@ - 100664360 + 100664362 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__0(WireMock.Matchers.Request.IRequestMatcher) @@ -11295,7 +11315,7 @@ - 100664361 + 100664363 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__1(WireMock.Matchers.Request.IRequestMatcher) @@ -11449,7 +11469,7 @@ - 100664362 + 100664364 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::.ctor() @@ -11457,7 +11477,7 @@ - 100664363 + 100664365 System.Boolean WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>) @@ -11468,7 +11488,7 @@ - 100664364 + 100664366 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) @@ -11639,7 +11659,7 @@ - 100664365 + 100664367 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::.ctor() @@ -11647,7 +11667,7 @@ - 100664366 + 100664368 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::<.ctor>b__0(System.String) @@ -11664,7 +11684,7 @@ - 100664367 + 100664369 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::.ctor() @@ -11672,7 +11692,7 @@ - 100664368 + 100664370 System.Boolean WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>) @@ -11683,7 +11703,7 @@ - 100664369 + 100664371 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) @@ -11700,7 +11720,7 @@ - 100664370 + 100664372 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::.ctor() @@ -11708,7 +11728,7 @@ - 100664371 + 100664373 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::<IsMatch>b__4(System.String) @@ -11725,7 +11745,7 @@ - 100664372 + 100664374 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.cctor() @@ -11733,7 +11753,7 @@ - 100664373 + 100664375 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.ctor() @@ -11741,7 +11761,7 @@ - 100664374 + 100664376 System.String WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_2(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) @@ -11752,7 +11772,7 @@ - 100664375 + 100664377 System.String[] WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_3(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) @@ -11828,7 +11848,7 @@ - 100664376 + 100664378 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.cctor() @@ -11836,7 +11856,7 @@ - 100664377 + 100664379 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.ctor() @@ -11844,7 +11864,7 @@ - 100664378 + 100664380 System.String WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::<.ctor>b__3_0(System.String) @@ -11989,7 +12009,7 @@ - 100664379 + 100664381 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::.ctor() @@ -11997,7 +12017,7 @@ - 100664380 + 100664382 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>) @@ -12008,7 +12028,7 @@ - 100664381 + 100664383 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(System.String) @@ -12134,7 +12154,7 @@ - 100664382 + 100664384 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.cctor() @@ -12142,7 +12162,7 @@ - 100664383 + 100664385 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.ctor() @@ -12150,7 +12170,7 @@ - 100664384 + 100664386 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::<.ctor>b__6_0(System.String) @@ -12167,7 +12187,7 @@ - 100664385 + 100664387 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::.ctor() @@ -12175,7 +12195,7 @@ - 100664386 + 100664388 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) @@ -12186,7 +12206,7 @@ - 100664387 + 100664389 System.Boolean WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) @@ -12363,7 +12383,7 @@ - 100664388 + 100664390 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.cctor() @@ -12371,7 +12391,7 @@ - 100664389 + 100664391 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.ctor() @@ -12379,7 +12399,7 @@ - 100664390 + 100664392 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::<.ctor>b__6_0(System.String) @@ -12396,7 +12416,7 @@ - 100664391 + 100664393 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::.ctor() @@ -12404,7 +12424,7 @@ - 100664392 + 100664394 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) @@ -12415,7 +12435,7 @@ - 100664393 + 100664395 System.Boolean WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) @@ -12724,27 +12744,27 @@ System.Net.Http.HttpClient WireMock.Http.HttpClientHelper::CreateHttpClient(System.String) - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - + @@ -12757,12 +12777,12 @@ - + WireMock.Http.HttpClientHelper/<>c - 100664394 + 100664396 System.Void WireMock.Http.HttpClientHelper/<>c::.cctor() @@ -12770,7 +12790,7 @@ - 100664395 + 100664397 System.Void WireMock.Http.HttpClientHelper/<>c::.ctor() @@ -12778,166 +12798,54 @@ - 100664396 + 100664398 System.Boolean WireMock.Http.HttpClientHelper/<>c::<CreateHttpClient>b__0_0(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors) - + - - - - - 100664397 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - - - - - - - - - - 100664398 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_2(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - - - - - - - - - - 100664399 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - - - - - - + - + WireMock.Http.HttpClientHelper/<SendAsync>d__1 - 100664400 + 100664399 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::.ctor() - + - - - 100664401 + + + 100664400 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::MoveNext() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - 100664402 + 100664401 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -12946,66 +12854,323 @@ WireMock.Http.HttpKnownHeaderNames + + + WireMock.Http.HttpRequestMessageHelper + + + + 100663967 + System.Net.Http.HttpRequestMessage WireMock.Http.HttpRequestMessageHelper::Create(WireMock.RequestMessage,System.String) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0 + + + + 100664402 + System.Void WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::.ctor() + + + + + + + 100664403 + System.Boolean WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::<Create>b__0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper + + + + 100663968 + System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Http.HttpResponseMessageHelper::Create(System.Net.Http.HttpResponseMessage,System.Uri,System.Uri) + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<>c + + + + 100664404 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.cctor() + + + + + + + 100664405 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.ctor() + + + + + + + 100664406 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + 100664407 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<Create>d__0 + + + + 100664408 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::.ctor() + + + + + + + 100664409 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::MoveNext() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100664410 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) + + + + + + WireMock.Http.PortUtil - 100663967 + 100663969 System.Int32 WireMock.Http.PortUtil::FindFreeTcpPort() - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663968 + 100663970 System.Boolean WireMock.Http.PortUtil::TryExtractProtocolAndPort(System.String,System.String&,System.Int32&) - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663969 + 100663971 System.Void WireMock.Http.PortUtil::.cctor() - + - + - + @@ -13015,35 +13180,35 @@ - 100663970 + 100663972 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.ClientCertificateHelper::GetCertificate(System.String) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -13053,17 +13218,17 @@ - 100663971 + 100663973 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.PublicCertificateHelper::GetX509Certificate2() - + - - - - + + + + - + @@ -13071,101 +13236,101 @@ WireMock.Admin.Settings.SettingsModel - - - 100663994 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() - - - - - - - - - - 100663995 - System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) - - - - - - - 100663996 - System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() + - + - + 100663997 - System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) + - + - + 100663998 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() - + System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() + - + - + 100663999 - System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) + - + - + 100664000 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() + - + - + 100664001 - System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) + - + - + + + + + 100664002 + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() + + + + + + + + + + 100664003 + System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) + + + + + + - 100664002 + 100664004 System.Void WireMock.Admin.Settings.SettingsModel::.ctor() - + @@ -13173,145 +13338,145 @@ WireMock.Admin.Requests.LogEntryModel - - - 100664003 - System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() - - - - - - - - - - 100664004 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) - - - - - - - 100664005 - WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() - + System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() + - + - + 100664006 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) + - + - + 100664007 - WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() - + WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() + - + - + 100664008 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) + - + - + 100664009 - System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() - + WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() + - + - + 100664010 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) + - + - + 100664011 - System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() - + System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() + - + - + 100664012 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) + - + - + 100664013 - WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() - + System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() + - + - + 100664014 - System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) + - + - + + + + + 100664015 + WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() + + + + + + + + + + 100664016 + System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) + + + + + + - 100664015 + 100664017 System.Void WireMock.Admin.Requests.LogEntryModel::.ctor() - + @@ -13319,123 +13484,123 @@ WireMock.Admin.Requests.LogRequestMatchModel - - - 100664016 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() - - - - - - - - - - 100664017 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) - - - - - - - 100664018 - System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() + - + - + 100664019 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) + - + - + 100664020 - System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() - + System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() + - + - + 100664021 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) + - + - + 100664022 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() - + System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() + - + - + 100664023 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) + - + - + 100664024 - System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() + - + - + 100664025 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) + - + - + + + + + 100664026 + System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() + + + + + + + + + + 100664027 + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) + + + + + + - 100664026 + 100664028 System.Void WireMock.Admin.Requests.LogRequestMatchModel::.ctor() - + @@ -13443,277 +13608,277 @@ WireMock.Admin.Requests.LogRequestModel - - - 100664027 - System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() - - - - - - - - - - 100664028 - System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) - - - - - - - 100664029 - System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() - + System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() + - + - + 100664030 - System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) + - + - + 100664031 - System.String WireMock.Admin.Requests.LogRequestModel::get_Path() - + System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() + - + - + 100664032 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) + - + - + 100664033 - System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Path() + - + - + 100664034 - System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) + - + - + 100664035 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() - + System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() + - + - + 100664036 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) + - + - + 100664037 - System.String WireMock.Admin.Requests.LogRequestModel::get_Method() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() + - + - + 100664038 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664039 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Method() + - + - + 100664040 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) + - + - + 100664041 - System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() + - + - + 100664042 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664043 - System.String WireMock.Admin.Requests.LogRequestModel::get_Body() - + System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() + - + - + 100664044 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) + - + - + 100664045 - System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Body() + - + - + 100664046 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) + - + - + 100664047 - System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() + - + - + 100664048 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) + - + - + 100664049 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() - + System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() + - + - + 100664050 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) + - + - + + + + + 100664051 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() + + + + + + + + + + 100664052 + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664051 + 100664053 System.Void WireMock.Admin.Requests.LogRequestModel::.ctor() - + @@ -13721,236 +13886,236 @@ WireMock.Admin.Requests.LogResponseModel - - - 100664052 - System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() - - - - - - - - - - 100664053 - System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) - - - - - - - 100664054 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() - + System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() + - + - + 100664055 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) + - + - + 100664056 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() + - + - + 100664057 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664058 - System.String WireMock.Admin.Requests.LogResponseModel::get_Body() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() + - + - + 100664059 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) + - + - + 100664060 - System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogResponseModel::get_Body() + - + - + 100664061 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) + - + - + 100664062 - System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() + - + - + 100664063 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) + - + - + 100664064 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() + - + - + 100664065 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664066 - System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() + - + - + 100664067 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) + - + - + 100664068 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() - + System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() + - + - + 100664069 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664070 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() + - + - + 100664071 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) + - + - + + + + + 100664072 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() + + + + + + + + + + 100664073 + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664072 + 100664074 System.Void WireMock.Admin.Requests.LogResponseModel::.ctor() - + - + - + @@ -13958,79 +14123,79 @@ WireMock.Admin.Mappings.BodyModel - - - 100664073 - WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() - - - - - - - - - - 100664074 - System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) - - - - - - - 100664075 - System.String WireMock.Admin.Mappings.BodyModel::get_Func() - + WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() + - + - + 100664076 - System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) + - + - + 100664077 - System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() - + System.String WireMock.Admin.Mappings.BodyModel::get_Func() + - + - + 100664078 - System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) + - + - + + + + + 100664079 + System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() + + + + + + + + + + 100664080 + System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) + + + + + + - 100664079 + 100664081 System.Void WireMock.Admin.Mappings.BodyModel::.ctor() - + @@ -14038,57 +14203,57 @@ WireMock.Admin.Mappings.ClientIPModel - - - 100664080 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() - - - - - - - - - - 100664081 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664082 - System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() + - + - + 100664083 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664084 + System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() + + + + + + + + + + 100664085 + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) + + + + + + - 100664084 + 100664086 System.Void WireMock.Admin.Mappings.ClientIPModel::.ctor() - + @@ -14096,79 +14261,79 @@ WireMock.Admin.Mappings.CookieModel - - - 100664085 - System.String WireMock.Admin.Mappings.CookieModel::get_Name() - - - - - - - - - - 100664086 - System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) - - - - - - - 100664087 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() - + System.String WireMock.Admin.Mappings.CookieModel::get_Name() + - + - + 100664088 - System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) + - + - + 100664089 - System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() + - + - + 100664090 - System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664091 + System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() + + + + + + + + + + 100664092 + System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) + + + + + + - 100664091 + 100664093 System.Void WireMock.Admin.Mappings.CookieModel::.ctor() - + @@ -14176,79 +14341,79 @@ WireMock.Admin.Mappings.EncodingModel - - - 100664092 - System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() - - - - - - - - - - 100664093 - System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) - - - - - - - 100664094 - System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() - + System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() + - + - + 100664095 - System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) + - + - + 100664096 - System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() - + System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() + - + - + 100664097 - System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) + - + - + + + + + 100664098 + System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() + + + + + + + + + + 100664099 + System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) + + + + + + - 100664098 + 100664100 System.Void WireMock.Admin.Mappings.EncodingModel::.ctor() - + @@ -14256,79 +14421,79 @@ WireMock.Admin.Mappings.HeaderModel - - - 100664099 - System.String WireMock.Admin.Mappings.HeaderModel::get_Name() - - - - - - - - - - 100664100 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) - - - - - - - 100664101 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() - + System.String WireMock.Admin.Mappings.HeaderModel::get_Name() + - + - + 100664102 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) + - + - + 100664103 - System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() + - + - + 100664104 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664105 + System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() + + + + + + + + + + 100664106 + System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) + + + + + + - 100664105 + 100664107 System.Void WireMock.Admin.Mappings.HeaderModel::.ctor() - + @@ -14336,189 +14501,189 @@ WireMock.Admin.Mappings.MappingModel - - - 100664106 - System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() - - - - - - - - - - 100664107 - System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) - - - - - - - 100664108 - System.String WireMock.Admin.Mappings.MappingModel::get_Title() - + System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() + - + - + 100664109 - System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) + - + - + 100664110 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() - + System.String WireMock.Admin.Mappings.MappingModel::get_Title() + - + - + 100664111 - System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) + - + - + 100664112 - System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() + - + - + 100664113 - System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) + - + - + 100664114 - System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() - + System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() + - + - + 100664115 - System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) + - + - + 100664116 - System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() - + System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() + - + - + 100664117 - System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) + - + - + 100664118 - WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() - + System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() + - + - + 100664119 - System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) + - + - + 100664120 - WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() - + WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() + - + - + 100664121 - System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) + - + - + + + + + 100664122 + WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() + + + + + + + + + + 100664123 + System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) + + + + + + - 100664122 + 100664124 System.Void WireMock.Admin.Mappings.MappingModel::.ctor() - + @@ -14526,101 +14691,101 @@ WireMock.Admin.Mappings.MatcherModel - - - 100664123 - System.String WireMock.Admin.Mappings.MatcherModel::get_Name() - - - - - - - - - - 100664124 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) - - - - - - - 100664125 - System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Name() + - + - + 100664126 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) + - + - + 100664127 - System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() + - + - + 100664128 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) + - + - + 100664129 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() - + System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() + - + - + 100664130 - System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) + - + - + + + + + 100664131 + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() + + + + + + + + + + 100664132 + System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) + + + + + + - 100664131 + 100664133 System.Void WireMock.Admin.Mappings.MatcherModel::.ctor() - + @@ -14628,79 +14793,79 @@ WireMock.Admin.Mappings.ParamModel - - - 100664132 - System.String WireMock.Admin.Mappings.ParamModel::get_Name() - - - - - - - - - - 100664133 - System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) - - - - - - - 100664134 - System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() - + System.String WireMock.Admin.Mappings.ParamModel::get_Name() + - + - + 100664135 - System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) + - + - + 100664136 - System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() - + System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() + - + - + 100664137 - System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) + - + - + + + + + 100664138 + System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() + + + + + + + + + + 100664139 + System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) + + + + + + - 100664138 + 100664140 System.Void WireMock.Admin.Mappings.ParamModel::.ctor() - + @@ -14708,57 +14873,57 @@ WireMock.Admin.Mappings.PathModel - - - 100664139 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.PathModel::get_Matchers() - - - - - - - - - - 100664140 - System.Void WireMock.Admin.Mappings.PathModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664141 - System.String[] WireMock.Admin.Mappings.PathModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.PathModel::get_Matchers() + - + - + 100664142 - System.Void WireMock.Admin.Mappings.PathModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.PathModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664143 + System.String[] WireMock.Admin.Mappings.PathModel::get_Funcs() + + + + + + + + + + 100664144 + System.Void WireMock.Admin.Mappings.PathModel::set_Funcs(System.String[]) + + + + + + - 100664143 + 100664145 System.Void WireMock.Admin.Mappings.PathModel::.ctor() - + @@ -14766,189 +14931,189 @@ WireMock.Admin.Mappings.RequestModel - - - 100664144 - System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() - - - - - - - - - - 100664145 - System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) - - - - - - - 100664146 - System.Object WireMock.Admin.Mappings.RequestModel::get_Path() - + System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() + - + - + 100664147 - System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) + - + - + 100664148 - System.Object WireMock.Admin.Mappings.RequestModel::get_Url() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Path() + - + - + 100664149 - System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) + - + - + 100664150 - System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Url() + - + - + 100664151 - System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) + - + - + 100664152 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() - + System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() + - + - + 100664153 - System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) + - + - + 100664154 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() + - + - + 100664155 - System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) + - + - + 100664156 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() + - + - + 100664157 - System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) + - + - + 100664158 - WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() + - + - + 100664159 - System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) + - + - + + + + + 100664160 + WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() + + + + + + + + + + 100664161 + System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) + + + + + + - 100664160 + 100664162 System.Void WireMock.Admin.Mappings.RequestModel::.ctor() - + @@ -14956,343 +15121,343 @@ WireMock.Admin.Mappings.ResponseModel - - - 100664161 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() - - - - - - - - - - 100664162 - System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) - - - - - - - 100664163 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() + - + - + 100664164 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) + - + - + 100664165 - System.String WireMock.Admin.Mappings.ResponseModel::get_Body() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() + - + - + 100664166 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) + - + - + 100664167 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() - + System.String WireMock.Admin.Mappings.ResponseModel::get_Body() + - + - + 100664168 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) + - + - + 100664169 - System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() + - + - + 100664170 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) + - + - + 100664171 - System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() + - + - + 100664172 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) + - + - + 100664173 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() + - + - + 100664174 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664175 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() + - + - + 100664176 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) + - + - + 100664177 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() - + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() + - + - + 100664178 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664179 - System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() - + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() + - + - + 100664180 - System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + - + - + 100664181 - System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() - + System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() + - + - + 100664182 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) + - + - + 100664183 - System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() - + System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() + - + - + 100664184 - System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) + - + - + 100664185 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() - + System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() + - + - + 100664186 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) + - + - + 100664187 - System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() + - + - + 100664188 - System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) + - + - + 100664189 - System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() - + System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() + - + - + 100664190 - System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) + - + - + + + + + 100664191 + System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() + + + + + + + + + + 100664192 + System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) + + + + + + - 100664191 + 100664193 System.Void WireMock.Admin.Mappings.ResponseModel::.ctor() - + @@ -15300,65 +15465,65 @@ WireMock.Admin.Mappings.UrlModel - - - 100664192 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() - - - - - - - - - - 100664193 - System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664194 - System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() + - + - + 100664195 - System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664196 + System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() + + + + + + + + + + 100664197 + System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) + + + + + + - 100664196 + 100664198 System.Void WireMock.Admin.Mappings.UrlModel::.ctor() - + - + C:\Users\azureuser\Documents\Github\WireMock.Net\test\WireMock.Net.Tests\bin\Debug\net452\WireMock.Net.Tests.dll - 2018-03-15T21:51:48.0563778Z + 2018-03-17T12:18:02.3129121Z WireMock.Net.Tests @@ -15399,8 +15564,8 @@ - C:\Users\azureuser\AppData\Local\Temp\bc086b28-92e5-4992-96fa-e9571ad5b74c\bc086b28-92e5-4992-96fa-e9571ad5b74c\assembly\dl3\47b76338\00243ead_3baed201\xunit.runner.utility.net452.dll - 2018-03-15T21:52:06.3034949Z + C:\Users\azureuser\AppData\Local\Temp\62cd7399-8f78-4162-932b-fae2fe485d37\62cd7399-8f78-4162-932b-fae2fe485d37\assembly\dl3\2cd3e6f4\00243ead_3baed201\xunit.runner.utility.net452.dll + 2018-03-17T12:18:22.1869127Z xunit.runner.utility.net452 @@ -15422,9 +15587,9 @@ Anonymously Hosted DynamicMethods Assembly - - C:\Users\azureuser\AppData\Local\Temp\bc086b28-92e5-4992-96fa-e9571ad5b74c\bc086b28-92e5-4992-96fa-e9571ad5b74c\assembly\dl3\cb6ac550\428c47d1_a7bcd301\WireMock.Net.Tests.dll - 2018-03-15T21:52:06.5634971Z + + C:\Users\azureuser\AppData\Local\Temp\62cd7399-8f78-4162-932b-fae2fe485d37\62cd7399-8f78-4162-932b-fae2fe485d37\assembly\dl3\0e5daaa5\2178c3fe_e9bdd301\WireMock.Net.Tests.dll + 2018-03-17T12:18:22.436939Z WireMock.Net.Tests @@ -15440,89 +15605,91 @@ System - - - C:\Users\azureuser\AppData\Local\Temp\bc086b28-92e5-4992-96fa-e9571ad5b74c\bc086b28-92e5-4992-96fa-e9571ad5b74c\assembly\dl3\50f03c82\475c33a3_a7bcd301\WireMock.Net.dll - 2018-03-15T21:52:06.6444978Z + + + C:\Users\azureuser\AppData\Local\Temp\62cd7399-8f78-4162-932b-fae2fe485d37\62cd7399-8f78-4162-932b-fae2fe485d37\assembly\dl3\3e79f398\167455fe_e9bdd301\WireMock.Net.dll + 2018-03-17T12:18:22.5369121Z WireMock.Net - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15540,7 +15707,7 @@ <Mapping>j__TPar <>f__AnonymousType0`2::get_Mapping() - + @@ -15548,7 +15715,7 @@ <MatchResult>j__TPar <>f__AnonymousType0`2::get_MatchResult() - + @@ -15556,7 +15723,7 @@ System.Void <>f__AnonymousType0`2::.ctor(<Mapping>j__TPar,<MatchResult>j__TPar) - + @@ -15564,7 +15731,7 @@ System.Boolean <>f__AnonymousType0`2::Equals(System.Object) - + @@ -15572,7 +15739,7 @@ System.Int32 <>f__AnonymousType0`2::GetHashCode() - + @@ -15580,7 +15747,7 @@ System.String <>f__AnonymousType0`2::ToString() - + @@ -15594,7 +15761,7 @@ <Name>j__TPar <>f__AnonymousType1`2::get_Name() - + @@ -15602,7 +15769,7 @@ <Score>j__TPar <>f__AnonymousType1`2::get_Score() - + @@ -15610,7 +15777,7 @@ System.Void <>f__AnonymousType1`2::.ctor(<Name>j__TPar,<Score>j__TPar) - + @@ -15618,7 +15785,7 @@ System.Boolean <>f__AnonymousType1`2::Equals(System.Object) - + @@ -15626,7 +15793,7 @@ System.Int32 <>f__AnonymousType1`2::GetHashCode() - + @@ -15634,7 +15801,7 @@ System.String <>f__AnonymousType1`2::ToString() - + @@ -15648,7 +15815,7 @@ <Name>j__TPar <>f__AnonymousType2`3::get_Name() - + @@ -15656,7 +15823,7 @@ <Started>j__TPar <>f__AnonymousType2`3::get_Started() - + @@ -15664,7 +15831,7 @@ <NextState>j__TPar <>f__AnonymousType2`3::get_NextState() - + @@ -15672,7 +15839,7 @@ System.Void <>f__AnonymousType2`3::.ctor(<Name>j__TPar,<Started>j__TPar,<NextState>j__TPar) - + @@ -15680,7 +15847,7 @@ System.Boolean <>f__AnonymousType2`3::Equals(System.Object) - + @@ -15688,7 +15855,7 @@ System.Int32 <>f__AnonymousType2`3::GetHashCode() - + @@ -15696,7 +15863,7 @@ System.String <>f__AnonymousType2`3::ToString() - + @@ -15710,7 +15877,7 @@ <request>j__TPar <>f__AnonymousType3`1::get_request() - + @@ -15718,7 +15885,7 @@ System.Void <>f__AnonymousType3`1::.ctor(<request>j__TPar) - + @@ -15726,7 +15893,7 @@ System.Boolean <>f__AnonymousType3`1::Equals(System.Object) - + @@ -15734,7 +15901,7 @@ System.Int32 <>f__AnonymousType3`1::GetHashCode() - + @@ -15742,7 +15909,7 @@ System.String <>f__AnonymousType3`1::ToString() - + @@ -15754,155 +15921,155 @@ 100663321 System.Guid WireMock.Mapping::get_Guid() - + - + - + 100663322 System.String WireMock.Mapping::get_Title() - + - + - + 100663323 System.String WireMock.Mapping::get_Path() - + - + - + 100663324 System.Void WireMock.Mapping::set_Path(System.String) - + - + - + 100663325 System.Int32 WireMock.Mapping::get_Priority() - + - + - + 100663326 System.String WireMock.Mapping::get_Scenario() - + - + - + 100663327 System.Object WireMock.Mapping::get_ExecutionConditionState() - + - + - + 100663328 System.Object WireMock.Mapping::get_NextState() - + - + - + 100663329 WireMock.Matchers.Request.IRequestMatcher WireMock.Mapping::get_RequestMatcher() - + - + - + 100663330 WireMock.ResponseProviders.IResponseProvider WireMock.Mapping::get_Provider() - + - + - + 100663331 System.Boolean WireMock.Mapping::get_IsStartState() - + - + - + 100663335 System.Boolean WireMock.Mapping::get_IsAdminInterface() - + - + - + 100663332 System.Void WireMock.Mapping::.ctor(System.Guid,System.String,System.String,WireMock.Matchers.Request.IRequestMatcher,WireMock.ResponseProviders.IResponseProvider,System.Int32,System.String,System.Object,System.Object) - + - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -15910,30 +16077,30 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Mapping::ResponseToAsync(WireMock.RequestMessage) - + 100663334 WireMock.Matchers.Request.RequestMatchResult WireMock.Mapping::GetRequestMatchResult(WireMock.RequestMessage,System.Object) - + - - - - - - - - - - + + + + + + + + + + - - + + - + @@ -15943,31 +16110,31 @@ - 100664197 + 100664199 System.Void WireMock.Mapping/<ResponseToAsync>d__31::.ctor() - + - 100664198 + 100664200 System.Void WireMock.Mapping/<ResponseToAsync>d__31::MoveNext() - + - - + + - + - 100664199 + 100664201 System.Void WireMock.Mapping/<ResponseToAsync>d__31::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -16009,344 +16176,344 @@ 100663340 System.String WireMock.RequestMessage::get_ClientIP() - + - + - + 100663341 System.String WireMock.RequestMessage::get_Url() - + - + - + 100663342 System.DateTime WireMock.RequestMessage::get_DateTime() - + - + - + 100663343 System.Void WireMock.RequestMessage::set_DateTime(System.DateTime) - + - + - + 100663344 System.String WireMock.RequestMessage::get_Path() - + - + - + 100663345 System.String WireMock.RequestMessage::get_Method() - + - + - + 100663346 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::get_Headers() - + - + - + 100663347 System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.RequestMessage::get_Cookies() - + - + - + 100663348 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::get_Query() - + - + - + 100663349 System.String WireMock.RequestMessage::get_RawQuery() - + - + - + 100663350 System.String WireMock.RequestMessage::get_Body() - + - + - + 100663351 System.Object WireMock.RequestMessage::get_BodyAsJson() - + - + - + 100663352 System.Void WireMock.RequestMessage::set_BodyAsJson(System.Object) - + - + - + 100663353 System.Byte[] WireMock.RequestMessage::get_BodyAsBytes() - + - + - + 100663354 System.Void WireMock.RequestMessage::set_BodyAsBytes(System.Byte[]) - + - + - + 100663355 System.String WireMock.RequestMessage::get_Host() - + - + - + 100663356 System.String WireMock.RequestMessage::get_Protocol() - + - + - + 100663357 System.Int32 WireMock.RequestMessage::get_Port() - + - + - + 100663358 System.String WireMock.RequestMessage::get_Origin() - + - + - + 100663359 System.Text.Encoding WireMock.RequestMessage::get_BodyEncoding() - + - + - + 100663360 System.Void WireMock.RequestMessage::.ctor(System.Uri,System.String,System.String,WireMock.Util.BodyData,System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + 100663361 System.Void WireMock.RequestMessage::.ctor(System.Uri,System.String,System.String,System.Byte[],System.String,System.Text.Encoding,System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663362 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::ParseQuery(System.String) - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - + 100663363 WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage::GetParameter(System.String) - + - - - - - - + + + + + + - - - - + + + + - + @@ -16356,92 +16523,92 @@ - 100664200 + 100664202 System.Void WireMock.RequestMessage/<>c::.cctor() - + - 100664201 + 100664203 System.Void WireMock.RequestMessage/<>c::.ctor() - - - - - 100664202 - System.String WireMock.RequestMessage/<>c::<.ctor>b__54_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - - - - - - - - - - 100664203 - WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__54_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - - - - - - + 100664204 - System.String WireMock.RequestMessage/<>c::<.ctor>b__55_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + System.String WireMock.RequestMessage/<>c::<.ctor>b__54_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + 100664205 - WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__55_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__54_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + + + + + 100664206 + System.String WireMock.RequestMessage/<>c::<.ctor>b__55_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + + + + + 100664207 + WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__55_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + - 100664206 + 100664208 System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage/<>c::<ParseQuery>b__56_0(System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.String) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + - + @@ -16453,265 +16620,265 @@ 100663364 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.ResponseMessage::get_Headers() - + - + - + 100663365 System.Void WireMock.ResponseMessage::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + 100663366 System.Int32 WireMock.ResponseMessage::get_StatusCode() - + - + - + 100663367 System.Void WireMock.ResponseMessage::set_StatusCode(System.Int32) - + - + - + 100663368 System.String WireMock.ResponseMessage::get_BodyOriginal() - + - + - + 100663369 System.Void WireMock.ResponseMessage::set_BodyOriginal(System.String) - + - + - + 100663370 System.String WireMock.ResponseMessage::get_BodyDestination() - + - + - + 100663371 System.Void WireMock.ResponseMessage::set_BodyDestination(System.String) - + - + - + 100663372 System.String WireMock.ResponseMessage::get_Body() - + - + - + 100663373 System.Void WireMock.ResponseMessage::set_Body(System.String) - + - + - + 100663374 System.Object WireMock.ResponseMessage::get_BodyAsJson() - + - + - + 100663375 System.Void WireMock.ResponseMessage::set_BodyAsJson(System.Object) - + - + - + 100663376 System.Byte[] WireMock.ResponseMessage::get_BodyAsBytes() - + - + - + 100663377 System.Void WireMock.ResponseMessage::set_BodyAsBytes(System.Byte[]) - + - + - + 100663378 System.String WireMock.ResponseMessage::get_BodyAsFile() - + - + - + 100663379 System.Void WireMock.ResponseMessage::set_BodyAsFile(System.String) - + - + - + 100663380 System.Nullable`1<System.Boolean> WireMock.ResponseMessage::get_BodyAsFileIsCached() - + - + - + 100663381 System.Void WireMock.ResponseMessage::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + - + - + 100663382 System.Text.Encoding WireMock.ResponseMessage::get_BodyEncoding() - + - + - + 100663383 System.Void WireMock.ResponseMessage::set_BodyEncoding(System.Text.Encoding) - + - + - + 100663384 System.Void WireMock.ResponseMessage::AddHeader(System.String,System.String) - + - - - + + + - + 100663385 System.Void WireMock.ResponseMessage::AddHeader(System.String,System.String[]) - + - - - - - + + + + + - - + + - + 100663386 System.Void WireMock.ResponseMessage::.ctor() - + - - - + + + - + @@ -16723,179 +16890,179 @@ 100663387 T WireMock.Validation.Check::Condition(T,System.Predicate`1<T>,System.String) - + - - - - - - - - - + + + + + + + + + - - + + - + 100663388 T WireMock.Validation.Check::NotNull(T,System.String) - + - - - - - - - + + + + + + + - - + + - + 100663389 T WireMock.Validation.Check::NotNull(T,System.String,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663390 System.Collections.Generic.IList`1<T> WireMock.Validation.Check::NotNullOrEmpty(System.Collections.Generic.IList`1<T>,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663391 System.String WireMock.Validation.Check::NotNullOrEmpty(System.String,System.String) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + 100663392 System.String WireMock.Validation.Check::NullButNotEmpty(System.String,System.String) - + - - - - - - - + + + + + + + - - + + - + 100663393 System.Collections.Generic.IList`1<T> WireMock.Validation.Check::HasNoNulls(System.Collections.Generic.IList`1<T>,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663394 System.Type WireMock.Validation.Check::ValidEntityType(System.Type,System.String) - + - - - - - - - + + + + + + + - - + + - + @@ -16905,30 +17072,30 @@ - 100664207 + 100664209 System.Void WireMock.Validation.Check/<>c__6`1::.cctor() - + - 100664208 + 100664210 System.Void WireMock.Validation.Check/<>c__6`1::.ctor() - + - 100664209 + 100664211 System.Boolean WireMock.Validation.Check/<>c__6`1::<HasNoNulls>b__6_0(T) - + - + - + @@ -16940,53 +17107,53 @@ 100663395 System.String WireMock.Validation.CoreStrings::ArgumentPropertyNull(System.String,System.String) - + - - - + + + - + 100663396 System.String WireMock.Validation.CoreStrings::ArgumentIsEmpty(System.String) - + - - - + + + - + 100663397 System.String WireMock.Validation.CoreStrings::InvalidEntityType(System.Type,System.String) - + - - - + + + - + 100663398 System.String WireMock.Validation.CoreStrings::CollectionArgumentIsEmpty(System.String) - + - - - + + + - + @@ -16998,89 +17165,89 @@ 100663399 System.Text.Encoding WireMock.Util.BodyData::get_Encoding() - + - + - + 100663400 System.Void WireMock.Util.BodyData::set_Encoding(System.Text.Encoding) - + - + - + 100663401 System.String WireMock.Util.BodyData::get_BodyAsString() - + - + - + 100663402 System.Void WireMock.Util.BodyData::set_BodyAsString(System.String) - + - + - + 100663403 System.Object WireMock.Util.BodyData::get_BodyAsJson() - + - + - + 100663404 System.Void WireMock.Util.BodyData::set_BodyAsJson(System.Object) - + - + - + 100663405 System.Byte[] WireMock.Util.BodyData::get_BodyAsBytes() - + - + - + 100663406 System.Void WireMock.Util.BodyData::set_BodyAsBytes(System.Byte[]) - + - + - + @@ -17088,7 +17255,7 @@ System.Void WireMock.Util.BodyData::.ctor() - + @@ -17102,7 +17269,7 @@ System.Threading.Tasks.Task`1<System.Tuple`2<System.String,System.Text.Encoding>> WireMock.Util.BodyParser::ReadStringAsync(System.IO.Stream) - + @@ -17110,7 +17277,7 @@ System.Threading.Tasks.Task`1<System.Byte[]> WireMock.Util.BodyParser::ReadBytesAsync(System.IO.Stream) - + @@ -17118,18 +17285,18 @@ System.Threading.Tasks.Task`1<WireMock.Util.BodyData> WireMock.Util.BodyParser::Parse(System.IO.Stream,System.String) - + 100663411 System.Void WireMock.Util.BodyParser::.cctor() - + - + - + @@ -17139,37 +17306,37 @@ - 100664210 + 100664212 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::.ctor() - + - 100664211 + 100664213 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::MoveNext() - + - - - - - + + + + + - - + + - + - 100664212 + 100664214 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -17179,37 +17346,37 @@ - 100664213 + 100664215 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::.ctor() - + - 100664214 + 100664216 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::MoveNext() - + - - - - - + + + + + - - + + - + - 100664215 + 100664217 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -17219,22 +17386,22 @@ - 100664216 + 100664218 System.Void WireMock.Util.BodyParser/<>c__DisplayClass3_0::.ctor() - + - 100664217 + 100664219 System.Boolean WireMock.Util.BodyParser/<>c__DisplayClass3_0::<Parse>b__0(System.String) - + - + - + @@ -17244,67 +17411,67 @@ - 100664218 + 100664220 System.Void WireMock.Util.BodyParser/<Parse>d__3::.ctor() - + - 100664219 + 100664221 System.Void WireMock.Util.BodyParser/<Parse>d__3::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - 100664220 + 100664222 System.Void WireMock.Util.BodyParser/<Parse>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -17316,123 +17483,123 @@ 100663412 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor() - + - - - - + + + + - + 100663413 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor(System.Collections.Generic.List`1<T>) - + - - - - + + + + - + 100663414 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor(System.Collections.Generic.IEnumerable`1<T>) - + - - - - + + + + - + 100663415 System.Void WireMock.Util.ConcurentObservableCollection`1::ClearItems() - + - - - - - - + + + + + + - + 100663416 System.Void WireMock.Util.ConcurentObservableCollection`1::RemoveItem(System.Int32) - + - - - - - - + + + + + + - + 100663417 System.Void WireMock.Util.ConcurentObservableCollection`1::InsertItem(System.Int32,T) - + - - - - - - + + + + + + - + 100663418 System.Void WireMock.Util.ConcurentObservableCollection`1::SetItem(System.Int32,T) - + - - - - - - + + + + + + - + 100663419 System.Void WireMock.Util.ConcurentObservableCollection`1::MoveItem(System.Int32,System.Int32) - + - - - - - - + + + + + + - + @@ -17444,27 +17611,27 @@ 100663420 System.Void WireMock.Util.DictionaryExtensions::Loop(System.Collections.Generic.IDictionary`2<TKey,TValue>,System.Action`2<TKey,TValue>) - + - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + - + @@ -17476,96 +17643,96 @@ 100663421 System.Int32 WireMock.Util.EnhancedFileSystemWatcher::get_Interval() - + - + - + 100663422 System.Void WireMock.Util.EnhancedFileSystemWatcher::set_Interval(System.Int32) - + - - - - + + + + - + 100663423 System.Boolean WireMock.Util.EnhancedFileSystemWatcher::get_FilterRecentEvents() - + - + - + 100663424 System.Void WireMock.Util.EnhancedFileSystemWatcher::set_FilterRecentEvents(System.Boolean) - + - + - + 100663425 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.Int32) - + - - - - - + + + + + - + 100663426 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.String,System.Int32) - + - - - - - - + + + + + + - + 100663427 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.String,System.String,System.Int32) - + - - - - - - - + + + + + + + - + @@ -17573,7 +17740,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Changed(System.IO.FileSystemEventHandler) - + @@ -17581,7 +17748,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Changed(System.IO.FileSystemEventHandler) - + @@ -17589,7 +17756,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Created(System.IO.FileSystemEventHandler) - + @@ -17597,7 +17764,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Created(System.IO.FileSystemEventHandler) - + @@ -17605,7 +17772,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Deleted(System.IO.FileSystemEventHandler) - + @@ -17613,7 +17780,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Deleted(System.IO.FileSystemEventHandler) - + @@ -17621,7 +17788,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Renamed(System.IO.RenamedEventHandler) - + @@ -17629,212 +17796,212 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Renamed(System.IO.RenamedEventHandler) - + 100663436 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnChanged(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663437 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnCreated(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663438 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnDeleted(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663439 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnRenamed(System.IO.RenamedEventArgs) - + - - - + + + - - + + - + 100663440 System.Void WireMock.Util.EnhancedFileSystemWatcher::InitializeMembers(System.Int32) - + - - - - - - - - - + + + + + + + + + - + 100663441 System.Boolean WireMock.Util.EnhancedFileSystemWatcher::HasAnotherFileEventOccuredRecently(System.String) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + 100663442 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnChanged(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663443 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnCreated(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663444 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnDeleted(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663445 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnRenamed(System.Object,System.IO.RenamedEventArgs) - + - - - - - - + + + + + + - - + + - + 100663446 System.Void WireMock.Util.EnhancedFileSystemWatcher::Dispose() - + - - - + + + - + @@ -17844,52 +18011,52 @@ - 100664221 + 100664223 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.cctor() - + - 100664222 + 100664224 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.ctor() - - - - - 100664223 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__11_0(System.Int32) - - - - - - - - - - 100664224 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__12_0(System.Int32) - - - - - - + 100664225 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__13_0(System.Int32) - + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__11_0(System.Int32) + - + - + + + + + 100664226 + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__12_0(System.Int32) + + + + + + + + + + 100664227 + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__13_0(System.Int32) + + + + + + @@ -17901,28 +18068,28 @@ 100663447 System.String WireMock.Util.FileHelper::ReadAllText(System.String) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - + @@ -17934,23 +18101,23 @@ 100663448 T WireMock.Util.JsonUtils::ParseJTokenToObject(System.Object) - + - - - - - - - + + + + + + + - - - - + + + + - + @@ -17962,60 +18129,60 @@ 100663449 System.Void WireMock.Util.WireMockList`1::.ctor() - + - - - + + + - + 100663450 System.Void WireMock.Util.WireMockList`1::.ctor(T[]) - + - - - + + + - + 100663451 System.Void WireMock.Util.WireMockList`1::.ctor(System.Collections.Generic.IEnumerable`1<T>) - + - - - + + + - + 100663452 System.String WireMock.Util.WireMockList`1::ToString() - + - - - - - + + + + + - - - - + + + + - + @@ -18027,53 +18194,53 @@ 100663453 WireMock.ResponseMessage WireMock.Transformers.ResponseMessageTransformer::Transform(WireMock.RequestMessage,WireMock.ResponseMessage) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -18083,22 +18250,22 @@ - 100664226 + 100664228 System.Void WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::.ctor() - + - 100664227 + 100664229 System.String WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::<Transform>b__0(System.Func`2<System.Object,System.String>) - + - + - + @@ -18110,365 +18277,365 @@ 100663454 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_Port() - + - + - + 100663455 System.Void WireMock.Settings.FluentMockServerSettings::set_Port(System.Nullable`1<System.Int32>) - + - + - + 100663456 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_UseSSL() - + - + - + 100663457 System.Void WireMock.Settings.FluentMockServerSettings::set_UseSSL(System.Nullable`1<System.Boolean>) - + - + - + 100663458 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_StartAdminInterface() - + - + - + 100663459 System.Void WireMock.Settings.FluentMockServerSettings::set_StartAdminInterface(System.Nullable`1<System.Boolean>) - + - + - + 100663460 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_ReadStaticMappings() - + - + - + 100663461 System.Void WireMock.Settings.FluentMockServerSettings::set_ReadStaticMappings(System.Nullable`1<System.Boolean>) - + - + - + 100663462 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_WatchStaticMappings() - + - + - + 100663463 System.Void WireMock.Settings.FluentMockServerSettings::set_WatchStaticMappings(System.Nullable`1<System.Boolean>) - + - + - + 100663464 WireMock.Settings.IProxyAndRecordSettings WireMock.Settings.FluentMockServerSettings::get_ProxyAndRecordSettings() - + - + - + 100663465 System.Void WireMock.Settings.FluentMockServerSettings::set_ProxyAndRecordSettings(WireMock.Settings.IProxyAndRecordSettings) - + - + - + 100663466 System.String[] WireMock.Settings.FluentMockServerSettings::get_Urls() - + - + - + 100663467 System.Void WireMock.Settings.FluentMockServerSettings::set_Urls(System.String[]) - + - + - + 100663468 System.Int32 WireMock.Settings.FluentMockServerSettings::get_StartTimeout() - + - + - + 100663469 System.Void WireMock.Settings.FluentMockServerSettings::set_StartTimeout(System.Int32) - + - + - + 100663470 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_AllowPartialMapping() - + - + - + 100663471 System.Void WireMock.Settings.FluentMockServerSettings::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) - + - + - + 100663472 System.String WireMock.Settings.FluentMockServerSettings::get_AdminUsername() - + - + - + 100663473 System.Void WireMock.Settings.FluentMockServerSettings::set_AdminUsername(System.String) - + - + - + 100663474 System.String WireMock.Settings.FluentMockServerSettings::get_AdminPassword() - + - + - + 100663475 System.Void WireMock.Settings.FluentMockServerSettings::set_AdminPassword(System.String) - + - + - + 100663476 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_RequestLogExpirationDuration() - + - + - + 100663477 System.Void WireMock.Settings.FluentMockServerSettings::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - + - + 100663478 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_MaxRequestLogCount() - + - + - + 100663479 System.Void WireMock.Settings.FluentMockServerSettings::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + - + - + 100663480 System.Action`1<System.Object> WireMock.Settings.FluentMockServerSettings::get_PreWireMockMiddlewareInit() - + - + - + 100663481 System.Void WireMock.Settings.FluentMockServerSettings::set_PreWireMockMiddlewareInit(System.Action`1<System.Object>) - + - + - + 100663482 System.Action`1<System.Object> WireMock.Settings.FluentMockServerSettings::get_PostWireMockMiddlewareInit() - + - + - + 100663483 System.Void WireMock.Settings.FluentMockServerSettings::set_PostWireMockMiddlewareInit(System.Action`1<System.Object>) - + - + - + 100663484 WireMock.Logging.IWireMockLogger WireMock.Settings.FluentMockServerSettings::get_Logger() - + - + - + 100663485 System.Void WireMock.Settings.FluentMockServerSettings::set_Logger(WireMock.Logging.IWireMockLogger) - + - + - + 100663486 System.Void WireMock.Settings.FluentMockServerSettings::.ctor() - + - - + + - + @@ -18480,123 +18647,123 @@ 100663529 System.String WireMock.Settings.ProxyAndRecordSettings::get_Url() - + - + - + 100663530 System.Void WireMock.Settings.ProxyAndRecordSettings::set_Url(System.String) - + - + - + 100663531 System.Boolean WireMock.Settings.ProxyAndRecordSettings::get_SaveMapping() - + - + - + 100663532 System.Void WireMock.Settings.ProxyAndRecordSettings::set_SaveMapping(System.Boolean) - + - + - + 100663533 System.Boolean WireMock.Settings.ProxyAndRecordSettings::get_SaveMappingToFile() - + - + - + 100663534 System.Void WireMock.Settings.ProxyAndRecordSettings::set_SaveMappingToFile(System.Boolean) - + - + - + 100663535 System.String WireMock.Settings.ProxyAndRecordSettings::get_ClientX509Certificate2ThumbprintOrSubjectName() - + - + - + 100663536 System.Void WireMock.Settings.ProxyAndRecordSettings::set_ClientX509Certificate2ThumbprintOrSubjectName(System.String) - + - + - + 100663537 System.String[] WireMock.Settings.ProxyAndRecordSettings::get_BlackListedHeaders() - + - + - + 100663538 System.Void WireMock.Settings.ProxyAndRecordSettings::set_BlackListedHeaders(System.String[]) - + - + - + 100663539 System.Void WireMock.Settings.ProxyAndRecordSettings::.ctor() - + - - + + - + @@ -18608,199 +18775,199 @@ 100663571 System.Boolean WireMock.Server.FluentMockServer::get_IsStarted() - + - + - + 100663572 System.Collections.Generic.List`1<System.Int32> WireMock.Server.FluentMockServer::get_Ports() - + - + - + 100663573 System.String[] WireMock.Server.FluentMockServer::get_Urls() - + - + - + 100663574 System.Collections.Generic.IEnumerable`1<WireMock.Mapping> WireMock.Server.FluentMockServer::get_Mappings() - + - + - + 100663575 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Server.FluentMockServer::get_Scenarios() - + - + - + 100663601 System.Collections.Generic.IEnumerable`1<WireMock.Logging.LogEntry> WireMock.Server.FluentMockServer::get_LogEntries() - + - + - + 100663540 System.Void WireMock.Server.FluentMockServer::InitAdmin() - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + 100663541 System.Void WireMock.Server.FluentMockServer::ReadStaticMappings(System.String) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + - + 100663542 System.Void WireMock.Server.FluentMockServer::WatchStaticMappings(System.String) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - + 100663543 System.Void WireMock.Server.FluentMockServer::ReadStaticMappingAndAddOrUpdate(System.String) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663544 System.Void WireMock.Server.FluentMockServer::InitProxyAndRecord(WireMock.Settings.IProxyAndRecordSettings) - + - - - - + + + + - + @@ -18808,1303 +18975,1303 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Server.FluentMockServer::ProxyAndRecordAsync(WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings) - + 100663546 WireMock.Mapping WireMock.Server.FluentMockServer::ToMapping(WireMock.RequestMessage,WireMock.ResponseMessage,System.String[]) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - + 100663547 WireMock.ResponseMessage WireMock.Server.FluentMockServer::SettingsGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663548 WireMock.ResponseMessage WireMock.Server.FluentMockServer::SettingsUpdate(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - + 100663549 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingGet(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663550 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingPut(WireMock.RequestMessage) - + - - - - - - + + + + + + - + 100663551 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingDelete(WireMock.RequestMessage) - + - - - - - - - + + + + + + + - - + + - + 100663552 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsSave(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - + 100663553 System.Void WireMock.Server.FluentMockServer::SaveMappingToFile(WireMock.Mapping) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663554 System.String WireMock.Server.FluentMockServer::SanitizeFileName(System.String,System.Char) - + - - - + + + - + 100663555 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsGet(WireMock.RequestMessage) - + - - - - - - - - - - - - + + + + + + + + + + + + - + 100663556 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsPost(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + 100663557 System.Void WireMock.Server.FluentMockServer::DeserializeAndAddOrUpdateMapping(WireMock.Admin.Mappings.MappingModel,System.Nullable`1<System.Guid>,System.String) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + 100663558 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsDelete(WireMock.RequestMessage) - + - - - - - + + + + + - + 100663559 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestGet(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663560 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestDelete(WireMock.RequestMessage) - + - - - - - - + + + + + + - - + + - + 100663561 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663562 WireMock.Admin.Requests.LogEntryModel WireMock.Server.FluentMockServer::ToLogEntryModel(WireMock.Logging.LogEntry) - + - - - + + + - - - - - - + + + + + + - + 100663563 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsDelete(WireMock.RequestMessage) - + - - - - + + + + - + 100663564 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsFind(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - + 100663565 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ScenariosGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663566 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ScenariosReset(WireMock.RequestMessage) - + - - - - + + + + - + 100663567 WireMock.RequestBuilders.IRequestBuilder WireMock.Server.FluentMockServer::InitRequestBuilder(WireMock.Admin.Mappings.RequestModel) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663568 WireMock.ResponseBuilders.IResponseBuilder WireMock.Server.FluentMockServer::InitResponseBuilder(WireMock.Admin.Mappings.ResponseModel) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + 100663569 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ToJson(T) - + - - - + + + - + 100663570 System.Text.Encoding WireMock.Server.FluentMockServer::ToEncoding(WireMock.Admin.Mappings.EncodingModel) - + - - - + + + - - + + - + 100663576 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(WireMock.Settings.IFluentMockServerSettings) - + - - - - + + + + - + 100663577 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(System.Nullable`1<System.Int32>,System.Boolean) - + - - - + + + - + 100663578 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(System.String[]) - + - - - - + + + + - + 100663579 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterface(System.Nullable`1<System.Int32>,System.Boolean) - + - - - + + + - + 100663580 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterface(System.String[]) - + - - - - + + + + - + 100663581 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterfaceAndReadStaticMappings(System.String[]) - + - - - - + + + + - + 100663582 System.Void WireMock.Server.FluentMockServer::.ctor(WireMock.Settings.IFluentMockServerSettings) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663583 System.Void WireMock.Server.FluentMockServer::Stop() - + - - - + + + - - + + - + 100663584 System.Void WireMock.Server.FluentMockServer::AddCatchAllMapping() - + - - - + + + - + 100663585 System.Void WireMock.Server.FluentMockServer::Dispose() - + - - - - - - + + + + + + - - + + - + 100663586 System.Void WireMock.Server.FluentMockServer::Reset() - + - - - - + + + + - + 100663587 System.Void WireMock.Server.FluentMockServer::ResetMappings() - + - - - - - - - - - + + + + + + + + + - + 100663588 System.Boolean WireMock.Server.FluentMockServer::DeleteMapping(System.Guid) - + - - - - - - + + + + + + - - + + - + 100663589 System.Boolean WireMock.Server.FluentMockServer::DeleteMapping(System.String) - + - - - - + + + + - + 100663590 System.Void WireMock.Server.FluentMockServer::AddGlobalProcessingDelay(System.TimeSpan) - + - - - + + + - + 100663591 System.Void WireMock.Server.FluentMockServer::AllowPartialMapping(System.Boolean) - + - - - - + + + + - + 100663592 System.Void WireMock.Server.FluentMockServer::SetBasicAuthentication(System.String,System.String) - + - - - - - - + + + + + + - + 100663593 System.Void WireMock.Server.FluentMockServer::RemoveBasicAuthentication() - + - - - + + + - + 100663594 System.Void WireMock.Server.FluentMockServer::SetMaxRequestLogCount(System.Nullable`1<System.Int32>) - + - - - + + + - + 100663595 System.Void WireMock.Server.FluentMockServer::SetRequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - - - + + + - + 100663596 System.Void WireMock.Server.FluentMockServer::ResetScenarios() - + - - - + + + - + 100663597 WireMock.Server.IRespondWithAProvider WireMock.Server.FluentMockServer::Given(WireMock.Matchers.Request.IRequestMatcher) - + - - - + + + - + 100663598 System.Void WireMock.Server.FluentMockServer::RegisterMapping(WireMock.Mapping) - + - - - - - - - - - + + + + + + + + + - - + + - + 100663599 System.Void WireMock.Server.FluentMockServer::add_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler) - + - + - + 100663600 System.Void WireMock.Server.FluentMockServer::remove_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler) - + - + - + 100663602 System.Collections.Generic.IEnumerable`1<WireMock.Logging.LogEntry> WireMock.Server.FluentMockServer::FindLogEntries(WireMock.Matchers.Request.IRequestMatcher[]) - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663603 System.Void WireMock.Server.FluentMockServer::ResetLogEntries() - + - - - + + + - + 100663604 System.Boolean WireMock.Server.FluentMockServer::DeleteLogEntry(System.Guid) - + - - - - - - - - + + + + + + + + - - + + - + 100663605 System.Void WireMock.Server.FluentMockServer::.cctor() - + - + - + 100663606 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_0(System.Object,System.IO.FileSystemEventArgs) - + - - - - + + + + - + 100663607 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_1(System.Object,System.IO.FileSystemEventArgs) - + - - - - + + + + - + 100663608 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_2(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + @@ -20114,195 +20281,195 @@ - 100664228 + 100664230 System.Void WireMock.Server.FluentMockServer/<>c::.cctor() - + - 100664229 + 100664231 System.Void WireMock.Server.FluentMockServer/<>c::.ctor() - - - - - 100664230 - System.String WireMock.Server.FluentMockServer/<>c::<ReadStaticMappings>b__10_0(System.String) - - - - - - - - - - 100664231 - System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsSave>b__22_0(WireMock.Mapping) - - - - - - + 100664232 - System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsGet>b__25_0(WireMock.Mapping) - + System.String WireMock.Server.FluentMockServer/<>c::<ReadStaticMappings>b__10_0(System.String) + - + - + 100664233 - System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsGet>b__31_0(WireMock.Logging.LogEntry) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsSave>b__22_0(WireMock.Mapping) + - + - + 100664234 - System.Object WireMock.Server.FluentMockServer/<>c::<ToLogEntryModel>b__32_0(System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsGet>b__25_0(WireMock.Mapping) + - + - + 100664235 - System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_2(WireMock.Logging.LogEntry) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsGet>b__31_0(WireMock.Logging.LogEntry) + - + - + 100664236 - System.Double WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Object WireMock.Server.FluentMockServer/<>c::<ToLogEntryModel>b__32_0(System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>) + - + - + 100664237 - WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_2(WireMock.Logging.LogEntry) + - + - + 100664238 - <>f__AnonymousType2`3<System.String,System.Boolean,System.Object> WireMock.Server.FluentMockServer/<>c::<ScenariosGet>b__35_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Object>) - + System.Double WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664239 - System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_0(WireMock.Admin.Mappings.HeaderModel) - + WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664240 - System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_1(WireMock.Admin.Mappings.CookieModel) - + <>f__AnonymousType2`3<System.String,System.Boolean,System.Object> WireMock.Server.FluentMockServer/<>c::<ScenariosGet>b__35_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Object>) + - + - + - - + + 100664241 - System.String WireMock.Server.FluentMockServer/<>c::<.ctor>b__64_0(System.String) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_0(WireMock.Admin.Mappings.HeaderModel) + - + - + 100664242 - WireMock.ResponseMessage WireMock.Server.FluentMockServer/<>c::<AddCatchAllMapping>b__66_0(WireMock.RequestMessage) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_1(WireMock.Admin.Mappings.CookieModel) + - + - + - - + + 100664243 - System.Boolean WireMock.Server.FluentMockServer/<>c::<ResetMappings>b__69_0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) - + System.String WireMock.Server.FluentMockServer/<>c::<.ctor>b__64_0(System.String) + - + - + 100664244 - WireMock.Matchers.Request.RequestMatchResult WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + WireMock.ResponseMessage WireMock.Server.FluentMockServer/<>c::<AddCatchAllMapping>b__66_0(WireMock.RequestMessage) + - + - + 100664245 - WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<ResetMappings>b__69_0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) + - + - + + + + + 100664246 + WireMock.Matchers.Request.RequestMatchResult WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + + + + + 100664247 + WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + @@ -20312,50 +20479,50 @@ - 100664246 + 100664248 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::.ctor() - + - 100664247 + 100664249 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::MoveNext() - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - + - 100664248 + 100664250 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -20365,52 +20532,52 @@ - 100664249 + 100664251 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::.ctor() - + - 100664250 + 100664252 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__0(System.String,WireMock.Util.WireMockList`1<System.String>) - + - + - + - 100664251 + 100664253 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__1(System.String,System.String) - + - + - + - 100664252 + 100664254 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__2(System.String,WireMock.Util.WireMockList`1<System.String>) - + - - - - - - + + + + + + - - + + - + @@ -20420,22 +20587,22 @@ - 100664253 + 100664255 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::.ctor() - + - 100664254 + 100664256 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::<ToMapping>b__3(System.String) - + - + - + @@ -20445,22 +20612,22 @@ - 100664255 + 100664257 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::.ctor() - + - 100664256 + 100664258 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::<MappingGet>b__0(WireMock.Mapping) - + - + - + @@ -20470,22 +20637,22 @@ - 100664257 + 100664259 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::.ctor() - + - 100664258 + 100664260 System.String WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::<SanitizeFileName>b__0(System.String,System.Char) - + - + - + @@ -20495,22 +20662,22 @@ - 100664259 + 100664261 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::.ctor() - + - 100664260 + 100664262 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::<RequestGet>b__0(WireMock.Logging.LogEntry) - + - + - + @@ -20520,22 +20687,22 @@ - 100664261 + 100664263 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::.ctor() - + - 100664262 + 100664264 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::<DeleteMapping>b__0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) - + - + - + @@ -20545,22 +20712,22 @@ - 100664263 + 100664265 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::.ctor() - + - 100664264 + 100664266 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::<DeleteLogEntry>b__0(WireMock.Logging.LogEntry) - + - + - + @@ -20572,156 +20739,156 @@ 100663618 System.Void WireMock.Server.RespondWithAProvider::.ctor(WireMock.RegistrationCallback,WireMock.Matchers.Request.IRequestMatcher) - + - - - - - + + + + + - + 100663619 System.Void WireMock.Server.RespondWithAProvider::RespondWith(WireMock.ResponseProviders.IResponseProvider) - + - - - - + + + + - - + + - + 100663620 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithGuid(System.String) - + - - - + + + - + 100663621 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithGuid(System.Guid) - + - - - - + + + + - + 100663622 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithTitle(System.String) - + - - - - + + + + - + 100663623 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithPath(System.String) - + - - - - + + + + - + 100663624 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::AtPriority(System.Int32) - + - - - - + + + + - + 100663625 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::InScenario(System.String) - + - - - - + + + + - + 100663626 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WhenStateIs(System.Object) - + - - - - - - - + + + + + + + - - + + - + 100663627 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WillSetStateTo(System.Object) - + - - - - - - - + + + + + + + - - + + - + @@ -20733,155 +20900,155 @@ 100663628 WireMock.Admin.Mappings.MappingModel WireMock.Serialization.MappingConverter::ToMappingModel(WireMock.Mapping) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663629 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Serialization.MappingConverter::Map(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - + 100663630 System.String[] WireMock.Serialization.MappingConverter::Map(System.Collections.Generic.IEnumerable`1<System.Func`2<T,System.Boolean>>) - + - - - + + + - - + + - + 100663631 System.String WireMock.Serialization.MappingConverter::Map(System.Func`2<T,System.Boolean>) - + - - - + + + - - + + - + @@ -20891,198 +21058,198 @@ - 100664265 + 100664267 System.Void WireMock.Serialization.MappingConverter/<>c::.cctor() - + - 100664266 + 100664268 System.Void WireMock.Serialization.MappingConverter/<>c::.ctor() - - - - - 100664267 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_4(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - - - - - - - - - - 100664268 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_5(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - - - - - - + 100664269 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_6(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_4(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664270 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_7(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_5(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664271 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_8(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_6(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664272 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_9(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_7(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664273 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_10(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_8(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664274 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_11(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_9(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664275 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_12(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_10(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664276 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_13(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_11(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664277 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_14(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_12(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664278 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_15(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_13(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664279 - WireMock.Admin.Mappings.HeaderModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_0(WireMock.Matchers.Request.RequestMessageHeaderMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_14(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664280 - WireMock.Admin.Mappings.CookieModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_1(WireMock.Matchers.Request.RequestMessageCookieMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_15(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + - - + + 100664281 - WireMock.Admin.Mappings.ParamModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_2(WireMock.Matchers.Request.RequestMessageParamMatcher) - + WireMock.Admin.Mappings.HeaderModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_0(WireMock.Matchers.Request.RequestMessageHeaderMatcher) + - + - - - - - + + 100664282 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_3(System.String) - + WireMock.Admin.Mappings.CookieModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_1(WireMock.Matchers.Request.RequestMessageCookieMatcher) + - + - + + + + + 100664283 + WireMock.Admin.Mappings.ParamModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_2(WireMock.Matchers.Request.RequestMessageParamMatcher) + + + + + + + + + + + + + 100664284 + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_3(System.String) + + + + + + @@ -21092,30 +21259,30 @@ - 100664283 + 100664285 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.cctor() - + - 100664284 + 100664286 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.ctor() - + - 100664285 + 100664287 System.Boolean WireMock.Serialization.MappingConverter/<>c__2`1::<Map>b__2_0(System.String) - + - + - + @@ -21127,44 +21294,44 @@ 100663632 WireMock.Admin.Mappings.MatcherModel[] WireMock.Serialization.MatcherMapper::Map(System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IMatcher>) - + - - - + + + - - + + - + 100663633 WireMock.Admin.Mappings.MatcherModel WireMock.Serialization.MatcherMapper::Map(WireMock.Matchers.IMatcher) - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -21174,30 +21341,30 @@ - 100664286 + 100664288 System.Void WireMock.Serialization.MatcherMapper/<>c::.cctor() - + - 100664287 + 100664289 System.Void WireMock.Serialization.MatcherMapper/<>c::.ctor() - + - 100664288 + 100664290 System.Boolean WireMock.Serialization.MatcherMapper/<>c::<Map>b__0_0(WireMock.Admin.Mappings.MatcherModel) - + - + - + @@ -21209,55 +21376,55 @@ 100663634 WireMock.Matchers.IMatcher WireMock.Serialization.MatcherModelMapper::Map(WireMock.Admin.Mappings.MatcherModel) - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + @@ -21269,29 +21436,29 @@ 100663635 System.Void WireMock.ResponseProviders.DynamicAsyncResponseProvider::.ctor(System.Func`2<WireMock.RequestMessage,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>) - + - - - - - + + + + + - + 100663636 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.DynamicAsyncResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -21303,29 +21470,29 @@ 100663637 System.Void WireMock.ResponseProviders.DynamicResponseProvider::.ctor(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - - - - - + + + + + - + 100663638 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.DynamicResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -21337,31 +21504,31 @@ 100663640 System.Void WireMock.ResponseProviders.ProxyAsyncResponseProvider::.ctor(System.Func`3<WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>,WireMock.Settings.IProxyAndRecordSettings) - + - - - - - - - + + + + + + + - + 100663641 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.ProxyAsyncResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -21378,511 +21545,511 @@ 100663662 System.Nullable`1<System.TimeSpan> WireMock.ResponseBuilders.Response::get_Delay() - + - + - + 100663663 System.Void WireMock.ResponseBuilders.Response::set_Delay(System.Nullable`1<System.TimeSpan>) - + - + - + 100663664 System.Boolean WireMock.ResponseBuilders.Response::get_UseTransformer() - + - + - + 100663665 System.Void WireMock.ResponseBuilders.Response::set_UseTransformer(System.Boolean) - + - + - + 100663666 System.String WireMock.ResponseBuilders.Response::get_ProxyUrl() - + - + - + 100663667 System.Void WireMock.ResponseBuilders.Response::set_ProxyUrl(System.String) - + - + - + 100663668 System.String WireMock.ResponseBuilders.Response::get_ClientX509Certificate2ThumbprintOrSubjectName() - + - + - + 100663669 System.Void WireMock.ResponseBuilders.Response::set_ClientX509Certificate2ThumbprintOrSubjectName(System.String) - + - + - + 100663670 WireMock.ResponseMessage WireMock.ResponseBuilders.Response::get_ResponseMessage() - + - + - + 100663671 System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage> WireMock.ResponseBuilders.Response::get_Callback() - + - + - + 100663672 System.Void WireMock.ResponseBuilders.Response::set_Callback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - + - + 100663673 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::Create(WireMock.ResponseMessage) - + - - - - + + + + - + 100663674 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::Create(System.Func`1<WireMock.ResponseMessage>) - + - - - - + + + + - + 100663675 System.Void WireMock.ResponseBuilders.Response::.ctor(WireMock.ResponseMessage) - + - - - - + + + + - + 100663676 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithStatusCode(System.Int32) - + - - - - + + + + - + 100663677 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithStatusCode(System.Net.HttpStatusCode) - + - - - + + + - + 100663678 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithSuccess() - + - - - + + + - + 100663679 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithNotFound() - + - - - + + + - + 100663680 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeader(System.String,System.String[]) - + - - - - - + + + + + - + 100663681 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - + + + + + - + 100663682 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String[]>) - + - - - - - + + + + + - + 100663683 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - - - - + + + + - + 100663684 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.Func`2<WireMock.RequestMessage,System.String>,System.String,System.Text.Encoding) - + - - - + + + - + 100663685 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.Byte[],System.String,System.Text.Encoding) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + - + 100663686 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyFromFile(System.String,System.Boolean) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + - + 100663687 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.String,System.String,System.Text.Encoding) - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + 100663688 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyAsJson(System.Object,System.Text.Encoding) - + - - - - - - - + + + + + + + - + 100663689 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyFromBase64(System.String,System.Text.Encoding) - + - - - - - - - - + + + + + + + + - - + + - + 100663690 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithTransformer() - + - - - - + + + + - + 100663691 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithDelay(System.TimeSpan) - + - - - - - + + + + + - + 100663692 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithDelay(System.Int32) - + - - - + + + - + 100663693 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithProxy(System.String,System.String) - + - - - - - - - + + + + + + + - + 100663694 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithProxy(WireMock.Settings.IProxyAndRecordSettings) - + - - - - + + + + - + 100663695 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithCallback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - - - - - + + + + + - + @@ -21890,7 +22057,7 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseBuilders.Response::ProvideResponseAsync(WireMock.RequestMessage) - + @@ -21900,74 +22067,74 @@ - 100664289 + 100664291 System.Void WireMock.ResponseBuilders.Response/<>c::.cctor() - + - 100664290 + 100664292 System.Void WireMock.ResponseBuilders.Response/<>c::.ctor() - - - - - 100664291 - System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) - - - - - - - - - - 100664292 - WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) - - - - - - + 100664293 - System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) + - + - + 100664294 - WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) + - + - + 100664295 - System.Boolean WireMock.ResponseBuilders.Response/<>c::<WithDelay>b__42_0(System.TimeSpan) - + System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + + + + + 100664296 + WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + + + + + 100664297 + System.Boolean WireMock.ResponseBuilders.Response/<>c::<WithDelay>b__42_0(System.TimeSpan) + + + + + + @@ -21977,22 +22144,22 @@ - 100664296 + 100664298 System.Void WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::.ctor() - + - 100664297 + 100664299 WireMock.ResponseMessage WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::<WithBody>b__0(WireMock.RequestMessage) - + - + - + @@ -22002,56 +22169,56 @@ - 100664298 + 100664300 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::.ctor() - + - 100664299 + 100664301 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::MoveNext() - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - 100664300 + 100664302 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -22063,563 +22230,563 @@ 100663731 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::Create() - + - - - + + + - + 100663732 System.Void WireMock.RequestBuilders.Request::.ctor(System.Collections.Generic.IList`1<WireMock.Matchers.Request.IRequestMatcher>) - + - - - - + + + + - + 100663733 System.Collections.Generic.IList`1<T> WireMock.RequestBuilders.Request::GetRequestMessageMatchers() - + - - - + + + - + 100663734 T WireMock.RequestBuilders.Request::GetRequestMessageMatcher() - + - - - + + + - + 100663735 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663736 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(System.String[]) - + - - - - - + + + + + - + 100663737 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663738 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663739 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(System.String[]) - + - - - - - + + + + + - + 100663740 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663741 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663742 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(System.String[]) - + - - - - - + + + + + - + 100663743 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663744 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingDelete() - + - - - - + + + + - + 100663745 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingGet() - + - - - - + + + + - + 100663746 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingHead() - + - - - - + + + + - + 100663747 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPost() - + - - - - + + + + - + 100663748 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPatch() - + - - - - + + + + - + 100663749 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPut() - + - - - - + + + + - + 100663750 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingAnyVerb() - + - - - - - - - - - - - + + + + + + + + + + + - + 100663751 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingVerb(System.String[]) - + - - - - - + + + + + - + 100663752 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.String) - + - - - - + + + + - + 100663753 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Byte[]) - + - - - - + + + + - + 100663754 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Object) - + - - - - + + + + - + 100663755 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(WireMock.Matchers.IMatcher) - + - - - - - + + + + + - + 100663756 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.String,System.Boolean>) - + - - - - - + + + + + - + 100663757 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.Byte[],System.Boolean>) - + - - - - - + + + + + - + 100663758 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.Object,System.Boolean>) - + - - - - - + + + + + - + 100663759 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.String) - + - - - - - + + + + + - + 100663760 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.String,System.String[]) - + - - - - - + + + + + - + 100663761 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[]) - + - - - - - + + + + + - + 100663762 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,System.String,System.Boolean) - + - - - - - - + + + + + + - + 100663763 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,System.String[],System.Boolean) - + - - - - - - + + + + + + - + 100663764 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - + + + + + + - + 100663765 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[]) - + - - - - - + + + + + - + 100663766 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.String,System.String,System.Boolean) - + - - - - + + + + - + 100663767 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663768 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[]) - + - - - - - + + + + + - + @@ -22629,30 +22796,30 @@ - 100664301 + 100664303 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.cctor() - + - 100664302 + 100664304 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.ctor() - + - 100664303 + 100664305 System.Boolean WireMock.RequestBuilders.Request/<>c__3`1::<GetRequestMessageMatchers>b__3_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -22662,30 +22829,30 @@ - 100664304 + 100664306 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.cctor() - + - 100664305 + 100664307 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.ctor() - + - 100664306 + 100664308 System.Boolean WireMock.RequestBuilders.Request/<>c__4`1::<GetRequestMessageMatcher>b__4_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -22695,30 +22862,30 @@ - 100664307 + 100664309 System.Void WireMock.RequestBuilders.Request/<>c::.cctor() - + - 100664308 + 100664310 System.Void WireMock.RequestBuilders.Request/<>c::.ctor() - + - 100664309 + 100664311 System.Boolean WireMock.RequestBuilders.Request/<>c::<UsingAnyVerb>b__20_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -22730,16 +22897,16 @@ 100663769 System.Void WireMock.Owin.GlobalExceptionMiddleware::.ctor(Microsoft.Owin.OwinMiddleware,WireMock.Owin.WireMockMiddlewareOptions) - + - - - - - + + + + + - + @@ -22747,7 +22914,7 @@ System.Threading.Tasks.Task WireMock.Owin.GlobalExceptionMiddleware::Invoke(Microsoft.Owin.IOwinContext) - + @@ -22757,44 +22924,44 @@ - 100664310 + 100664312 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::.ctor() - + - 100664311 + 100664313 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::MoveNext() - + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - + - 100664312 + 100664314 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -22808,20 +22975,20 @@ System.Threading.Tasks.Task`1<WireMock.RequestMessage> WireMock.Owin.OwinRequestMapper::MapAsync(Microsoft.Owin.IOwinRequest) - + 100663777 System.Boolean WireMock.Owin.OwinRequestMapper::ShouldParseBody(System.String) - + - - - + + + - + @@ -22829,7 +22996,7 @@ System.Void WireMock.Owin.OwinRequestMapper::.ctor() - + @@ -22839,69 +23006,69 @@ - 100664313 + 100664315 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::.ctor() - + - 100664314 + 100664316 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + - 100664315 + 100664317 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -22915,29 +23082,29 @@ System.Threading.Tasks.Task WireMock.Owin.OwinResponseMapper::MapAsync(WireMock.ResponseMessage,Microsoft.Owin.IOwinResponse) - + 100663780 System.Void WireMock.Owin.OwinResponseMapper::.ctor() - + - + - + 100663781 System.Void WireMock.Owin.OwinResponseMapper::.cctor() - + - + - + @@ -22947,84 +23114,84 @@ - 100664316 + 100664318 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::.ctor() - + - 100664317 + 100664319 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - 100664318 + 100664320 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -23034,30 +23201,30 @@ - 100664319 + 100664321 System.Void WireMock.Owin.OwinResponseMapper/<>c::.cctor() - + - 100664320 + 100664322 System.Void WireMock.Owin.OwinResponseMapper/<>c::.ctor() - + - 100664321 + 100664323 System.Void WireMock.Owin.OwinResponseMapper/<>c::<.cctor>b__4_0(Microsoft.Owin.IOwinResponse,WireMock.Util.WireMockList`1<System.String>) - + - + - + @@ -23069,172 +23236,172 @@ 100663783 System.Boolean WireMock.Owin.OwinSelfHost::get_IsStarted() - + - + - + 100663784 System.Void WireMock.Owin.OwinSelfHost::set_IsStarted(System.Boolean) - + - + - + 100663785 System.Collections.Generic.List`1<System.String> WireMock.Owin.OwinSelfHost::get_Urls() - + - + - + 100663786 System.Collections.Generic.List`1<System.Int32> WireMock.Owin.OwinSelfHost::get_Ports() - + - + - + 100663782 System.Void WireMock.Owin.OwinSelfHost::.ctor(WireMock.Owin.WireMockMiddlewareOptions,System.String[]) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + 100663787 System.Threading.Tasks.Task WireMock.Owin.OwinSelfHost::StartAsync() - + - - - + + + - + 100663788 System.Threading.Tasks.Task WireMock.Owin.OwinSelfHost::StopAsync() - + - - - - + + + + - + 100663789 System.Void WireMock.Owin.OwinSelfHost::StartServers() - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663790 System.Void WireMock.Owin.OwinSelfHost::<StartAsync>b__13_0() - + - - - + + + - + 100663791 System.Void WireMock.Owin.OwinSelfHost::<StartServers>b__15_0(Owin.IAppBuilder) - + - - - - - - + + + + + + - - - - + + + + - + @@ -23246,17 +23413,17 @@ 100663792 System.Void WireMock.Owin.WireMockMiddleware::.ctor(Microsoft.Owin.OwinMiddleware,WireMock.Owin.WireMockMiddlewareOptions) - + - - - - - - + + + + + + - + @@ -23264,71 +23431,71 @@ System.Threading.Tasks.Task WireMock.Owin.WireMockMiddleware::Invoke(Microsoft.Owin.IOwinContext) - + 100663794 System.Void WireMock.Owin.WireMockMiddleware::LogRequest(WireMock.Logging.LogEntry,System.Boolean) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + 100663795 System.Void WireMock.Owin.WireMockMiddleware::.cctor() - + - + - + @@ -23338,25 +23505,25 @@ - 100664322 + 100664324 System.Void WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::.ctor() - + - 100664323 + 100664325 <>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult> WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::<Invoke>b__0(WireMock.Mapping) - + - + - - + + - + @@ -23366,99 +23533,99 @@ - 100664324 + 100664326 System.Void WireMock.Owin.WireMockMiddleware/<>c::.cctor() - + - 100664325 + 100664327 System.Void WireMock.Owin.WireMockMiddleware/<>c::.ctor() - + - 100664326 + 100664328 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_1(WireMock.Mapping) - + - + - - + + - + - 100664327 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_2(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - - - - - - - - - - 100664328 - WireMock.Matchers.Request.RequestMatchResult WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_3(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - - - - - - - - - 100664329 - System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_4(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_2(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664330 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_5(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + WireMock.Matchers.Request.RequestMatchResult WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_3(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664331 - System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_6(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_4(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664332 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_7(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_5(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + + + + + 100664333 + System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_6(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + + + + + 100664334 + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_7(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + @@ -23468,128 +23635,128 @@ - 100664333 + 100664335 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::.ctor() - + - 100664334 + 100664336 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - 100664335 + 100664337 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -23601,223 +23768,223 @@ 100663796 WireMock.Logging.IWireMockLogger WireMock.Owin.WireMockMiddlewareOptions::get_Logger() - + - + - + 100663797 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_Logger(WireMock.Logging.IWireMockLogger) - + - + - + 100663798 System.Nullable`1<System.TimeSpan> WireMock.Owin.WireMockMiddlewareOptions::get_RequestProcessingDelay() - + - + - + 100663799 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_RequestProcessingDelay(System.Nullable`1<System.TimeSpan>) - + - + - + 100663800 WireMock.Matchers.IStringMatcher WireMock.Owin.WireMockMiddlewareOptions::get_AuthorizationMatcher() - + - + - + 100663801 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_AuthorizationMatcher(WireMock.Matchers.IStringMatcher) - + - + - + 100663802 System.Boolean WireMock.Owin.WireMockMiddlewareOptions::get_AllowPartialMapping() - + - + - + 100663803 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_AllowPartialMapping(System.Boolean) - + - + - + 100663804 System.Collections.Generic.IDictionary`2<System.Guid,WireMock.Mapping> WireMock.Owin.WireMockMiddlewareOptions::get_Mappings() - + - + - + 100663805 System.Collections.ObjectModel.ObservableCollection`1<WireMock.Logging.LogEntry> WireMock.Owin.WireMockMiddlewareOptions::get_LogEntries() - + - + - + 100663806 System.Nullable`1<System.Int32> WireMock.Owin.WireMockMiddlewareOptions::get_RequestLogExpirationDuration() - + - + - + 100663807 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - + - + 100663808 System.Nullable`1<System.Int32> WireMock.Owin.WireMockMiddlewareOptions::get_MaxRequestLogCount() - + - + - + 100663809 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + - + - + 100663810 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Owin.WireMockMiddlewareOptions::get_Scenarios() - + - + - + 100663811 System.Action`1<Owin.IAppBuilder> WireMock.Owin.WireMockMiddlewareOptions::get_PreWireMockMiddlewareInit() - + - + - + 100663812 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_PreWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>) - + - + - + 100663813 System.Action`1<Owin.IAppBuilder> WireMock.Owin.WireMockMiddlewareOptions::get_PostWireMockMiddlewareInit() - + - + - + 100663814 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_PostWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>) - + - + - + 100663815 System.Void WireMock.Owin.WireMockMiddlewareOptions::.ctor() - + - - - + + + - + @@ -23829,55 +23996,55 @@ 100663816 System.Void WireMock.Matchers.ExactMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663817 System.Double WireMock.Matchers.ExactMatcher::IsMatch(System.String) - + - - - + + + - + 100663818 System.String[] WireMock.Matchers.ExactMatcher::GetPatterns() - + - - - + + + - + 100663819 System.String WireMock.Matchers.ExactMatcher::GetName() - + - - - + + + - + @@ -23887,22 +24054,22 @@ - 100664336 + 100664338 System.Void WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664337 + 100664339 System.Boolean WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -23914,56 +24081,56 @@ 100663820 System.Void WireMock.Matchers.ExactObjectMatcher::.ctor(System.Object) - + - - - - + + + + - + 100663821 System.Void WireMock.Matchers.ExactObjectMatcher::.ctor(System.Byte[]) - + - - - - + + + + - + 100663822 System.Double WireMock.Matchers.ExactObjectMatcher::IsMatch(System.Object) - + - - - - + + + + - + 100663823 System.String WireMock.Matchers.ExactObjectMatcher::GetName() - + - - - + + + - + @@ -23975,92 +24142,92 @@ 100663829 System.Void WireMock.Matchers.JsonPathMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663830 System.Double WireMock.Matchers.JsonPathMatcher::IsMatch(System.String) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + 100663831 System.Double WireMock.Matchers.JsonPathMatcher::IsMatch(System.Object) - + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - + 100663832 System.String[] WireMock.Matchers.JsonPathMatcher::GetPatterns() - + - - - + + + - + 100663833 System.String WireMock.Matchers.JsonPathMatcher::GetName() - + - - - + + + - + @@ -24070,22 +24237,22 @@ - 100664338 + 100664340 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664339 + 100664341 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -24095,22 +24262,22 @@ - 100664340 + 100664342 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::.ctor() - + - 100664341 + 100664343 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::<IsMatch>b__0(System.String) - + - + - + @@ -24122,49 +24289,49 @@ 100663834 System.Double WireMock.Matchers.MatchScores::ToScore(System.Boolean) - + - - - + + + - - + + - + 100663835 System.Double WireMock.Matchers.MatchScores::ToScore(System.Collections.Generic.IEnumerable`1<System.Boolean>) - + - - - + + + - - + + - + 100663836 System.Double WireMock.Matchers.MatchScores::ToScore(System.Collections.Generic.IEnumerable`1<System.Double>) - + - - - + + + - - + + - + @@ -24176,99 +24343,99 @@ 100663842 System.Boolean WireMock.Matchers.RegexMatcher::get_IgnoreCase() - + - + - + 100663837 System.Void WireMock.Matchers.RegexMatcher::.ctor(System.String,System.Boolean) - + - - - + + + - + 100663838 System.Void WireMock.Matchers.RegexMatcher::.ctor(System.String[],System.Boolean) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663839 System.Double WireMock.Matchers.RegexMatcher::IsMatch(System.String) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663840 System.String[] WireMock.Matchers.RegexMatcher::GetPatterns() - + - - - + + + - + 100663841 System.String WireMock.Matchers.RegexMatcher::GetName() - + - - - + + + - + @@ -24278,22 +24445,22 @@ - 100664342 + 100664344 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::.ctor() - + - 100664343 + 100664345 System.Text.RegularExpressions.Regex WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::<.ctor>b__0(System.String) - + - + - + @@ -24303,22 +24470,22 @@ - 100664344 + 100664346 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::.ctor() - + - 100664345 + 100664347 System.Boolean WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.Text.RegularExpressions.Regex) - + - + - + @@ -24330,121 +24497,121 @@ 100663843 System.Void WireMock.Matchers.SimMetricsMatcher::.ctor(System.String,SimMetrics.Net.SimMetricType) - + - - - + + + - + 100663844 System.Void WireMock.Matchers.SimMetricsMatcher::.ctor(System.String[],SimMetrics.Net.SimMetricType) - + - - - - - - + + + + + + - + 100663845 System.Double WireMock.Matchers.SimMetricsMatcher::IsMatch(System.String) - + - - - - + + + + - + 100663846 SimMetrics.Net.API.IStringMetric WireMock.Matchers.SimMetricsMatcher::GetStringMetricType() - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + 100663847 System.String[] WireMock.Matchers.SimMetricsMatcher::GetPatterns() - + - - - + + + - + 100663848 System.String WireMock.Matchers.SimMetricsMatcher::GetName() - + - - - + + + - + @@ -24454,22 +24621,22 @@ - 100664346 + 100664348 System.Void WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::.ctor() - + - 100664347 + 100664349 System.Double WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.String) - + - + - + @@ -24481,54 +24648,54 @@ 100663849 System.Void WireMock.Matchers.WildcardMatcher::.ctor(System.String,System.Boolean) - + - - - + + + - + 100663850 System.Void WireMock.Matchers.WildcardMatcher::.ctor(System.String[],System.Boolean) - + - - - - + + + + - + 100663851 System.String[] WireMock.Matchers.WildcardMatcher::GetPatterns() - + - - - + + + - + 100663852 System.String WireMock.Matchers.WildcardMatcher::GetName() - + - - - + + + - + @@ -24538,30 +24705,30 @@ - 100664348 + 100664350 System.Void WireMock.Matchers.WildcardMatcher/<>c::.cctor() - + - 100664349 + 100664351 System.Void WireMock.Matchers.WildcardMatcher/<>c::.ctor() - + - 100664350 + 100664352 System.String WireMock.Matchers.WildcardMatcher/<>c::<.ctor>b__2_0(System.String) - + - + - + @@ -24573,66 +24740,66 @@ 100663853 System.Void WireMock.Matchers.XPathMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663854 System.Double WireMock.Matchers.XPathMatcher::IsMatch(System.String) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + 100663855 System.String[] WireMock.Matchers.XPathMatcher::GetPatterns() - + - - - + + + - + 100663856 System.String WireMock.Matchers.XPathMatcher::GetName() - + - - - + + + - + @@ -24642,22 +24809,22 @@ - 100664351 + 100664353 System.Void WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664352 + 100664354 System.Boolean WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -24669,120 +24836,120 @@ 100663858 System.Double WireMock.Matchers.Request.RequestMatchResult::get_TotalScore() - + - + - + 100663859 System.Void WireMock.Matchers.Request.RequestMatchResult::set_TotalScore(System.Double) - + - + - + 100663860 System.Int32 WireMock.Matchers.Request.RequestMatchResult::get_TotalNumber() - + - + - + 100663861 System.Void WireMock.Matchers.Request.RequestMatchResult::set_TotalNumber(System.Int32) - + - + - + 100663862 System.Boolean WireMock.Matchers.Request.RequestMatchResult::get_IsPerfectMatch() - + - + - + 100663863 System.Double WireMock.Matchers.Request.RequestMatchResult::get_AverageTotalScore() - + - + - + 100663864 System.Collections.Generic.IList`1<System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>> WireMock.Matchers.Request.RequestMatchResult::get_MatchDetails() - + - + - + 100663865 System.Void WireMock.Matchers.Request.RequestMatchResult::.ctor() - + - - + + - + 100663866 System.Double WireMock.Matchers.Request.RequestMatchResult::AddScore(System.Type,System.Double) - + - - - - - - + + + + + + - + 100663867 System.Int32 WireMock.Matchers.Request.RequestMatchResult::CompareTo(System.Object) - + - - - - + + + + - + @@ -24794,212 +24961,212 @@ 100663868 System.Func`2<System.String,System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_Func() - + - + - + 100663869 System.Func`2<System.Byte[],System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_DataFunc() - + - + - + 100663870 System.Func`2<System.Object,System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_JsonFunc() - + - + - + 100663871 WireMock.Matchers.IMatcher WireMock.Matchers.Request.RequestMessageBodyMatcher::get_Matcher() - + - + - + 100663872 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.String) - + - - - + + + - + 100663873 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Byte[]) - + - - - + + + - + 100663874 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Object) - + - - - + + + - + 100663875 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.String,System.Boolean>) - + - - - - - + + + + + - + 100663876 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.Byte[],System.Boolean>) - + - - - - - + + + + + - + 100663877 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.Object,System.Boolean>) - + - - - - - + + + + + - + 100663878 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(WireMock.Matchers.IMatcher) - + - - - - - + + + + + - + 100663879 System.Double WireMock.Matchers.Request.RequestMessageBodyMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663880 System.Double WireMock.Matchers.Request.RequestMessageBodyMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + @@ -25011,104 +25178,104 @@ 100663881 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessageClientIPMatcher::get_Matchers() - + - + - + 100663882 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessageClientIPMatcher::get_Funcs() - + - + - + 100663883 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(System.String[]) - + - - - + + + - + 100663884 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663885 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663886 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663887 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -25118,30 +25285,30 @@ - 100664353 + 100664355 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.cctor() - + - 100664354 + 100664356 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.ctor() - + - 100664355 + 100664357 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -25151,33 +25318,33 @@ - 100664356 + 100664358 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664357 + 100664359 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664358 + 100664360 System.Boolean WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -25189,52 +25356,52 @@ 100663888 System.Collections.Generic.IEnumerable`1<WireMock.Matchers.Request.IRequestMatcher> WireMock.Matchers.Request.RequestMessageCompositeMatcher::get_RequestMatchers() - + - + - + 100663889 System.Void WireMock.Matchers.Request.RequestMessageCompositeMatcher::.ctor(System.Collections.Generic.IEnumerable`1<WireMock.Matchers.Request.IRequestMatcher>,WireMock.Matchers.Request.CompositeMatcherType) - + - - - - - - + + + + + + - + 100663890 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -25244,33 +25411,33 @@ - 100664359 + 100664361 System.Void WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::.ctor() - + - 100664360 + 100664362 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + - 100664361 + 100664363 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__1(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -25282,132 +25449,132 @@ 100663891 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Funcs() - + - + - + 100663892 System.String WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Name() - + - + - + 100663893 WireMock.Matchers.IStringMatcher[] WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Matchers() - + - + - + 100663894 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.String,System.String,System.Boolean) - + - - - - - - - + + + + + + + - + 100663895 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - - + + + + + + + - + 100663896 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[]) - + - - - - - + + + + + - + 100663897 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663898 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -25417,33 +25584,33 @@ - 100664362 + 100664364 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::.ctor() - + - 100664363 + 100664365 System.Boolean WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>) - + - + - + - 100664364 + 100664366 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) - + - + - + @@ -25455,149 +25622,149 @@ 100663899 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Funcs() - + - + - + 100663900 System.String WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Name() - + - + - + 100663901 WireMock.Matchers.IStringMatcher[] WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Matchers() - + - + - + 100663902 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,System.String,System.Boolean) - + - - - - - - - + + + + + + + - + 100663903 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,System.String[],System.Boolean) - + - - - - - - - + + + + + + + - + 100663904 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - - + + + + + + + - + 100663905 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[]) - + - - - - - + + + + + - + 100663906 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663907 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -25607,22 +25774,22 @@ - 100664365 + 100664367 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664366 + 100664368 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::<.ctor>b__0(System.String) - + - + - + @@ -25632,33 +25799,33 @@ - 100664367 + 100664369 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::.ctor() - + - 100664368 + 100664370 System.Boolean WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>) - + - + - + - 100664369 + 100664371 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) - + - + - + @@ -25668,22 +25835,22 @@ - 100664370 + 100664372 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::.ctor() - + - 100664371 + 100664373 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::<IsMatch>b__4(System.String) - + - + - + @@ -25693,41 +25860,41 @@ - 100664372 + 100664374 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.cctor() - + - 100664373 + 100664375 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.ctor() - + - 100664374 + 100664376 System.String WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_2(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + - 100664375 + 100664377 System.String[] WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_3(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + @@ -25739,54 +25906,54 @@ 100663908 System.String[] WireMock.Matchers.Request.RequestMessageMethodMatcher::get_Methods() - + - + - + 100663909 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663910 System.Double WireMock.Matchers.Request.RequestMessageMethodMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663911 System.Double WireMock.Matchers.Request.RequestMessageMethodMatcher::IsMatch(WireMock.RequestMessage) - + - - - + + + - + @@ -25796,30 +25963,30 @@ - 100664376 + 100664378 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.cctor() - + - 100664377 + 100664379 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.ctor() - + - 100664378 + 100664380 System.String WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::<.ctor>b__3_0(System.String) - + - + - + @@ -25831,123 +25998,123 @@ 100663912 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageParamMatcher::get_Funcs() - + - + - + 100663913 System.String WireMock.Matchers.Request.RequestMessageParamMatcher::get_Key() - + - + - + 100663914 System.Collections.Generic.IEnumerable`1<System.String> WireMock.Matchers.Request.RequestMessageParamMatcher::get_Values() - + - + - + 100663915 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.String) - + - - - + + + - + 100663916 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.String,System.Collections.Generic.IEnumerable`1<System.String>) - + - - - - - - + + + + + + - + 100663917 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[]) - + - - - - - + + + + + - + 100663918 System.Double WireMock.Matchers.Request.RequestMessageParamMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663919 System.Double WireMock.Matchers.Request.RequestMessageParamMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - + @@ -25957,33 +26124,33 @@ - 100664379 + 100664381 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::.ctor() - + - 100664380 + 100664382 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>) - + - + - + - 100664381 + 100664383 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(System.String) - + - + - + @@ -25995,104 +26162,104 @@ 100663920 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessagePathMatcher::get_Matchers() - + - + - + 100663921 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessagePathMatcher::get_Funcs() - + - + - + 100663922 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(System.String[]) - + - - - + + + - + 100663923 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663924 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663925 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663926 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -26102,30 +26269,30 @@ - 100664382 + 100664384 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.cctor() - + - 100664383 + 100664385 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.ctor() - + - 100664384 + 100664386 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -26135,33 +26302,33 @@ - 100664385 + 100664387 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664386 + 100664388 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664387 + 100664389 System.Boolean WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -26173,46 +26340,46 @@ 100663927 System.Void WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::.ctor(System.Object,System.Object) - + - - - - - + + + + + - + 100663928 System.Double WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663929 System.Double WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::IsMatch() - + - - - + + + - - + + - + @@ -26224,104 +26391,104 @@ 100663930 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessageUrlMatcher::get_Matchers() - + - + - + 100663931 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessageUrlMatcher::get_Funcs() - + - + - + 100663932 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(System.String[]) - + - - - + + + - + 100663933 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663934 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663935 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663936 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -26331,30 +26498,30 @@ - 100664388 + 100664390 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.cctor() - + - 100664389 + 100664391 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.ctor() - + - 100664390 + 100664392 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -26364,33 +26531,33 @@ - 100664391 + 100664393 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664392 + 100664394 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664393 + 100664395 System.Boolean WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -26402,133 +26569,133 @@ 100663941 System.Guid WireMock.Logging.LogEntry::get_Guid() - + - + - + 100663942 System.Void WireMock.Logging.LogEntry::set_Guid(System.Guid) - + - + - + 100663943 WireMock.RequestMessage WireMock.Logging.LogEntry::get_RequestMessage() - + - + - + 100663944 System.Void WireMock.Logging.LogEntry::set_RequestMessage(WireMock.RequestMessage) - + - + - + 100663945 WireMock.ResponseMessage WireMock.Logging.LogEntry::get_ResponseMessage() - + - + - + 100663946 System.Void WireMock.Logging.LogEntry::set_ResponseMessage(WireMock.ResponseMessage) - + - + - + 100663947 WireMock.Matchers.Request.RequestMatchResult WireMock.Logging.LogEntry::get_RequestMatchResult() - + - + - + 100663948 System.Void WireMock.Logging.LogEntry::set_RequestMatchResult(WireMock.Matchers.Request.RequestMatchResult) - + - + - + 100663949 System.Nullable`1<System.Guid> WireMock.Logging.LogEntry::get_MappingGuid() - + - + - + 100663950 System.Void WireMock.Logging.LogEntry::set_MappingGuid(System.Nullable`1<System.Guid>) - + - + - + 100663951 System.String WireMock.Logging.LogEntry::get_MappingTitle() - + - + - + 100663952 System.Void WireMock.Logging.LogEntry::set_MappingTitle(System.String) - + - + - + @@ -26536,7 +26703,7 @@ System.Void WireMock.Logging.LogEntry::.ctor() - + @@ -26548,67 +26715,67 @@ 100663954 System.Void WireMock.Logging.WireMockConsoleLogger::Debug(System.String,System.Object[]) - + - - - + + + - + 100663955 System.Void WireMock.Logging.WireMockConsoleLogger::Info(System.String,System.Object[]) - + - - - + + + - + 100663956 System.Void WireMock.Logging.WireMockConsoleLogger::Warn(System.String,System.Object[]) - + - - - + + + - + 100663957 System.Void WireMock.Logging.WireMockConsoleLogger::Error(System.String,System.Object[]) - + - - - + + + - + 100663958 System.String WireMock.Logging.WireMockConsoleLogger::Format(System.String,System.String,System.Object[]) - + - - - - + + + + - + @@ -26616,7 +26783,7 @@ System.Void WireMock.Logging.WireMockConsoleLogger::.ctor() - + @@ -26628,49 +26795,49 @@ 100663960 System.Void WireMock.Logging.WireMockNullLogger::Debug(System.String,System.Object[]) - + - - + + - + 100663961 System.Void WireMock.Logging.WireMockNullLogger::Info(System.String,System.Object[]) - + - - + + - + 100663962 System.Void WireMock.Logging.WireMockNullLogger::Warn(System.String,System.Object[]) - + - - + + - + 100663963 System.Void WireMock.Logging.WireMockNullLogger::Error(System.String,System.Object[]) - + - - + + - + @@ -26678,7 +26845,7 @@ System.Void WireMock.Logging.WireMockNullLogger::.ctor() - + @@ -26690,29 +26857,29 @@ 100663965 System.Net.Http.HttpClient WireMock.Http.HttpClientHelper::CreateHttpClient(System.String) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - + @@ -26720,192 +26887,80 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Http.HttpClientHelper::SendAsync(System.Net.Http.HttpClient,WireMock.RequestMessage,System.String) - + - + WireMock.Http.HttpClientHelper/<>c - 100664394 + 100664396 System.Void WireMock.Http.HttpClientHelper/<>c::.cctor() - + - 100664395 + 100664397 System.Void WireMock.Http.HttpClientHelper/<>c::.ctor() - - - - - 100664396 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<CreateHttpClient>b__0_0(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors) - - - - - - - - - - 100664397 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - - - - - - + 100664398 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_2(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - + System.Boolean WireMock.Http.HttpClientHelper/<>c::<CreateHttpClient>b__0_0(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors) + - + - - - - - 100664399 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - - - - - - + - + WireMock.Http.HttpClientHelper/<SendAsync>d__1 - 100664400 + 100664399 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::.ctor() - + - - - 100664401 + + + 100664400 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - 100664402 + 100664401 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -26914,66 +26969,323 @@ WireMock.Http.HttpKnownHeaderNames + + + WireMock.Http.HttpRequestMessageHelper + + + + 100663967 + System.Net.Http.HttpRequestMessage WireMock.Http.HttpRequestMessageHelper::Create(WireMock.RequestMessage,System.String) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0 + + + + 100664402 + System.Void WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::.ctor() + + + + + + + 100664403 + System.Boolean WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::<Create>b__0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper + + + + 100663968 + System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Http.HttpResponseMessageHelper::Create(System.Net.Http.HttpResponseMessage,System.Uri,System.Uri) + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<>c + + + + 100664404 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.cctor() + + + + + + + 100664405 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.ctor() + + + + + + + 100664406 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + 100664407 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<Create>d__0 + + + + 100664408 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::.ctor() + + + + + + + 100664409 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::MoveNext() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100664410 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) + + + + + + WireMock.Http.PortUtil - 100663967 + 100663969 System.Int32 WireMock.Http.PortUtil::FindFreeTcpPort() - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663968 + 100663970 System.Boolean WireMock.Http.PortUtil::TryExtractProtocolAndPort(System.String,System.String&,System.Int32&) - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663969 + 100663971 System.Void WireMock.Http.PortUtil::.cctor() - + - + - + @@ -26983,35 +27295,35 @@ - 100663970 + 100663972 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.ClientCertificateHelper::GetCertificate(System.String) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -27021,17 +27333,17 @@ - 100663971 + 100663973 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.PublicCertificateHelper::GetX509Certificate2() - + - - - - + + + + - + @@ -27039,101 +27351,101 @@ WireMock.Admin.Settings.SettingsModel - - - 100663994 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() - - - - - - - - - - 100663995 - System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) - - - - - - - 100663996 - System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() + - + - + 100663997 - System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) + - + - + 100663998 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() - + System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() + - + - + 100663999 - System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) + - + - + 100664000 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() + - + - + 100664001 - System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) + - + - + + + + + 100664002 + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() + + + + + + + + + + 100664003 + System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) + + + + + + - 100664002 + 100664004 System.Void WireMock.Admin.Settings.SettingsModel::.ctor() - + @@ -27141,145 +27453,145 @@ WireMock.Admin.Requests.LogEntryModel - - - 100664003 - System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() - - - - - - - - - - 100664004 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) - - - - - - - 100664005 - WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() - + System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() + - + - + 100664006 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) + - + - + 100664007 - WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() - + WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() + - + - + 100664008 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) + - + - + 100664009 - System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() - + WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() + - + - + 100664010 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) + - + - + 100664011 - System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() - + System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() + - + - + 100664012 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) + - + - + 100664013 - WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() - + System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() + - + - + 100664014 - System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) + - + - + + + + + 100664015 + WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() + + + + + + + + + + 100664016 + System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) + + + + + + - 100664015 + 100664017 System.Void WireMock.Admin.Requests.LogEntryModel::.ctor() - + @@ -27287,123 +27599,123 @@ WireMock.Admin.Requests.LogRequestMatchModel - - - 100664016 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() - - - - - - - - - - 100664017 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) - - - - - - - 100664018 - System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() + - + - + 100664019 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) + - + - + 100664020 - System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() - + System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() + - + - + 100664021 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) + - + - + 100664022 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() - + System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() + - + - + 100664023 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) + - + - + 100664024 - System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() + - + - + 100664025 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) + - + - + + + + + 100664026 + System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() + + + + + + + + + + 100664027 + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) + + + + + + - 100664026 + 100664028 System.Void WireMock.Admin.Requests.LogRequestMatchModel::.ctor() - + @@ -27411,277 +27723,277 @@ WireMock.Admin.Requests.LogRequestModel - - - 100664027 - System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() - - - - - - - - - - 100664028 - System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) - - - - - - - 100664029 - System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() - + System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() + - + - + 100664030 - System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) + - + - + 100664031 - System.String WireMock.Admin.Requests.LogRequestModel::get_Path() - + System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() + - + - + 100664032 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) + - + - + 100664033 - System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Path() + - + - + 100664034 - System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) + - + - + 100664035 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() - + System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() + - + - + 100664036 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) + - + - + 100664037 - System.String WireMock.Admin.Requests.LogRequestModel::get_Method() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() + - + - + 100664038 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664039 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Method() + - + - + 100664040 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) + - + - + 100664041 - System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() + - + - + 100664042 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664043 - System.String WireMock.Admin.Requests.LogRequestModel::get_Body() - + System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() + - + - + 100664044 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) + - + - + 100664045 - System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Body() + - + - + 100664046 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) + - + - + 100664047 - System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() + - + - + 100664048 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) + - + - + 100664049 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() - + System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() + - + - + 100664050 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) + - + - + + + + + 100664051 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() + + + + + + + + + + 100664052 + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664051 + 100664053 System.Void WireMock.Admin.Requests.LogRequestModel::.ctor() - + @@ -27689,236 +28001,236 @@ WireMock.Admin.Requests.LogResponseModel - - - 100664052 - System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() - - - - - - - - - - 100664053 - System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) - - - - - - - 100664054 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() - + System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() + - + - + 100664055 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) + - + - + 100664056 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() + - + - + 100664057 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664058 - System.String WireMock.Admin.Requests.LogResponseModel::get_Body() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() + - + - + 100664059 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) + - + - + 100664060 - System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogResponseModel::get_Body() + - + - + 100664061 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) + - + - + 100664062 - System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() + - + - + 100664063 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) + - + - + 100664064 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() + - + - + 100664065 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664066 - System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() + - + - + 100664067 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) + - + - + 100664068 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() - + System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() + - + - + 100664069 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664070 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() + - + - + 100664071 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) + - + - + + + + + 100664072 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() + + + + + + + + + + 100664073 + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664072 + 100664074 System.Void WireMock.Admin.Requests.LogResponseModel::.ctor() - + - + - + @@ -27926,79 +28238,79 @@ WireMock.Admin.Mappings.BodyModel - - - 100664073 - WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() - - - - - - - - - - 100664074 - System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) - - - - - - - 100664075 - System.String WireMock.Admin.Mappings.BodyModel::get_Func() - + WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() + - + - + 100664076 - System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) + - + - + 100664077 - System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() - + System.String WireMock.Admin.Mappings.BodyModel::get_Func() + - + - + 100664078 - System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) + - + - + + + + + 100664079 + System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() + + + + + + + + + + 100664080 + System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) + + + + + + - 100664079 + 100664081 System.Void WireMock.Admin.Mappings.BodyModel::.ctor() - + @@ -28006,57 +28318,57 @@ WireMock.Admin.Mappings.ClientIPModel - - - 100664080 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() - - - - - - - - - - 100664081 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664082 - System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() + - + - + 100664083 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664084 + System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() + + + + + + + + + + 100664085 + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) + + + + + + - 100664084 + 100664086 System.Void WireMock.Admin.Mappings.ClientIPModel::.ctor() - + @@ -28064,79 +28376,79 @@ WireMock.Admin.Mappings.CookieModel - - - 100664085 - System.String WireMock.Admin.Mappings.CookieModel::get_Name() - - - - - - - - - - 100664086 - System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) - - - - - - - 100664087 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() - + System.String WireMock.Admin.Mappings.CookieModel::get_Name() + - + - + 100664088 - System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) + - + - + 100664089 - System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() + - + - + 100664090 - System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664091 + System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() + + + + + + + + + + 100664092 + System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) + + + + + + - 100664091 + 100664093 System.Void WireMock.Admin.Mappings.CookieModel::.ctor() - + @@ -28144,79 +28456,79 @@ WireMock.Admin.Mappings.EncodingModel - - - 100664092 - System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() - - - - - - - - - - 100664093 - System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) - - - - - - - 100664094 - System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() - + System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() + - + - + 100664095 - System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) + - + - + 100664096 - System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() - + System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() + - + - + 100664097 - System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) + - + - + + + + + 100664098 + System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() + + + + + + + + + + 100664099 + System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) + + + + + + - 100664098 + 100664100 System.Void WireMock.Admin.Mappings.EncodingModel::.ctor() - + @@ -28224,79 +28536,79 @@ WireMock.Admin.Mappings.HeaderModel - - - 100664099 - System.String WireMock.Admin.Mappings.HeaderModel::get_Name() - - - - - - - - - - 100664100 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) - - - - - - - 100664101 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() - + System.String WireMock.Admin.Mappings.HeaderModel::get_Name() + - + - + 100664102 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) + - + - + 100664103 - System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() + - + - + 100664104 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664105 + System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() + + + + + + + + + + 100664106 + System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) + + + + + + - 100664105 + 100664107 System.Void WireMock.Admin.Mappings.HeaderModel::.ctor() - + @@ -28304,189 +28616,189 @@ WireMock.Admin.Mappings.MappingModel - - - 100664106 - System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() - - - - - - - - - - 100664107 - System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) - - - - - - - 100664108 - System.String WireMock.Admin.Mappings.MappingModel::get_Title() - + System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() + - + - + 100664109 - System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) + - + - + 100664110 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() - + System.String WireMock.Admin.Mappings.MappingModel::get_Title() + - + - + 100664111 - System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) + - + - + 100664112 - System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() + - + - + 100664113 - System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) + - + - + 100664114 - System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() - + System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() + - + - + 100664115 - System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) + - + - + 100664116 - System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() - + System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() + - + - + 100664117 - System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) + - + - + 100664118 - WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() - + System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() + - + - + 100664119 - System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) + - + - + 100664120 - WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() - + WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() + - + - + 100664121 - System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) + - + - + + + + + 100664122 + WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() + + + + + + + + + + 100664123 + System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) + + + + + + - 100664122 + 100664124 System.Void WireMock.Admin.Mappings.MappingModel::.ctor() - + @@ -28494,101 +28806,101 @@ WireMock.Admin.Mappings.MatcherModel - - - 100664123 - System.String WireMock.Admin.Mappings.MatcherModel::get_Name() - - - - - - - - - - 100664124 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) - - - - - - - 100664125 - System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Name() + - + - + 100664126 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) + - + - + 100664127 - System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() + - + - + 100664128 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) + - + - + 100664129 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() - + System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() + - + - + 100664130 - System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) + - + - + + + + + 100664131 + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() + + + + + + + + + + 100664132 + System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) + + + + + + - 100664131 + 100664133 System.Void WireMock.Admin.Mappings.MatcherModel::.ctor() - + @@ -28596,79 +28908,79 @@ WireMock.Admin.Mappings.ParamModel - - - 100664132 - System.String WireMock.Admin.Mappings.ParamModel::get_Name() - - - - - - - - - - 100664133 - System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) - - - - - - - 100664134 - System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() - + System.String WireMock.Admin.Mappings.ParamModel::get_Name() + - + - + 100664135 - System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) + - + - + 100664136 - System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() - + System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() + - + - + 100664137 - System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) + - + - + + + + + 100664138 + System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() + + + + + + + + + + 100664139 + System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) + + + + + + - 100664138 + 100664140 System.Void WireMock.Admin.Mappings.ParamModel::.ctor() - + @@ -28676,57 +28988,57 @@ WireMock.Admin.Mappings.PathModel - - - 100664139 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.PathModel::get_Matchers() - - - - - - - - - - 100664140 - System.Void WireMock.Admin.Mappings.PathModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664141 - System.String[] WireMock.Admin.Mappings.PathModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.PathModel::get_Matchers() + - + - + 100664142 - System.Void WireMock.Admin.Mappings.PathModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.PathModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664143 + System.String[] WireMock.Admin.Mappings.PathModel::get_Funcs() + + + + + + + + + + 100664144 + System.Void WireMock.Admin.Mappings.PathModel::set_Funcs(System.String[]) + + + + + + - 100664143 + 100664145 System.Void WireMock.Admin.Mappings.PathModel::.ctor() - + @@ -28734,189 +29046,189 @@ WireMock.Admin.Mappings.RequestModel - - - 100664144 - System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() - - - - - - - - - - 100664145 - System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) - - - - - - - 100664146 - System.Object WireMock.Admin.Mappings.RequestModel::get_Path() - + System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() + - + - + 100664147 - System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) + - + - + 100664148 - System.Object WireMock.Admin.Mappings.RequestModel::get_Url() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Path() + - + - + 100664149 - System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) + - + - + 100664150 - System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Url() + - + - + 100664151 - System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) + - + - + 100664152 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() - + System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() + - + - + 100664153 - System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) + - + - + 100664154 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() + - + - + 100664155 - System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) + - + - + 100664156 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() + - + - + 100664157 - System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) + - + - + 100664158 - WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() + - + - + 100664159 - System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) + - + - + + + + + 100664160 + WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() + + + + + + + + + + 100664161 + System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) + + + + + + - 100664160 + 100664162 System.Void WireMock.Admin.Mappings.RequestModel::.ctor() - + @@ -28924,343 +29236,343 @@ WireMock.Admin.Mappings.ResponseModel - - - 100664161 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() - - - - - - - - - - 100664162 - System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) - - - - - - - 100664163 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() + - + - + 100664164 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) + - + - + 100664165 - System.String WireMock.Admin.Mappings.ResponseModel::get_Body() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() + - + - + 100664166 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) + - + - + 100664167 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() - + System.String WireMock.Admin.Mappings.ResponseModel::get_Body() + - + - + 100664168 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) + - + - + 100664169 - System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() + - + - + 100664170 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) + - + - + 100664171 - System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() + - + - + 100664172 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) + - + - + 100664173 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() + - + - + 100664174 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664175 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() + - + - + 100664176 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) + - + - + 100664177 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() - + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() + - + - + 100664178 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664179 - System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() - + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() + - + - + 100664180 - System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + - + - + 100664181 - System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() - + System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() + - + - + 100664182 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) + - + - + 100664183 - System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() - + System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() + - + - + 100664184 - System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) + - + - + 100664185 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() - + System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() + - + - + 100664186 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) + - + - + 100664187 - System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() + - + - + 100664188 - System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) + - + - + 100664189 - System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() - + System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() + - + - + 100664190 - System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) + - + - + + + + + 100664191 + System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() + + + + + + + + + + 100664192 + System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) + + + + + + - 100664191 + 100664193 System.Void WireMock.Admin.Mappings.ResponseModel::.ctor() - + @@ -29268,77 +29580,77 @@ WireMock.Admin.Mappings.UrlModel - - - 100664192 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() - - - - - - - - - - 100664193 - System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664194 - System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() + - + - + 100664195 - System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664196 + System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() + + + + + + + + + + 100664197 + System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) + + + + + + - 100664196 + 100664198 System.Void WireMock.Admin.Mappings.UrlModel::.ctor() - + - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\a2a0583c\00243ead_3baed201\xunit.runner.utility.net452.dll - 2018-03-15T21:52:06.8045011Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\7aa59d31\00243ead_3baed201\xunit.runner.utility.net452.dll + 2018-03-17T12:18:22.7079133Z xunit.runner.utility.net452 - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\b6df8685\00c8086e_94add201\xunit.execution.desktop.dll - 2018-03-15T21:52:06.8524992Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\f3ff228b\00c8086e_94add201\xunit.execution.desktop.dll + 2018-03-17T12:18:22.7549485Z xunit.execution.desktop - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\7c2e5db3\00243ead_3baed201\xunit.abstractions.dll - 2018-03-15T21:52:06.8925005Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\fec52064\00243ead_3baed201\xunit.abstractions.dll + 2018-03-17T12:18:22.7869111Z xunit.abstractions @@ -29348,9 +29660,9 @@ System - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\bfc46727\428c47d1_a7bcd301\WireMock.Net.Tests.dll - 2018-03-15T21:52:06.9865001Z + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\5a7249a8\2178c3fe_e9bdd301\WireMock.Net.Tests.dll + 2018-03-17T12:18:22.8969126Z WireMock.Net.Tests @@ -29361,8 +29673,8 @@ - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\a8653c7f\009bd76c_94add201\xunit.core.dll - 2018-03-15T21:52:07.0395005Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\22d050b2\009bd76c_94add201\xunit.core.dll + 2018-03-17T12:18:22.9479441Z xunit.core @@ -29373,8 +29685,8 @@ - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\9c499800\00243ead_3baed201\xunit.runner.visualstudio.testadapter.dll - 2018-03-15T21:52:07.4125026Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\e4f7105f\00243ead_3baed201\xunit.runner.visualstudio.testadapter.dll + 2018-03-17T12:18:23.3079138Z xunit.runner.visualstudio.testadapter @@ -29408,89 +29720,91 @@ System.Collections - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\add89ff4\475c33a3_a7bcd301\WireMock.Net.dll - 2018-03-15T21:52:08.1745082Z + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\dd364b88\167455fe_e9bdd301\WireMock.Net.dll + 2018-03-17T12:18:24.0849126Z WireMock.Net - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -29508,7 +29822,7 @@ <Mapping>j__TPar <>f__AnonymousType0`2::get_Mapping() - + @@ -29516,7 +29830,7 @@ <MatchResult>j__TPar <>f__AnonymousType0`2::get_MatchResult() - + @@ -29524,7 +29838,7 @@ System.Void <>f__AnonymousType0`2::.ctor(<Mapping>j__TPar,<MatchResult>j__TPar) - + @@ -29532,7 +29846,7 @@ System.Boolean <>f__AnonymousType0`2::Equals(System.Object) - + @@ -29540,7 +29854,7 @@ System.Int32 <>f__AnonymousType0`2::GetHashCode() - + @@ -29548,7 +29862,7 @@ System.String <>f__AnonymousType0`2::ToString() - + @@ -29562,7 +29876,7 @@ <Name>j__TPar <>f__AnonymousType1`2::get_Name() - + @@ -29570,7 +29884,7 @@ <Score>j__TPar <>f__AnonymousType1`2::get_Score() - + @@ -29578,7 +29892,7 @@ System.Void <>f__AnonymousType1`2::.ctor(<Name>j__TPar,<Score>j__TPar) - + @@ -29586,7 +29900,7 @@ System.Boolean <>f__AnonymousType1`2::Equals(System.Object) - + @@ -29594,7 +29908,7 @@ System.Int32 <>f__AnonymousType1`2::GetHashCode() - + @@ -29602,7 +29916,7 @@ System.String <>f__AnonymousType1`2::ToString() - + @@ -29616,7 +29930,7 @@ <Name>j__TPar <>f__AnonymousType2`3::get_Name() - + @@ -29624,7 +29938,7 @@ <Started>j__TPar <>f__AnonymousType2`3::get_Started() - + @@ -29632,7 +29946,7 @@ <NextState>j__TPar <>f__AnonymousType2`3::get_NextState() - + @@ -29640,7 +29954,7 @@ System.Void <>f__AnonymousType2`3::.ctor(<Name>j__TPar,<Started>j__TPar,<NextState>j__TPar) - + @@ -29648,7 +29962,7 @@ System.Boolean <>f__AnonymousType2`3::Equals(System.Object) - + @@ -29656,7 +29970,7 @@ System.Int32 <>f__AnonymousType2`3::GetHashCode() - + @@ -29664,7 +29978,7 @@ System.String <>f__AnonymousType2`3::ToString() - + @@ -29678,7 +29992,7 @@ <request>j__TPar <>f__AnonymousType3`1::get_request() - + @@ -29686,7 +30000,7 @@ System.Void <>f__AnonymousType3`1::.ctor(<request>j__TPar) - + @@ -29694,7 +30008,7 @@ System.Boolean <>f__AnonymousType3`1::Equals(System.Object) - + @@ -29702,7 +30016,7 @@ System.Int32 <>f__AnonymousType3`1::GetHashCode() - + @@ -29710,7 +30024,7 @@ System.String <>f__AnonymousType3`1::ToString() - + @@ -29722,155 +30036,155 @@ 100663321 System.Guid WireMock.Mapping::get_Guid() - + - + - + 100663322 System.String WireMock.Mapping::get_Title() - + - + - + 100663323 System.String WireMock.Mapping::get_Path() - + - + - + 100663324 System.Void WireMock.Mapping::set_Path(System.String) - + - + - + 100663325 System.Int32 WireMock.Mapping::get_Priority() - + - + - + 100663326 System.String WireMock.Mapping::get_Scenario() - + - + - + 100663327 System.Object WireMock.Mapping::get_ExecutionConditionState() - + - + - + 100663328 System.Object WireMock.Mapping::get_NextState() - + - + - + 100663329 WireMock.Matchers.Request.IRequestMatcher WireMock.Mapping::get_RequestMatcher() - + - + - + 100663330 WireMock.ResponseProviders.IResponseProvider WireMock.Mapping::get_Provider() - + - + - + 100663331 System.Boolean WireMock.Mapping::get_IsStartState() - + - + - + 100663335 System.Boolean WireMock.Mapping::get_IsAdminInterface() - + - + - + 100663332 System.Void WireMock.Mapping::.ctor(System.Guid,System.String,System.String,WireMock.Matchers.Request.IRequestMatcher,WireMock.ResponseProviders.IResponseProvider,System.Int32,System.String,System.Object,System.Object) - + - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -29878,30 +30192,30 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Mapping::ResponseToAsync(WireMock.RequestMessage) - + 100663334 WireMock.Matchers.Request.RequestMatchResult WireMock.Mapping::GetRequestMatchResult(WireMock.RequestMessage,System.Object) - + - - - - - - - - - - + + + + + + + + + + - - + + - + @@ -29911,32 +30225,32 @@ - 100664197 + 100664199 System.Void WireMock.Mapping/<ResponseToAsync>d__31::.ctor() - + - 100664198 + 100664200 System.Void WireMock.Mapping/<ResponseToAsync>d__31::MoveNext() - + - - - + + + - + - 100664199 + 100664201 System.Void WireMock.Mapping/<ResponseToAsync>d__31::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -29978,344 +30292,344 @@ 100663340 System.String WireMock.RequestMessage::get_ClientIP() - + - + - + 100663341 System.String WireMock.RequestMessage::get_Url() - + - + - + 100663342 System.DateTime WireMock.RequestMessage::get_DateTime() - + - + - + 100663343 System.Void WireMock.RequestMessage::set_DateTime(System.DateTime) - + - + - + 100663344 System.String WireMock.RequestMessage::get_Path() - + - + - + 100663345 System.String WireMock.RequestMessage::get_Method() - + - + - + 100663346 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::get_Headers() - + - + - + 100663347 System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.RequestMessage::get_Cookies() - + - + - + 100663348 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::get_Query() - + - + - + 100663349 System.String WireMock.RequestMessage::get_RawQuery() - + - + - + 100663350 System.String WireMock.RequestMessage::get_Body() - + - + - + 100663351 System.Object WireMock.RequestMessage::get_BodyAsJson() - + - + - + 100663352 System.Void WireMock.RequestMessage::set_BodyAsJson(System.Object) - + - + - + 100663353 System.Byte[] WireMock.RequestMessage::get_BodyAsBytes() - + - + - + 100663354 System.Void WireMock.RequestMessage::set_BodyAsBytes(System.Byte[]) - + - + - + 100663355 System.String WireMock.RequestMessage::get_Host() - + - + - + 100663356 System.String WireMock.RequestMessage::get_Protocol() - + - + - + 100663357 System.Int32 WireMock.RequestMessage::get_Port() - + - + - + 100663358 System.String WireMock.RequestMessage::get_Origin() - + - + - + 100663359 System.Text.Encoding WireMock.RequestMessage::get_BodyEncoding() - + - + - + 100663360 System.Void WireMock.RequestMessage::.ctor(System.Uri,System.String,System.String,WireMock.Util.BodyData,System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + 100663361 System.Void WireMock.RequestMessage::.ctor(System.Uri,System.String,System.String,System.Byte[],System.String,System.Text.Encoding,System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663362 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage::ParseQuery(System.String) - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - + 100663363 WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage::GetParameter(System.String) - + - - - - - - + + + + + + - - - - + + + + - + @@ -30325,92 +30639,92 @@ - 100664200 + 100664202 System.Void WireMock.RequestMessage/<>c::.cctor() - + - 100664201 + 100664203 System.Void WireMock.RequestMessage/<>c::.ctor() - - - - - 100664202 - System.String WireMock.RequestMessage/<>c::<.ctor>b__54_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - - - - - - - - - - 100664203 - WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__54_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - - - - - - + 100664204 - System.String WireMock.RequestMessage/<>c::<.ctor>b__55_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + System.String WireMock.RequestMessage/<>c::<.ctor>b__54_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + 100664205 - WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__55_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__54_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + + + + + 100664206 + System.String WireMock.RequestMessage/<>c::<.ctor>b__55_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + + + + + 100664207 + WireMock.Util.WireMockList`1<System.String> WireMock.RequestMessage/<>c::<.ctor>b__55_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + - 100664206 + 100664208 System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.RequestMessage/<>c::<ParseQuery>b__56_0(System.Collections.Generic.Dictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.String) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + - + @@ -30422,265 +30736,265 @@ 100663364 System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.ResponseMessage::get_Headers() - + - + - + 100663365 System.Void WireMock.ResponseMessage::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + 100663366 System.Int32 WireMock.ResponseMessage::get_StatusCode() - + - + - + 100663367 System.Void WireMock.ResponseMessage::set_StatusCode(System.Int32) - + - + - + 100663368 System.String WireMock.ResponseMessage::get_BodyOriginal() - + - + - + 100663369 System.Void WireMock.ResponseMessage::set_BodyOriginal(System.String) - + - + - + 100663370 System.String WireMock.ResponseMessage::get_BodyDestination() - + - + - + 100663371 System.Void WireMock.ResponseMessage::set_BodyDestination(System.String) - + - + - + 100663372 System.String WireMock.ResponseMessage::get_Body() - + - + - + 100663373 System.Void WireMock.ResponseMessage::set_Body(System.String) - + - + - + 100663374 System.Object WireMock.ResponseMessage::get_BodyAsJson() - + - + - + 100663375 System.Void WireMock.ResponseMessage::set_BodyAsJson(System.Object) - + - + - + 100663376 System.Byte[] WireMock.ResponseMessage::get_BodyAsBytes() - + - + - + 100663377 System.Void WireMock.ResponseMessage::set_BodyAsBytes(System.Byte[]) - + - + - + 100663378 System.String WireMock.ResponseMessage::get_BodyAsFile() - + - + - + 100663379 System.Void WireMock.ResponseMessage::set_BodyAsFile(System.String) - + - + - + 100663380 System.Nullable`1<System.Boolean> WireMock.ResponseMessage::get_BodyAsFileIsCached() - + - + - + 100663381 System.Void WireMock.ResponseMessage::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + - + - + 100663382 System.Text.Encoding WireMock.ResponseMessage::get_BodyEncoding() - + - + - + 100663383 System.Void WireMock.ResponseMessage::set_BodyEncoding(System.Text.Encoding) - + - + - + 100663384 System.Void WireMock.ResponseMessage::AddHeader(System.String,System.String) - + - - - + + + - + 100663385 System.Void WireMock.ResponseMessage::AddHeader(System.String,System.String[]) - + - - - - - + + + + + - - + + - + 100663386 System.Void WireMock.ResponseMessage::.ctor() - + - - - + + + - + @@ -30692,179 +31006,179 @@ 100663387 T WireMock.Validation.Check::Condition(T,System.Predicate`1<T>,System.String) - + - - - - - - - - - + + + + + + + + + - - + + - + 100663388 T WireMock.Validation.Check::NotNull(T,System.String) - + - - - - - - - + + + + + + + - - + + - + 100663389 T WireMock.Validation.Check::NotNull(T,System.String,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663390 System.Collections.Generic.IList`1<T> WireMock.Validation.Check::NotNullOrEmpty(System.Collections.Generic.IList`1<T>,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663391 System.String WireMock.Validation.Check::NotNullOrEmpty(System.String,System.String) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + 100663392 System.String WireMock.Validation.Check::NullButNotEmpty(System.String,System.String) - + - - - - - - - + + + + + + + - - + + - + 100663393 System.Collections.Generic.IList`1<T> WireMock.Validation.Check::HasNoNulls(System.Collections.Generic.IList`1<T>,System.String) - + - - - - - - - - + + + + + + + + - - + + - + 100663394 System.Type WireMock.Validation.Check::ValidEntityType(System.Type,System.String) - + - - - - - - - + + + + + + + - - + + - + @@ -30874,30 +31188,30 @@ - 100664207 + 100664209 System.Void WireMock.Validation.Check/<>c__6`1::.cctor() - + - 100664208 + 100664210 System.Void WireMock.Validation.Check/<>c__6`1::.ctor() - + - 100664209 + 100664211 System.Boolean WireMock.Validation.Check/<>c__6`1::<HasNoNulls>b__6_0(T) - + - + - + @@ -30909,53 +31223,53 @@ 100663395 System.String WireMock.Validation.CoreStrings::ArgumentPropertyNull(System.String,System.String) - + - - - + + + - + 100663396 System.String WireMock.Validation.CoreStrings::ArgumentIsEmpty(System.String) - + - - - + + + - + 100663397 System.String WireMock.Validation.CoreStrings::InvalidEntityType(System.Type,System.String) - + - - - + + + - + 100663398 System.String WireMock.Validation.CoreStrings::CollectionArgumentIsEmpty(System.String) - + - - - + + + - + @@ -30967,89 +31281,89 @@ 100663399 System.Text.Encoding WireMock.Util.BodyData::get_Encoding() - + - + - + 100663400 System.Void WireMock.Util.BodyData::set_Encoding(System.Text.Encoding) - + - + - + 100663401 System.String WireMock.Util.BodyData::get_BodyAsString() - + - + - + 100663402 System.Void WireMock.Util.BodyData::set_BodyAsString(System.String) - + - + - + 100663403 System.Object WireMock.Util.BodyData::get_BodyAsJson() - + - + - + 100663404 System.Void WireMock.Util.BodyData::set_BodyAsJson(System.Object) - + - + - + 100663405 System.Byte[] WireMock.Util.BodyData::get_BodyAsBytes() - + - + - + 100663406 System.Void WireMock.Util.BodyData::set_BodyAsBytes(System.Byte[]) - + - + - + @@ -31057,7 +31371,7 @@ System.Void WireMock.Util.BodyData::.ctor() - + @@ -31071,7 +31385,7 @@ System.Threading.Tasks.Task`1<System.Tuple`2<System.String,System.Text.Encoding>> WireMock.Util.BodyParser::ReadStringAsync(System.IO.Stream) - + @@ -31079,7 +31393,7 @@ System.Threading.Tasks.Task`1<System.Byte[]> WireMock.Util.BodyParser::ReadBytesAsync(System.IO.Stream) - + @@ -31087,18 +31401,18 @@ System.Threading.Tasks.Task`1<WireMock.Util.BodyData> WireMock.Util.BodyParser::Parse(System.IO.Stream,System.String) - + 100663411 System.Void WireMock.Util.BodyParser::.cctor() - + - + - + @@ -31108,38 +31422,38 @@ - 100664210 + 100664212 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::.ctor() - + - 100664211 + 100664213 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::MoveNext() - + - - - - - - + + + + + + - - + + - + - 100664212 + 100664214 System.Void WireMock.Util.BodyParser/<ReadStringAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -31149,38 +31463,38 @@ - 100664213 + 100664215 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::.ctor() - + - 100664214 + 100664216 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::MoveNext() - + - - - - - - + + + + + + - - + + - + - 100664215 + 100664217 System.Void WireMock.Util.BodyParser/<ReadBytesAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -31190,22 +31504,22 @@ - 100664216 + 100664218 System.Void WireMock.Util.BodyParser/<>c__DisplayClass3_0::.ctor() - + - 100664217 + 100664219 System.Boolean WireMock.Util.BodyParser/<>c__DisplayClass3_0::<Parse>b__0(System.String) - + - + - + @@ -31215,67 +31529,67 @@ - 100664218 + 100664220 System.Void WireMock.Util.BodyParser/<Parse>d__3::.ctor() - + - 100664219 + 100664221 System.Void WireMock.Util.BodyParser/<Parse>d__3::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - 100664220 + 100664222 System.Void WireMock.Util.BodyParser/<Parse>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -31287,123 +31601,123 @@ 100663412 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor() - + - - - - + + + + - + 100663413 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor(System.Collections.Generic.List`1<T>) - + - - - - + + + + - + 100663414 System.Void WireMock.Util.ConcurentObservableCollection`1::.ctor(System.Collections.Generic.IEnumerable`1<T>) - + - - - - + + + + - + 100663415 System.Void WireMock.Util.ConcurentObservableCollection`1::ClearItems() - + - - - - - - + + + + + + - + 100663416 System.Void WireMock.Util.ConcurentObservableCollection`1::RemoveItem(System.Int32) - + - - - - - - + + + + + + - + 100663417 System.Void WireMock.Util.ConcurentObservableCollection`1::InsertItem(System.Int32,T) - + - - - - - - + + + + + + - + 100663418 System.Void WireMock.Util.ConcurentObservableCollection`1::SetItem(System.Int32,T) - + - - - - - - + + + + + + - + 100663419 System.Void WireMock.Util.ConcurentObservableCollection`1::MoveItem(System.Int32,System.Int32) - + - - - - - - + + + + + + - + @@ -31415,27 +31729,27 @@ 100663420 System.Void WireMock.Util.DictionaryExtensions::Loop(System.Collections.Generic.IDictionary`2<TKey,TValue>,System.Action`2<TKey,TValue>) - + - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + - + @@ -31447,96 +31761,96 @@ 100663421 System.Int32 WireMock.Util.EnhancedFileSystemWatcher::get_Interval() - + - + - + 100663422 System.Void WireMock.Util.EnhancedFileSystemWatcher::set_Interval(System.Int32) - + - - - - + + + + - + 100663423 System.Boolean WireMock.Util.EnhancedFileSystemWatcher::get_FilterRecentEvents() - + - + - + 100663424 System.Void WireMock.Util.EnhancedFileSystemWatcher::set_FilterRecentEvents(System.Boolean) - + - + - + 100663425 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.Int32) - + - - - - - + + + + + - + 100663426 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.String,System.Int32) - + - - - - - - + + + + + + - + 100663427 System.Void WireMock.Util.EnhancedFileSystemWatcher::.ctor(System.String,System.String,System.Int32) - + - - - - - - - + + + + + + + - + @@ -31544,7 +31858,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Changed(System.IO.FileSystemEventHandler) - + @@ -31552,7 +31866,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Changed(System.IO.FileSystemEventHandler) - + @@ -31560,7 +31874,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Created(System.IO.FileSystemEventHandler) - + @@ -31568,7 +31882,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Created(System.IO.FileSystemEventHandler) - + @@ -31576,7 +31890,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Deleted(System.IO.FileSystemEventHandler) - + @@ -31584,7 +31898,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Deleted(System.IO.FileSystemEventHandler) - + @@ -31592,7 +31906,7 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::add_Renamed(System.IO.RenamedEventHandler) - + @@ -31600,212 +31914,212 @@ System.Void WireMock.Util.EnhancedFileSystemWatcher::remove_Renamed(System.IO.RenamedEventHandler) - + 100663436 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnChanged(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663437 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnCreated(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663438 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnDeleted(System.IO.FileSystemEventArgs) - + - - - + + + - - + + - + 100663439 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnRenamed(System.IO.RenamedEventArgs) - + - - - + + + - - + + - + 100663440 System.Void WireMock.Util.EnhancedFileSystemWatcher::InitializeMembers(System.Int32) - + - - - - - - - - - + + + + + + + + + - + 100663441 System.Boolean WireMock.Util.EnhancedFileSystemWatcher::HasAnotherFileEventOccuredRecently(System.String) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + 100663442 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnChanged(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663443 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnCreated(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663444 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnDeleted(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - + + + + + + - - + + - + 100663445 System.Void WireMock.Util.EnhancedFileSystemWatcher::OnRenamed(System.Object,System.IO.RenamedEventArgs) - + - - - - - - + + + + + + - - + + - + 100663446 System.Void WireMock.Util.EnhancedFileSystemWatcher::Dispose() - + - - - + + + - + @@ -31815,52 +32129,52 @@ - 100664221 + 100664223 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.cctor() - + - 100664222 + 100664224 System.Void WireMock.Util.EnhancedFileSystemWatcher/<>c::.ctor() - - - - - 100664223 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__11_0(System.Int32) - - - - - - - - - - 100664224 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__12_0(System.Int32) - - - - - - + 100664225 - System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__13_0(System.Int32) - + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__11_0(System.Int32) + - + - + + + + + 100664226 + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__12_0(System.Int32) + + + + + + + + + + 100664227 + System.Boolean WireMock.Util.EnhancedFileSystemWatcher/<>c::<.ctor>b__13_0(System.Int32) + + + + + + @@ -31872,28 +32186,28 @@ 100663447 System.String WireMock.Util.FileHelper::ReadAllText(System.String) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - + @@ -31905,23 +32219,23 @@ 100663448 T WireMock.Util.JsonUtils::ParseJTokenToObject(System.Object) - + - - - - - - - + + + + + + + - - - - + + + + - + @@ -31933,60 +32247,60 @@ 100663449 System.Void WireMock.Util.WireMockList`1::.ctor() - + - - - + + + - + 100663450 System.Void WireMock.Util.WireMockList`1::.ctor(T[]) - + - - - + + + - + 100663451 System.Void WireMock.Util.WireMockList`1::.ctor(System.Collections.Generic.IEnumerable`1<T>) - + - - - + + + - + 100663452 System.String WireMock.Util.WireMockList`1::ToString() - + - - - - - + + + + + - - - - + + + + - + @@ -31998,53 +32312,53 @@ 100663453 WireMock.ResponseMessage WireMock.Transformers.ResponseMessageTransformer::Transform(WireMock.RequestMessage,WireMock.ResponseMessage) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -32054,22 +32368,22 @@ - 100664226 + 100664228 System.Void WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::.ctor() - + - 100664227 + 100664229 System.String WireMock.Transformers.ResponseMessageTransformer/<>c__DisplayClass0_0::<Transform>b__0(System.Func`2<System.Object,System.String>) - + - + - + @@ -32081,365 +32395,365 @@ 100663454 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_Port() - + - + - + 100663455 System.Void WireMock.Settings.FluentMockServerSettings::set_Port(System.Nullable`1<System.Int32>) - + - + - + 100663456 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_UseSSL() - + - + - + 100663457 System.Void WireMock.Settings.FluentMockServerSettings::set_UseSSL(System.Nullable`1<System.Boolean>) - + - + - + 100663458 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_StartAdminInterface() - + - + - + 100663459 System.Void WireMock.Settings.FluentMockServerSettings::set_StartAdminInterface(System.Nullable`1<System.Boolean>) - + - + - + 100663460 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_ReadStaticMappings() - + - + - + 100663461 System.Void WireMock.Settings.FluentMockServerSettings::set_ReadStaticMappings(System.Nullable`1<System.Boolean>) - + - + - + 100663462 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_WatchStaticMappings() - + - + - + 100663463 System.Void WireMock.Settings.FluentMockServerSettings::set_WatchStaticMappings(System.Nullable`1<System.Boolean>) - + - + - + 100663464 WireMock.Settings.IProxyAndRecordSettings WireMock.Settings.FluentMockServerSettings::get_ProxyAndRecordSettings() - + - + - + 100663465 System.Void WireMock.Settings.FluentMockServerSettings::set_ProxyAndRecordSettings(WireMock.Settings.IProxyAndRecordSettings) - + - + - + 100663466 System.String[] WireMock.Settings.FluentMockServerSettings::get_Urls() - + - + - + 100663467 System.Void WireMock.Settings.FluentMockServerSettings::set_Urls(System.String[]) - + - + - + 100663468 System.Int32 WireMock.Settings.FluentMockServerSettings::get_StartTimeout() - + - + - + 100663469 System.Void WireMock.Settings.FluentMockServerSettings::set_StartTimeout(System.Int32) - + - + - + 100663470 System.Nullable`1<System.Boolean> WireMock.Settings.FluentMockServerSettings::get_AllowPartialMapping() - + - + - + 100663471 System.Void WireMock.Settings.FluentMockServerSettings::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) - + - + - + 100663472 System.String WireMock.Settings.FluentMockServerSettings::get_AdminUsername() - + - + - + 100663473 System.Void WireMock.Settings.FluentMockServerSettings::set_AdminUsername(System.String) - + - + - + 100663474 System.String WireMock.Settings.FluentMockServerSettings::get_AdminPassword() - + - + - + 100663475 System.Void WireMock.Settings.FluentMockServerSettings::set_AdminPassword(System.String) - + - + - + 100663476 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_RequestLogExpirationDuration() - + - + - + 100663477 System.Void WireMock.Settings.FluentMockServerSettings::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - + - + 100663478 System.Nullable`1<System.Int32> WireMock.Settings.FluentMockServerSettings::get_MaxRequestLogCount() - + - + - + 100663479 System.Void WireMock.Settings.FluentMockServerSettings::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + - + - + 100663480 System.Action`1<System.Object> WireMock.Settings.FluentMockServerSettings::get_PreWireMockMiddlewareInit() - + - + - + 100663481 System.Void WireMock.Settings.FluentMockServerSettings::set_PreWireMockMiddlewareInit(System.Action`1<System.Object>) - + - + - + 100663482 System.Action`1<System.Object> WireMock.Settings.FluentMockServerSettings::get_PostWireMockMiddlewareInit() - + - + - + 100663483 System.Void WireMock.Settings.FluentMockServerSettings::set_PostWireMockMiddlewareInit(System.Action`1<System.Object>) - + - + - + 100663484 WireMock.Logging.IWireMockLogger WireMock.Settings.FluentMockServerSettings::get_Logger() - + - + - + 100663485 System.Void WireMock.Settings.FluentMockServerSettings::set_Logger(WireMock.Logging.IWireMockLogger) - + - + - + 100663486 System.Void WireMock.Settings.FluentMockServerSettings::.ctor() - + - - + + - + @@ -32451,123 +32765,123 @@ 100663529 System.String WireMock.Settings.ProxyAndRecordSettings::get_Url() - + - + - + 100663530 System.Void WireMock.Settings.ProxyAndRecordSettings::set_Url(System.String) - + - + - + 100663531 System.Boolean WireMock.Settings.ProxyAndRecordSettings::get_SaveMapping() - + - + - + 100663532 System.Void WireMock.Settings.ProxyAndRecordSettings::set_SaveMapping(System.Boolean) - + - + - + 100663533 System.Boolean WireMock.Settings.ProxyAndRecordSettings::get_SaveMappingToFile() - + - + - + 100663534 System.Void WireMock.Settings.ProxyAndRecordSettings::set_SaveMappingToFile(System.Boolean) - + - + - + 100663535 System.String WireMock.Settings.ProxyAndRecordSettings::get_ClientX509Certificate2ThumbprintOrSubjectName() - + - + - + 100663536 System.Void WireMock.Settings.ProxyAndRecordSettings::set_ClientX509Certificate2ThumbprintOrSubjectName(System.String) - + - + - + 100663537 System.String[] WireMock.Settings.ProxyAndRecordSettings::get_BlackListedHeaders() - + - + - + 100663538 System.Void WireMock.Settings.ProxyAndRecordSettings::set_BlackListedHeaders(System.String[]) - + - + - + 100663539 System.Void WireMock.Settings.ProxyAndRecordSettings::.ctor() - + - - + + - + @@ -32579,199 +32893,199 @@ 100663571 System.Boolean WireMock.Server.FluentMockServer::get_IsStarted() - + - + - + 100663572 System.Collections.Generic.List`1<System.Int32> WireMock.Server.FluentMockServer::get_Ports() - + - + - + 100663573 System.String[] WireMock.Server.FluentMockServer::get_Urls() - + - + - + 100663574 System.Collections.Generic.IEnumerable`1<WireMock.Mapping> WireMock.Server.FluentMockServer::get_Mappings() - + - + - + 100663575 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Server.FluentMockServer::get_Scenarios() - + - + - + 100663601 System.Collections.Generic.IEnumerable`1<WireMock.Logging.LogEntry> WireMock.Server.FluentMockServer::get_LogEntries() - + - + - + 100663540 System.Void WireMock.Server.FluentMockServer::InitAdmin() - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + 100663541 System.Void WireMock.Server.FluentMockServer::ReadStaticMappings(System.String) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + - + 100663542 System.Void WireMock.Server.FluentMockServer::WatchStaticMappings(System.String) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - + 100663543 System.Void WireMock.Server.FluentMockServer::ReadStaticMappingAndAddOrUpdate(System.String) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663544 System.Void WireMock.Server.FluentMockServer::InitProxyAndRecord(WireMock.Settings.IProxyAndRecordSettings) - + - - - - + + + + - + @@ -32779,1303 +33093,1303 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Server.FluentMockServer::ProxyAndRecordAsync(WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings) - + 100663546 WireMock.Mapping WireMock.Server.FluentMockServer::ToMapping(WireMock.RequestMessage,WireMock.ResponseMessage,System.String[]) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - + 100663547 WireMock.ResponseMessage WireMock.Server.FluentMockServer::SettingsGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663548 WireMock.ResponseMessage WireMock.Server.FluentMockServer::SettingsUpdate(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - + 100663549 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingGet(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663550 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingPut(WireMock.RequestMessage) - + - - - - - - + + + + + + - + 100663551 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingDelete(WireMock.RequestMessage) - + - - - - - - - + + + + + + + - - + + - + 100663552 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsSave(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - + 100663553 System.Void WireMock.Server.FluentMockServer::SaveMappingToFile(WireMock.Mapping) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663554 System.String WireMock.Server.FluentMockServer::SanitizeFileName(System.String,System.Char) - + - - - + + + - + 100663555 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsGet(WireMock.RequestMessage) - + - - - - - - - - - - - - + + + + + + + + + + + + - + 100663556 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsPost(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + 100663557 System.Void WireMock.Server.FluentMockServer::DeserializeAndAddOrUpdateMapping(WireMock.Admin.Mappings.MappingModel,System.Nullable`1<System.Guid>,System.String) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + 100663558 WireMock.ResponseMessage WireMock.Server.FluentMockServer::MappingsDelete(WireMock.RequestMessage) - + - - - - - + + + + + - + 100663559 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestGet(WireMock.RequestMessage) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663560 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestDelete(WireMock.RequestMessage) - + - - - - - - + + + + + + - - + + - + 100663561 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663562 WireMock.Admin.Requests.LogEntryModel WireMock.Server.FluentMockServer::ToLogEntryModel(WireMock.Logging.LogEntry) - + - - - + + + - - - - - - + + + + + + - + 100663563 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsDelete(WireMock.RequestMessage) - + - - - - + + + + - + 100663564 WireMock.ResponseMessage WireMock.Server.FluentMockServer::RequestsFind(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - + 100663565 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ScenariosGet(WireMock.RequestMessage) - + - - - - + + + + - + 100663566 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ScenariosReset(WireMock.RequestMessage) - + - - - - + + + + - + 100663567 WireMock.RequestBuilders.IRequestBuilder WireMock.Server.FluentMockServer::InitRequestBuilder(WireMock.Admin.Mappings.RequestModel) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663568 WireMock.ResponseBuilders.IResponseBuilder WireMock.Server.FluentMockServer::InitResponseBuilder(WireMock.Admin.Mappings.ResponseModel) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + 100663569 WireMock.ResponseMessage WireMock.Server.FluentMockServer::ToJson(T) - + - - - + + + - + 100663570 System.Text.Encoding WireMock.Server.FluentMockServer::ToEncoding(WireMock.Admin.Mappings.EncodingModel) - + - - - + + + - - + + - + 100663576 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(WireMock.Settings.IFluentMockServerSettings) - + - - - - + + + + - + 100663577 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(System.Nullable`1<System.Int32>,System.Boolean) - + - - - + + + - + 100663578 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::Start(System.String[]) - + - - - - + + + + - + 100663579 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterface(System.Nullable`1<System.Int32>,System.Boolean) - + - - - + + + - + 100663580 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterface(System.String[]) - + - - - - + + + + - + 100663581 WireMock.Server.FluentMockServer WireMock.Server.FluentMockServer::StartWithAdminInterfaceAndReadStaticMappings(System.String[]) - + - - - - + + + + - + 100663582 System.Void WireMock.Server.FluentMockServer::.ctor(WireMock.Settings.IFluentMockServerSettings) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663583 System.Void WireMock.Server.FluentMockServer::Stop() - + - - - + + + - - + + - + 100663584 System.Void WireMock.Server.FluentMockServer::AddCatchAllMapping() - + - - - + + + - + 100663585 System.Void WireMock.Server.FluentMockServer::Dispose() - + - - - - - - + + + + + + - - + + - + 100663586 System.Void WireMock.Server.FluentMockServer::Reset() - + - - - - + + + + - + 100663587 System.Void WireMock.Server.FluentMockServer::ResetMappings() - + - - - - - - - - - + + + + + + + + + - + 100663588 System.Boolean WireMock.Server.FluentMockServer::DeleteMapping(System.Guid) - + - - - - - - + + + + + + - - + + - + 100663589 System.Boolean WireMock.Server.FluentMockServer::DeleteMapping(System.String) - + - - - - + + + + - + 100663590 System.Void WireMock.Server.FluentMockServer::AddGlobalProcessingDelay(System.TimeSpan) - + - - - + + + - + 100663591 System.Void WireMock.Server.FluentMockServer::AllowPartialMapping(System.Boolean) - + - - - - + + + + - + 100663592 System.Void WireMock.Server.FluentMockServer::SetBasicAuthentication(System.String,System.String) - + - - - - - - + + + + + + - + 100663593 System.Void WireMock.Server.FluentMockServer::RemoveBasicAuthentication() - + - - - + + + - + 100663594 System.Void WireMock.Server.FluentMockServer::SetMaxRequestLogCount(System.Nullable`1<System.Int32>) - + - - - + + + - + 100663595 System.Void WireMock.Server.FluentMockServer::SetRequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - - - + + + - + 100663596 System.Void WireMock.Server.FluentMockServer::ResetScenarios() - + - - - + + + - + 100663597 WireMock.Server.IRespondWithAProvider WireMock.Server.FluentMockServer::Given(WireMock.Matchers.Request.IRequestMatcher) - + - - - + + + - + 100663598 System.Void WireMock.Server.FluentMockServer::RegisterMapping(WireMock.Mapping) - + - - - - - - - - - + + + + + + + + + - - + + - + 100663599 System.Void WireMock.Server.FluentMockServer::add_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler) - + - + - + 100663600 System.Void WireMock.Server.FluentMockServer::remove_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler) - + - + - + 100663602 System.Collections.Generic.IEnumerable`1<WireMock.Logging.LogEntry> WireMock.Server.FluentMockServer::FindLogEntries(WireMock.Matchers.Request.IRequestMatcher[]) - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663603 System.Void WireMock.Server.FluentMockServer::ResetLogEntries() - + - - - + + + - + 100663604 System.Boolean WireMock.Server.FluentMockServer::DeleteLogEntry(System.Guid) - + - - - - - - - - + + + + + + + + - - + + - + 100663605 System.Void WireMock.Server.FluentMockServer::.cctor() - + - + - + 100663606 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_0(System.Object,System.IO.FileSystemEventArgs) - + - - - - + + + + - + 100663607 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_1(System.Object,System.IO.FileSystemEventArgs) - + - - - - + + + + - + 100663608 System.Void WireMock.Server.FluentMockServer::<WatchStaticMappings>b__11_2(System.Object,System.IO.FileSystemEventArgs) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + @@ -34085,195 +34399,195 @@ - 100664228 + 100664230 System.Void WireMock.Server.FluentMockServer/<>c::.cctor() - + - 100664229 + 100664231 System.Void WireMock.Server.FluentMockServer/<>c::.ctor() - + - 100664230 - System.String WireMock.Server.FluentMockServer/<>c::<ReadStaticMappings>b__10_0(System.String) - - - - - - - - - - 100664231 - System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsSave>b__22_0(WireMock.Mapping) - - - - - - - - - 100664232 - System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsGet>b__25_0(WireMock.Mapping) - + System.String WireMock.Server.FluentMockServer/<>c::<ReadStaticMappings>b__10_0(System.String) + - + - + - - + + 100664233 - System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsGet>b__31_0(WireMock.Logging.LogEntry) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsSave>b__22_0(WireMock.Mapping) + - + - + 100664234 - System.Object WireMock.Server.FluentMockServer/<>c::<ToLogEntryModel>b__32_0(System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<MappingsGet>b__25_0(WireMock.Mapping) + - + - + 100664235 - System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_2(WireMock.Logging.LogEntry) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsGet>b__31_0(WireMock.Logging.LogEntry) + - + - + - - + + 100664236 - System.Double WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Object WireMock.Server.FluentMockServer/<>c::<ToLogEntryModel>b__32_0(System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>) + - + - + 100664237 - WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_2(WireMock.Logging.LogEntry) + - + - + - - + + 100664238 - <>f__AnonymousType2`3<System.String,System.Boolean,System.Object> WireMock.Server.FluentMockServer/<>c::<ScenariosGet>b__35_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Object>) - + System.Double WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + - + - + - - + + 100664239 - System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_0(WireMock.Admin.Mappings.HeaderModel) - + WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<RequestsFind>b__34_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664240 - System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_1(WireMock.Admin.Mappings.CookieModel) - + <>f__AnonymousType2`3<System.String,System.Boolean,System.Object> WireMock.Server.FluentMockServer/<>c::<ScenariosGet>b__35_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Object>) + - + - + - - + + 100664241 - System.String WireMock.Server.FluentMockServer/<>c::<.ctor>b__64_0(System.String) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_0(WireMock.Admin.Mappings.HeaderModel) + - + - + 100664242 - WireMock.ResponseMessage WireMock.Server.FluentMockServer/<>c::<AddCatchAllMapping>b__66_0(WireMock.RequestMessage) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<InitRequestBuilder>b__37_1(WireMock.Admin.Mappings.CookieModel) + - + - + - - + + 100664243 - System.Boolean WireMock.Server.FluentMockServer/<>c::<ResetMappings>b__69_0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) - + System.String WireMock.Server.FluentMockServer/<>c::<.ctor>b__64_0(System.String) + - + - + - - + + 100664244 - WireMock.Matchers.Request.RequestMatchResult WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + WireMock.ResponseMessage WireMock.Server.FluentMockServer/<>c::<AddCatchAllMapping>b__66_0(WireMock.RequestMessage) + - + - + 100664245 - WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Server.FluentMockServer/<>c::<ResetMappings>b__69_0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) + - + - + + + + + 100664246 + WireMock.Matchers.Request.RequestMatchResult WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_0(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + + + + + 100664247 + WireMock.Logging.LogEntry WireMock.Server.FluentMockServer/<>c::<FindLogEntries>b__86_1(System.Collections.Generic.KeyValuePair`2<WireMock.Logging.LogEntry,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + @@ -34283,51 +34597,51 @@ - 100664246 + 100664248 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::.ctor() - + - 100664247 + 100664249 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::MoveNext() - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - + + + + + + - + - 100664248 + 100664250 System.Void WireMock.Server.FluentMockServer/<ProxyAndRecordAsync>d__15::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -34337,52 +34651,52 @@ - 100664249 + 100664251 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::.ctor() - + - 100664250 + 100664252 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__0(System.String,WireMock.Util.WireMockList`1<System.String>) - + - + - + - 100664251 + 100664253 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__1(System.String,System.String) - + - + - + - 100664252 + 100664254 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_0::<ToMapping>b__2(System.String,WireMock.Util.WireMockList`1<System.String>) - + - - - - - - + + + + + + - - + + - + @@ -34392,22 +34706,22 @@ - 100664253 + 100664255 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::.ctor() - + - 100664254 + 100664256 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass16_1::<ToMapping>b__3(System.String) - + - + - + @@ -34417,22 +34731,22 @@ - 100664255 + 100664257 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::.ctor() - + - 100664256 + 100664258 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass19_0::<MappingGet>b__0(WireMock.Mapping) - + - + - + @@ -34442,22 +34756,22 @@ - 100664257 + 100664259 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::.ctor() - + - 100664258 + 100664260 System.String WireMock.Server.FluentMockServer/<>c__DisplayClass24_0::<SanitizeFileName>b__0(System.String,System.Char) - + - + - + @@ -34467,22 +34781,22 @@ - 100664259 + 100664261 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::.ctor() - + - 100664260 + 100664262 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass29_0::<RequestGet>b__0(WireMock.Logging.LogEntry) - + - + - + @@ -34492,22 +34806,22 @@ - 100664261 + 100664263 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::.ctor() - + - 100664262 + 100664264 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass71_0::<DeleteMapping>b__0(System.Collections.Generic.KeyValuePair`2<System.Guid,WireMock.Mapping>) - + - + - + @@ -34517,22 +34831,22 @@ - 100664263 + 100664265 System.Void WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::.ctor() - + - 100664264 + 100664266 System.Boolean WireMock.Server.FluentMockServer/<>c__DisplayClass88_0::<DeleteLogEntry>b__0(WireMock.Logging.LogEntry) - + - + - + @@ -34544,156 +34858,156 @@ 100663618 System.Void WireMock.Server.RespondWithAProvider::.ctor(WireMock.RegistrationCallback,WireMock.Matchers.Request.IRequestMatcher) - + - - - - - + + + + + - + 100663619 System.Void WireMock.Server.RespondWithAProvider::RespondWith(WireMock.ResponseProviders.IResponseProvider) - + - - - - + + + + - - + + - + 100663620 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithGuid(System.String) - + - - - + + + - + 100663621 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithGuid(System.Guid) - + - - - - + + + + - + 100663622 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithTitle(System.String) - + - - - - + + + + - + 100663623 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WithPath(System.String) - + - - - - + + + + - + 100663624 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::AtPriority(System.Int32) - + - - - - + + + + - + 100663625 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::InScenario(System.String) - + - - - - + + + + - + 100663626 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WhenStateIs(System.Object) - + - - - - - - - + + + + + + + - - + + - + 100663627 WireMock.Server.IRespondWithAProvider WireMock.Server.RespondWithAProvider::WillSetStateTo(System.Object) - + - - - - - - - + + + + + + + - - + + - + @@ -34705,155 +35019,155 @@ 100663628 WireMock.Admin.Mappings.MappingModel WireMock.Serialization.MappingConverter::ToMappingModel(WireMock.Mapping) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 100663629 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Serialization.MappingConverter::Map(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - + 100663630 System.String[] WireMock.Serialization.MappingConverter::Map(System.Collections.Generic.IEnumerable`1<System.Func`2<T,System.Boolean>>) - + - - - + + + - - + + - + 100663631 System.String WireMock.Serialization.MappingConverter::Map(System.Func`2<T,System.Boolean>) - + - - - + + + - - + + - + @@ -34863,198 +35177,198 @@ - 100664265 + 100664267 System.Void WireMock.Serialization.MappingConverter/<>c::.cctor() - + - 100664266 + 100664268 System.Void WireMock.Serialization.MappingConverter/<>c::.ctor() - - - - - 100664267 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_4(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - - - - - - - - - - 100664268 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_5(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - - - - - - + 100664269 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_6(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_4(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664270 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_7(WireMock.Matchers.Request.RequestMessageClientIPMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_5(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664271 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_8(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_6(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664272 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_9(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_7(WireMock.Matchers.Request.RequestMessageClientIPMatcher) + - + - + 100664273 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_10(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_8(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664274 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_11(WireMock.Matchers.Request.RequestMessagePathMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_9(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664275 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_12(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_10(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664276 - System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_13(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_11(WireMock.Matchers.Request.RequestMessagePathMatcher) + - + - + 100664277 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_14(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_12(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664278 - System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_15(WireMock.Matchers.Request.RequestMessageUrlMatcher) - + System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IStringMatcher> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_13(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664279 - WireMock.Admin.Mappings.HeaderModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_0(WireMock.Matchers.Request.RequestMessageHeaderMatcher) - + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_14(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + 100664280 - WireMock.Admin.Mappings.CookieModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_1(WireMock.Matchers.Request.RequestMessageCookieMatcher) - + System.Collections.Generic.IEnumerable`1<System.Func`2<System.String,System.Boolean>> WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_15(WireMock.Matchers.Request.RequestMessageUrlMatcher) + - + - + - - + + 100664281 - WireMock.Admin.Mappings.ParamModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_2(WireMock.Matchers.Request.RequestMessageParamMatcher) - + WireMock.Admin.Mappings.HeaderModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_0(WireMock.Matchers.Request.RequestMessageHeaderMatcher) + - + - - - - - + + 100664282 - System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_3(System.String) - + WireMock.Admin.Mappings.CookieModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_1(WireMock.Matchers.Request.RequestMessageCookieMatcher) + - + - + + + + + 100664283 + WireMock.Admin.Mappings.ParamModel WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_2(WireMock.Matchers.Request.RequestMessageParamMatcher) + + + + + + + + + + + + + 100664284 + System.Boolean WireMock.Serialization.MappingConverter/<>c::<ToMappingModel>b__0_3(System.String) + + + + + + @@ -35064,30 +35378,30 @@ - 100664283 + 100664285 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.cctor() - + - 100664284 + 100664286 System.Void WireMock.Serialization.MappingConverter/<>c__2`1::.ctor() - + - 100664285 + 100664287 System.Boolean WireMock.Serialization.MappingConverter/<>c__2`1::<Map>b__2_0(System.String) - + - + - + @@ -35099,44 +35413,44 @@ 100663632 WireMock.Admin.Mappings.MatcherModel[] WireMock.Serialization.MatcherMapper::Map(System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IMatcher>) - + - - - + + + - - + + - + 100663633 WireMock.Admin.Mappings.MatcherModel WireMock.Serialization.MatcherMapper::Map(WireMock.Matchers.IMatcher) - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -35146,30 +35460,30 @@ - 100664286 + 100664288 System.Void WireMock.Serialization.MatcherMapper/<>c::.cctor() - + - 100664287 + 100664289 System.Void WireMock.Serialization.MatcherMapper/<>c::.ctor() - + - 100664288 + 100664290 System.Boolean WireMock.Serialization.MatcherMapper/<>c::<Map>b__0_0(WireMock.Admin.Mappings.MatcherModel) - + - + - + @@ -35181,55 +35495,55 @@ 100663634 WireMock.Matchers.IMatcher WireMock.Serialization.MatcherModelMapper::Map(WireMock.Admin.Mappings.MatcherModel) - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + @@ -35241,29 +35555,29 @@ 100663635 System.Void WireMock.ResponseProviders.DynamicAsyncResponseProvider::.ctor(System.Func`2<WireMock.RequestMessage,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>) - + - - - - - + + + + + - + 100663636 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.DynamicAsyncResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -35275,29 +35589,29 @@ 100663637 System.Void WireMock.ResponseProviders.DynamicResponseProvider::.ctor(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - - - - - + + + + + - + 100663638 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.DynamicResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -35309,31 +35623,31 @@ 100663640 System.Void WireMock.ResponseProviders.ProxyAsyncResponseProvider::.ctor(System.Func`3<WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>,WireMock.Settings.IProxyAndRecordSettings) - + - - - - - - - + + + + + + + - + 100663641 System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.ProxyAsyncResponseProvider::ProvideResponseAsync(WireMock.RequestMessage) - + - - - + + + - + @@ -35350,511 +35664,511 @@ 100663662 System.Nullable`1<System.TimeSpan> WireMock.ResponseBuilders.Response::get_Delay() - + - + - + 100663663 System.Void WireMock.ResponseBuilders.Response::set_Delay(System.Nullable`1<System.TimeSpan>) - + - + - + 100663664 System.Boolean WireMock.ResponseBuilders.Response::get_UseTransformer() - + - + - + 100663665 System.Void WireMock.ResponseBuilders.Response::set_UseTransformer(System.Boolean) - + - + - + 100663666 System.String WireMock.ResponseBuilders.Response::get_ProxyUrl() - + - + - + 100663667 System.Void WireMock.ResponseBuilders.Response::set_ProxyUrl(System.String) - + - + - + 100663668 System.String WireMock.ResponseBuilders.Response::get_ClientX509Certificate2ThumbprintOrSubjectName() - + - + - + 100663669 System.Void WireMock.ResponseBuilders.Response::set_ClientX509Certificate2ThumbprintOrSubjectName(System.String) - + - + - + 100663670 WireMock.ResponseMessage WireMock.ResponseBuilders.Response::get_ResponseMessage() - + - + - + 100663671 System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage> WireMock.ResponseBuilders.Response::get_Callback() - + - + - + 100663672 System.Void WireMock.ResponseBuilders.Response::set_Callback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - + - + 100663673 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::Create(WireMock.ResponseMessage) - + - - - - + + + + - + 100663674 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::Create(System.Func`1<WireMock.ResponseMessage>) - + - - - - + + + + - + 100663675 System.Void WireMock.ResponseBuilders.Response::.ctor(WireMock.ResponseMessage) - + - - - - + + + + - + 100663676 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithStatusCode(System.Int32) - + - - - - + + + + - + 100663677 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithStatusCode(System.Net.HttpStatusCode) - + - - - + + + - + 100663678 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithSuccess() - + - - - + + + - + 100663679 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithNotFound() - + - - - + + + - + 100663680 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeader(System.String,System.String[]) - + - - - - - + + + + + - + 100663681 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>) - + - - - - - + + + + + - + 100663682 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String[]>) - + - - - - - + + + + + - + 100663683 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithHeaders(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - - - - + + + + - + 100663684 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.Func`2<WireMock.RequestMessage,System.String>,System.String,System.Text.Encoding) - + - - - + + + - + 100663685 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.Byte[],System.String,System.Text.Encoding) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + - + 100663686 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyFromFile(System.String,System.Boolean) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + - + 100663687 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBody(System.String,System.String,System.Text.Encoding) - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + 100663688 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyAsJson(System.Object,System.Text.Encoding) - + - - - - - - - + + + + + + + - + 100663689 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithBodyFromBase64(System.String,System.Text.Encoding) - + - - - - - - - - + + + + + + + + - - + + - + 100663690 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithTransformer() - + - - - - + + + + - + 100663691 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithDelay(System.TimeSpan) - + - - - - - + + + + + - + 100663692 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithDelay(System.Int32) - + - - - + + + - + 100663693 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithProxy(System.String,System.String) - + - - - - - - - + + + + + + + - + 100663694 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithProxy(WireMock.Settings.IProxyAndRecordSettings) - + - - - - + + + + - + 100663695 WireMock.ResponseBuilders.IResponseBuilder WireMock.ResponseBuilders.Response::WithCallback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>) - + - - - - - + + + + + - + @@ -35862,7 +36176,7 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseBuilders.Response::ProvideResponseAsync(WireMock.RequestMessage) - + @@ -35872,74 +36186,74 @@ - 100664289 + 100664291 System.Void WireMock.ResponseBuilders.Response/<>c::.cctor() - + - 100664290 + 100664292 System.Void WireMock.ResponseBuilders.Response/<>c::.ctor() - - - - - 100664291 - System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) - - - - - - - - - - 100664292 - WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) - - - - - - + 100664293 - System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) + - + - + 100664294 - WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) - + WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__32_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String>) + - + - + 100664295 - System.Boolean WireMock.ResponseBuilders.Response/<>c::<WithDelay>b__42_0(System.TimeSpan) - + System.String WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_0(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + - + - + + + + + 100664296 + WireMock.Util.WireMockList`1<System.String> WireMock.ResponseBuilders.Response/<>c::<WithHeaders>b__33_1(System.Collections.Generic.KeyValuePair`2<System.String,System.String[]>) + + + + + + + + + + 100664297 + System.Boolean WireMock.ResponseBuilders.Response/<>c::<WithDelay>b__42_0(System.TimeSpan) + + + + + + @@ -35949,22 +36263,22 @@ - 100664296 + 100664298 System.Void WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::.ctor() - + - 100664297 + 100664299 WireMock.ResponseMessage WireMock.ResponseBuilders.Response/<>c__DisplayClass35_0::<WithBody>b__0(WireMock.RequestMessage) - + - + - + @@ -35974,58 +36288,58 @@ - 100664298 + 100664300 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::.ctor() - + - 100664299 + 100664301 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::MoveNext() - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - 100664300 + 100664302 System.Void WireMock.ResponseBuilders.Response/<ProvideResponseAsync>d__47::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -36037,563 +36351,563 @@ 100663731 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::Create() - + - - - + + + - + 100663732 System.Void WireMock.RequestBuilders.Request::.ctor(System.Collections.Generic.IList`1<WireMock.Matchers.Request.IRequestMatcher>) - + - - - - + + + + - + 100663733 System.Collections.Generic.IList`1<T> WireMock.RequestBuilders.Request::GetRequestMessageMatchers() - + - - - + + + - + 100663734 T WireMock.RequestBuilders.Request::GetRequestMessageMatcher() - + - - - + + + - + 100663735 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663736 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(System.String[]) - + - - - - - + + + + + - + 100663737 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithClientIP(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663738 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663739 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(System.String[]) - + - - - - - + + + + + - + 100663740 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithPath(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663741 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663742 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(System.String[]) - + - - - - - + + + + + - + 100663743 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithUrl(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663744 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingDelete() - + - - - - + + + + - + 100663745 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingGet() - + - - - - + + + + - + 100663746 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingHead() - + - - - - + + + + - + 100663747 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPost() - + - - - - + + + + - + 100663748 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPatch() - + - - - - + + + + - + 100663749 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingPut() - + - - - - + + + + - + 100663750 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingAnyVerb() - + - - - - - - - - - - - + + + + + + + + + + + - + 100663751 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::UsingVerb(System.String[]) - + - - - - - + + + + + - + 100663752 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.String) - + - - - - + + + + - + 100663753 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Byte[]) - + - - - - + + + + - + 100663754 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Object) - + - - - - + + + + - + 100663755 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(WireMock.Matchers.IMatcher) - + - - - - - + + + + + - + 100663756 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.String,System.Boolean>) - + - - - - - + + + + + - + 100663757 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.Byte[],System.Boolean>) - + - - - - - + + + + + - + 100663758 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithBody(System.Func`2<System.Object,System.Boolean>) - + - - - - - + + + + + - + 100663759 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.String) - + - - - - - + + + + + - + 100663760 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.String,System.String[]) - + - - - - - + + + + + - + 100663761 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithParam(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[]) - + - - - - - + + + + + - + 100663762 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,System.String,System.Boolean) - + - - - - - - + + + + + + - + 100663763 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,System.String[],System.Boolean) - + - - - - - - + + + + + + - + 100663764 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - + + + + + + - + 100663765 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithHeader(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[]) - + - - - - - + + + + + - + 100663766 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.String,System.String,System.Boolean) - + - - - - + + + + - + 100663767 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663768 WireMock.RequestBuilders.IRequestBuilder WireMock.RequestBuilders.Request::WithCookie(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[]) - + - - - - - + + + + + - + @@ -36603,30 +36917,30 @@ - 100664301 + 100664303 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.cctor() - + - 100664302 + 100664304 System.Void WireMock.RequestBuilders.Request/<>c__3`1::.ctor() - + - 100664303 + 100664305 System.Boolean WireMock.RequestBuilders.Request/<>c__3`1::<GetRequestMessageMatchers>b__3_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -36636,30 +36950,30 @@ - 100664304 + 100664306 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.cctor() - + - 100664305 + 100664307 System.Void WireMock.RequestBuilders.Request/<>c__4`1::.ctor() - + - 100664306 + 100664308 System.Boolean WireMock.RequestBuilders.Request/<>c__4`1::<GetRequestMessageMatcher>b__4_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -36669,30 +36983,30 @@ - 100664307 + 100664309 System.Void WireMock.RequestBuilders.Request/<>c::.cctor() - + - 100664308 + 100664310 System.Void WireMock.RequestBuilders.Request/<>c::.ctor() - + - 100664309 + 100664311 System.Boolean WireMock.RequestBuilders.Request/<>c::<UsingAnyVerb>b__20_0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -36704,16 +37018,16 @@ 100663769 System.Void WireMock.Owin.GlobalExceptionMiddleware::.ctor(Microsoft.Owin.OwinMiddleware,WireMock.Owin.WireMockMiddlewareOptions) - + - - - - - + + + + + - + @@ -36721,7 +37035,7 @@ System.Threading.Tasks.Task WireMock.Owin.GlobalExceptionMiddleware::Invoke(Microsoft.Owin.IOwinContext) - + @@ -36731,45 +37045,45 @@ - 100664310 + 100664312 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::.ctor() - + - 100664311 + 100664313 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::MoveNext() - + - - - - - - - - - + + + + + + + + + - - - - - - + + + + + + - + - 100664312 + 100664314 System.Void WireMock.Owin.GlobalExceptionMiddleware/<Invoke>d__3::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -36783,20 +37097,20 @@ System.Threading.Tasks.Task`1<WireMock.RequestMessage> WireMock.Owin.OwinRequestMapper::MapAsync(Microsoft.Owin.IOwinRequest) - + 100663777 System.Boolean WireMock.Owin.OwinRequestMapper::ShouldParseBody(System.String) - + - - - + + + - + @@ -36804,7 +37118,7 @@ System.Void WireMock.Owin.OwinRequestMapper::.ctor() - + @@ -36814,71 +37128,71 @@ - 100664313 + 100664315 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::.ctor() - + - 100664314 + 100664316 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + - 100664315 + 100664317 System.Void WireMock.Owin.OwinRequestMapper/<MapAsync>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -36892,29 +37206,29 @@ System.Threading.Tasks.Task WireMock.Owin.OwinResponseMapper::MapAsync(WireMock.ResponseMessage,Microsoft.Owin.IOwinResponse) - + 100663780 System.Void WireMock.Owin.OwinResponseMapper::.ctor() - + - + - + 100663781 System.Void WireMock.Owin.OwinResponseMapper::.cctor() - + - + - + @@ -36924,86 +37238,86 @@ - 100664316 + 100664318 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::.ctor() - + - 100664317 + 100664319 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - 100664318 + 100664320 System.Void WireMock.Owin.OwinResponseMapper/<MapAsync>d__2::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -37013,30 +37327,30 @@ - 100664319 + 100664321 System.Void WireMock.Owin.OwinResponseMapper/<>c::.cctor() - + - 100664320 + 100664322 System.Void WireMock.Owin.OwinResponseMapper/<>c::.ctor() - + - 100664321 + 100664323 System.Void WireMock.Owin.OwinResponseMapper/<>c::<.cctor>b__4_0(Microsoft.Owin.IOwinResponse,WireMock.Util.WireMockList`1<System.String>) - + - + - + @@ -37048,172 +37362,172 @@ 100663783 System.Boolean WireMock.Owin.OwinSelfHost::get_IsStarted() - + - + - + 100663784 System.Void WireMock.Owin.OwinSelfHost::set_IsStarted(System.Boolean) - + - + - + 100663785 System.Collections.Generic.List`1<System.String> WireMock.Owin.OwinSelfHost::get_Urls() - + - + - + 100663786 System.Collections.Generic.List`1<System.Int32> WireMock.Owin.OwinSelfHost::get_Ports() - + - + - + 100663782 System.Void WireMock.Owin.OwinSelfHost::.ctor(WireMock.Owin.WireMockMiddlewareOptions,System.String[]) - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + 100663787 System.Threading.Tasks.Task WireMock.Owin.OwinSelfHost::StartAsync() - + - - - + + + - + 100663788 System.Threading.Tasks.Task WireMock.Owin.OwinSelfHost::StopAsync() - + - - - - + + + + - + 100663789 System.Void WireMock.Owin.OwinSelfHost::StartServers() - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + 100663790 System.Void WireMock.Owin.OwinSelfHost::<StartAsync>b__13_0() - + - - - + + + - + 100663791 System.Void WireMock.Owin.OwinSelfHost::<StartServers>b__15_0(Owin.IAppBuilder) - + - - - - - - + + + + + + - - - - + + + + - + @@ -37225,17 +37539,17 @@ 100663792 System.Void WireMock.Owin.WireMockMiddleware::.ctor(Microsoft.Owin.OwinMiddleware,WireMock.Owin.WireMockMiddlewareOptions) - + - - - - - - + + + + + + - + @@ -37243,71 +37557,71 @@ System.Threading.Tasks.Task WireMock.Owin.WireMockMiddleware::Invoke(Microsoft.Owin.IOwinContext) - + 100663794 System.Void WireMock.Owin.WireMockMiddleware::LogRequest(WireMock.Logging.LogEntry,System.Boolean) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + 100663795 System.Void WireMock.Owin.WireMockMiddleware::.cctor() - + - + - + @@ -37317,25 +37631,25 @@ - 100664322 + 100664324 System.Void WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::.ctor() - + - 100664323 + 100664325 <>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult> WireMock.Owin.WireMockMiddleware/<>c__DisplayClass5_0::<Invoke>b__0(WireMock.Mapping) - + - + - - + + - + @@ -37345,99 +37659,99 @@ - 100664324 + 100664326 System.Void WireMock.Owin.WireMockMiddleware/<>c::.cctor() - + - 100664325 + 100664327 System.Void WireMock.Owin.WireMockMiddleware/<>c::.ctor() - + - 100664326 + 100664328 System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_1(WireMock.Mapping) - + - + - - + + - + - 100664327 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_2(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - - - - - - - - - - 100664328 - WireMock.Matchers.Request.RequestMatchResult WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_3(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - - - - - - - - - 100664329 - System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_4(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_2(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + 100664330 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_5(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + WireMock.Matchers.Request.RequestMatchResult WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_3(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + - - + + 100664331 - System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_6(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_4(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + + + + + 100664332 + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_5(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + - 100664332 - System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_7(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) - + 100664333 + System.Int32 WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_6(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + - + - + + + + + 100664334 + System.Boolean WireMock.Owin.WireMockMiddleware/<>c::<Invoke>b__5_7(<>f__AnonymousType0`2<WireMock.Mapping,WireMock.Matchers.Request.RequestMatchResult>) + + + + + + @@ -37447,132 +37761,132 @@ - 100664333 + 100664335 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::.ctor() - + - 100664334 + 100664336 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - 100664335 + 100664337 System.Void WireMock.Owin.WireMockMiddleware/<Invoke>d__5::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -37584,223 +37898,223 @@ 100663796 WireMock.Logging.IWireMockLogger WireMock.Owin.WireMockMiddlewareOptions::get_Logger() - + - + - + 100663797 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_Logger(WireMock.Logging.IWireMockLogger) - + - + - + 100663798 System.Nullable`1<System.TimeSpan> WireMock.Owin.WireMockMiddlewareOptions::get_RequestProcessingDelay() - + - + - + 100663799 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_RequestProcessingDelay(System.Nullable`1<System.TimeSpan>) - + - + - + 100663800 WireMock.Matchers.IStringMatcher WireMock.Owin.WireMockMiddlewareOptions::get_AuthorizationMatcher() - + - + - + 100663801 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_AuthorizationMatcher(WireMock.Matchers.IStringMatcher) - + - + - + 100663802 System.Boolean WireMock.Owin.WireMockMiddlewareOptions::get_AllowPartialMapping() - + - + - + 100663803 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_AllowPartialMapping(System.Boolean) - + - + - + 100663804 System.Collections.Generic.IDictionary`2<System.Guid,WireMock.Mapping> WireMock.Owin.WireMockMiddlewareOptions::get_Mappings() - + - + - + 100663805 System.Collections.ObjectModel.ObservableCollection`1<WireMock.Logging.LogEntry> WireMock.Owin.WireMockMiddlewareOptions::get_LogEntries() - + - + - + 100663806 System.Nullable`1<System.Int32> WireMock.Owin.WireMockMiddlewareOptions::get_RequestLogExpirationDuration() - + - + - + 100663807 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + - + - + 100663808 System.Nullable`1<System.Int32> WireMock.Owin.WireMockMiddlewareOptions::get_MaxRequestLogCount() - + - + - + 100663809 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + - + - + 100663810 System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Owin.WireMockMiddlewareOptions::get_Scenarios() - + - + - + 100663811 System.Action`1<Owin.IAppBuilder> WireMock.Owin.WireMockMiddlewareOptions::get_PreWireMockMiddlewareInit() - + - + - + 100663812 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_PreWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>) - + - + - + 100663813 System.Action`1<Owin.IAppBuilder> WireMock.Owin.WireMockMiddlewareOptions::get_PostWireMockMiddlewareInit() - + - + - + 100663814 System.Void WireMock.Owin.WireMockMiddlewareOptions::set_PostWireMockMiddlewareInit(System.Action`1<Owin.IAppBuilder>) - + - + - + 100663815 System.Void WireMock.Owin.WireMockMiddlewareOptions::.ctor() - + - - - + + + - + @@ -37812,55 +38126,55 @@ 100663816 System.Void WireMock.Matchers.ExactMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663817 System.Double WireMock.Matchers.ExactMatcher::IsMatch(System.String) - + - - - + + + - + 100663818 System.String[] WireMock.Matchers.ExactMatcher::GetPatterns() - + - - - + + + - + 100663819 System.String WireMock.Matchers.ExactMatcher::GetName() - + - - - + + + - + @@ -37870,22 +38184,22 @@ - 100664336 + 100664338 System.Void WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664337 + 100664339 System.Boolean WireMock.Matchers.ExactMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -37897,56 +38211,56 @@ 100663820 System.Void WireMock.Matchers.ExactObjectMatcher::.ctor(System.Object) - + - - - - + + + + - + 100663821 System.Void WireMock.Matchers.ExactObjectMatcher::.ctor(System.Byte[]) - + - - - - + + + + - + 100663822 System.Double WireMock.Matchers.ExactObjectMatcher::IsMatch(System.Object) - + - - - - + + + + - + 100663823 System.String WireMock.Matchers.ExactObjectMatcher::GetName() - + - - - + + + - + @@ -37958,92 +38272,92 @@ 100663829 System.Void WireMock.Matchers.JsonPathMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663830 System.Double WireMock.Matchers.JsonPathMatcher::IsMatch(System.String) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + 100663831 System.Double WireMock.Matchers.JsonPathMatcher::IsMatch(System.Object) - + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - + 100663832 System.String[] WireMock.Matchers.JsonPathMatcher::GetPatterns() - + - - - + + + - + 100663833 System.String WireMock.Matchers.JsonPathMatcher::GetName() - + - - - + + + - + @@ -38053,22 +38367,22 @@ - 100664338 + 100664340 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664339 + 100664341 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -38078,22 +38392,22 @@ - 100664340 + 100664342 System.Void WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::.ctor() - + - 100664341 + 100664343 System.Boolean WireMock.Matchers.JsonPathMatcher/<>c__DisplayClass3_0::<IsMatch>b__0(System.String) - + - + - + @@ -38105,49 +38419,49 @@ 100663834 System.Double WireMock.Matchers.MatchScores::ToScore(System.Boolean) - + - - - + + + - - + + - + 100663835 System.Double WireMock.Matchers.MatchScores::ToScore(System.Collections.Generic.IEnumerable`1<System.Boolean>) - + - - - + + + - - + + - + 100663836 System.Double WireMock.Matchers.MatchScores::ToScore(System.Collections.Generic.IEnumerable`1<System.Double>) - + - - - + + + - - + + - + @@ -38159,99 +38473,99 @@ 100663842 System.Boolean WireMock.Matchers.RegexMatcher::get_IgnoreCase() - + - + - + 100663837 System.Void WireMock.Matchers.RegexMatcher::.ctor(System.String,System.Boolean) - + - - - + + + - + 100663838 System.Void WireMock.Matchers.RegexMatcher::.ctor(System.String[],System.Boolean) - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - + 100663839 System.Double WireMock.Matchers.RegexMatcher::IsMatch(System.String) - + - - - - - - - - - - + + + + + + + + + + - - + + - + 100663840 System.String[] WireMock.Matchers.RegexMatcher::GetPatterns() - + - - - + + + - + 100663841 System.String WireMock.Matchers.RegexMatcher::GetName() - + - - - + + + - + @@ -38261,22 +38575,22 @@ - 100664342 + 100664344 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::.ctor() - + - 100664343 + 100664345 System.Text.RegularExpressions.Regex WireMock.Matchers.RegexMatcher/<>c__DisplayClass3_0::<.ctor>b__0(System.String) - + - + - + @@ -38286,22 +38600,22 @@ - 100664344 + 100664346 System.Void WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::.ctor() - + - 100664345 + 100664347 System.Boolean WireMock.Matchers.RegexMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.Text.RegularExpressions.Regex) - + - + - + @@ -38313,121 +38627,121 @@ 100663843 System.Void WireMock.Matchers.SimMetricsMatcher::.ctor(System.String,SimMetrics.Net.SimMetricType) - + - - - + + + - + 100663844 System.Void WireMock.Matchers.SimMetricsMatcher::.ctor(System.String[],SimMetrics.Net.SimMetricType) - + - - - - - - + + + + + + - + 100663845 System.Double WireMock.Matchers.SimMetricsMatcher::IsMatch(System.String) - + - - - - + + + + - + 100663846 SimMetrics.Net.API.IStringMetric WireMock.Matchers.SimMetricsMatcher::GetStringMetricType() - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + 100663847 System.String[] WireMock.Matchers.SimMetricsMatcher::GetPatterns() - + - - - + + + - + 100663848 System.String WireMock.Matchers.SimMetricsMatcher::GetName() - + - - - + + + - + @@ -38437,22 +38751,22 @@ - 100664346 + 100664348 System.Void WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::.ctor() - + - 100664347 + 100664349 System.Double WireMock.Matchers.SimMetricsMatcher/<>c__DisplayClass4_0::<IsMatch>b__0(System.String) - + - + - + @@ -38464,54 +38778,54 @@ 100663849 System.Void WireMock.Matchers.WildcardMatcher::.ctor(System.String,System.Boolean) - + - - - + + + - + 100663850 System.Void WireMock.Matchers.WildcardMatcher::.ctor(System.String[],System.Boolean) - + - - - - + + + + - + 100663851 System.String[] WireMock.Matchers.WildcardMatcher::GetPatterns() - + - - - + + + - + 100663852 System.String WireMock.Matchers.WildcardMatcher::GetName() - + - - - + + + - + @@ -38521,30 +38835,30 @@ - 100664348 + 100664350 System.Void WireMock.Matchers.WildcardMatcher/<>c::.cctor() - + - 100664349 + 100664351 System.Void WireMock.Matchers.WildcardMatcher/<>c::.ctor() - + - 100664350 + 100664352 System.String WireMock.Matchers.WildcardMatcher/<>c::<.ctor>b__2_0(System.String) - + - + - + @@ -38556,66 +38870,66 @@ 100663853 System.Void WireMock.Matchers.XPathMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663854 System.Double WireMock.Matchers.XPathMatcher::IsMatch(System.String) - + - - - - - - - - - - - + + + + + + + + + + + - - + + - + 100663855 System.String[] WireMock.Matchers.XPathMatcher::GetPatterns() - + - - - + + + - + 100663856 System.String WireMock.Matchers.XPathMatcher::GetName() - + - - - + + + - + @@ -38625,22 +38939,22 @@ - 100664351 + 100664353 System.Void WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::.ctor() - + - 100664352 + 100664354 System.Boolean WireMock.Matchers.XPathMatcher/<>c__DisplayClass2_0::<IsMatch>b__0(System.String) - + - + - + @@ -38652,120 +38966,120 @@ 100663858 System.Double WireMock.Matchers.Request.RequestMatchResult::get_TotalScore() - + - + - + 100663859 System.Void WireMock.Matchers.Request.RequestMatchResult::set_TotalScore(System.Double) - + - + - + 100663860 System.Int32 WireMock.Matchers.Request.RequestMatchResult::get_TotalNumber() - + - + - + 100663861 System.Void WireMock.Matchers.Request.RequestMatchResult::set_TotalNumber(System.Int32) - + - + - + 100663862 System.Boolean WireMock.Matchers.Request.RequestMatchResult::get_IsPerfectMatch() - + - + - + 100663863 System.Double WireMock.Matchers.Request.RequestMatchResult::get_AverageTotalScore() - + - + - + 100663864 System.Collections.Generic.IList`1<System.Collections.Generic.KeyValuePair`2<System.Type,System.Double>> WireMock.Matchers.Request.RequestMatchResult::get_MatchDetails() - + - + - + 100663865 System.Void WireMock.Matchers.Request.RequestMatchResult::.ctor() - + - - + + - + 100663866 System.Double WireMock.Matchers.Request.RequestMatchResult::AddScore(System.Type,System.Double) - + - - - - - - + + + + + + - + 100663867 System.Int32 WireMock.Matchers.Request.RequestMatchResult::CompareTo(System.Object) - + - - - - + + + + - + @@ -38777,212 +39091,212 @@ 100663868 System.Func`2<System.String,System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_Func() - + - + - + 100663869 System.Func`2<System.Byte[],System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_DataFunc() - + - + - + 100663870 System.Func`2<System.Object,System.Boolean> WireMock.Matchers.Request.RequestMessageBodyMatcher::get_JsonFunc() - + - + - + 100663871 WireMock.Matchers.IMatcher WireMock.Matchers.Request.RequestMessageBodyMatcher::get_Matcher() - + - + - + 100663872 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.String) - + - - - + + + - + 100663873 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Byte[]) - + - - - + + + - + 100663874 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Object) - + - - - + + + - + 100663875 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.String,System.Boolean>) - + - - - - - + + + + + - + 100663876 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.Byte[],System.Boolean>) - + - - - - - + + + + + - + 100663877 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(System.Func`2<System.Object,System.Boolean>) - + - - - - - + + + + + - + 100663878 System.Void WireMock.Matchers.Request.RequestMessageBodyMatcher::.ctor(WireMock.Matchers.IMatcher) - + - - - - - + + + + + - + 100663879 System.Double WireMock.Matchers.Request.RequestMessageBodyMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663880 System.Double WireMock.Matchers.Request.RequestMessageBodyMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + @@ -38994,104 +39308,104 @@ 100663881 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessageClientIPMatcher::get_Matchers() - + - + - + 100663882 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessageClientIPMatcher::get_Funcs() - + - + - + 100663883 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(System.String[]) - + - - - + + + - + 100663884 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663885 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663886 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663887 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -39101,30 +39415,30 @@ - 100664353 + 100664355 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.cctor() - + - 100664354 + 100664356 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::.ctor() - + - 100664355 + 100664357 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -39134,33 +39448,33 @@ - 100664356 + 100664358 System.Void WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664357 + 100664359 System.Double WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664358 + 100664360 System.Boolean WireMock.Matchers.Request.RequestMessageClientIPMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -39172,52 +39486,52 @@ 100663888 System.Collections.Generic.IEnumerable`1<WireMock.Matchers.Request.IRequestMatcher> WireMock.Matchers.Request.RequestMessageCompositeMatcher::get_RequestMatchers() - + - + - + 100663889 System.Void WireMock.Matchers.Request.RequestMessageCompositeMatcher::.ctor(System.Collections.Generic.IEnumerable`1<WireMock.Matchers.Request.IRequestMatcher>,WireMock.Matchers.Request.CompositeMatcherType) - + - - - - - - + + + + + + - + 100663890 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -39227,33 +39541,33 @@ - 100664359 + 100664361 System.Void WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::.ctor() - + - 100664360 + 100664362 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__0(WireMock.Matchers.Request.IRequestMatcher) - + - + - + - 100664361 + 100664363 System.Double WireMock.Matchers.Request.RequestMessageCompositeMatcher/<>c__DisplayClass5_0::<GetMatchingScore>b__1(WireMock.Matchers.Request.IRequestMatcher) - + - + - + @@ -39265,132 +39579,132 @@ 100663891 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Funcs() - + - + - + 100663892 System.String WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Name() - + - + - + 100663893 WireMock.Matchers.IStringMatcher[] WireMock.Matchers.Request.RequestMessageCookieMatcher::get_Matchers() - + - + - + 100663894 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.String,System.String,System.Boolean) - + - - - - - - - + + + + + + + - + 100663895 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - - + + + + + + + - + 100663896 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[]) - + - - - - - + + + + + - + 100663897 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663898 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -39400,33 +39714,33 @@ - 100664362 + 100664364 System.Void WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::.ctor() - + - 100664363 + 100664365 System.Boolean WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>) - + - + - + - 100664364 + 100664366 System.Double WireMock.Matchers.Request.RequestMessageCookieMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) - + - + - + @@ -39438,149 +39752,149 @@ 100663899 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Funcs() - + - + - + 100663900 System.String WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Name() - + - + - + 100663901 WireMock.Matchers.IStringMatcher[] WireMock.Matchers.Request.RequestMessageHeaderMatcher::get_Matchers() - + - + - + 100663902 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,System.String,System.Boolean) - + - - - - - - - + + + + + + + - + 100663903 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,System.String[],System.Boolean) - + - - - - - - - + + + + + + + - + 100663904 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.String,WireMock.Matchers.IStringMatcher[]) - + - - - - - - - + + + + + + + - + 100663905 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[]) - + - - - - - + + + + + - + 100663906 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663907 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -39590,22 +39904,22 @@ - 100664365 + 100664367 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664366 + 100664368 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass10_0::<.ctor>b__0(System.String) - + - + - + @@ -39615,33 +39929,33 @@ - 100664367 + 100664369 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::.ctor() - + - 100664368 + 100664370 System.Boolean WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>) - + - + - + - 100664369 + 100664371 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_0::<IsMatch>b__1(WireMock.Matchers.IStringMatcher) - + - + - + @@ -39651,22 +39965,22 @@ - 100664370 + 100664372 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::.ctor() - + - 100664371 + 100664373 System.Double WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c__DisplayClass14_1::<IsMatch>b__4(System.String) - + - + - + @@ -39676,41 +39990,41 @@ - 100664372 + 100664374 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.cctor() - + - 100664373 + 100664375 System.Void WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::.ctor() - + - 100664374 + 100664376 System.String WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_2(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + - 100664375 + 100664377 System.String[] WireMock.Matchers.Request.RequestMessageHeaderMatcher/<>c::<IsMatch>b__14_3(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + - + - + @@ -39722,54 +40036,54 @@ 100663908 System.String[] WireMock.Matchers.Request.RequestMessageMethodMatcher::get_Methods() - + - + - + 100663909 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher::.ctor(System.String[]) - + - - - - - + + + + + - + 100663910 System.Double WireMock.Matchers.Request.RequestMessageMethodMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663911 System.Double WireMock.Matchers.Request.RequestMessageMethodMatcher::IsMatch(WireMock.RequestMessage) - + - - - + + + - + @@ -39779,30 +40093,30 @@ - 100664376 + 100664378 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.cctor() - + - 100664377 + 100664379 System.Void WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::.ctor() - + - 100664378 + 100664380 System.String WireMock.Matchers.Request.RequestMessageMethodMatcher/<>c::<.ctor>b__3_0(System.String) - + - + - + @@ -39814,123 +40128,123 @@ 100663912 System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[] WireMock.Matchers.Request.RequestMessageParamMatcher::get_Funcs() - + - + - + 100663913 System.String WireMock.Matchers.Request.RequestMessageParamMatcher::get_Key() - + - + - + 100663914 System.Collections.Generic.IEnumerable`1<System.String> WireMock.Matchers.Request.RequestMessageParamMatcher::get_Values() - + - + - + 100663915 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.String) - + - - - + + + - + 100663916 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.String,System.Collections.Generic.IEnumerable`1<System.String>) - + - - - - - - + + + + + + - + 100663917 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher::.ctor(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[]) - + - - - - - + + + + + - + 100663918 System.Double WireMock.Matchers.Request.RequestMessageParamMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663919 System.Double WireMock.Matchers.Request.RequestMessageParamMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - + @@ -39940,33 +40254,33 @@ - 100664379 + 100664381 System.Void WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::.ctor() - + - 100664380 + 100664382 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__0(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>) - + - + - + - 100664381 + 100664383 System.Boolean WireMock.Matchers.Request.RequestMessageParamMatcher/<>c__DisplayClass13_0::<IsMatch>b__1(System.String) - + - + - + @@ -39978,104 +40292,104 @@ 100663920 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessagePathMatcher::get_Matchers() - + - + - + 100663921 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessagePathMatcher::get_Funcs() - + - + - + 100663922 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(System.String[]) - + - - - + + + - + 100663923 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663924 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663925 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663926 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -40085,30 +40399,30 @@ - 100664382 + 100664384 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.cctor() - + - 100664383 + 100664385 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::.ctor() - + - 100664384 + 100664386 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessagePathMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -40118,33 +40432,33 @@ - 100664385 + 100664387 System.Void WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664386 + 100664388 System.Double WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664387 + 100664389 System.Boolean WireMock.Matchers.Request.RequestMessagePathMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -40156,46 +40470,46 @@ 100663927 System.Void WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::.ctor(System.Object,System.Object) - + - - - - - + + + + + - + 100663928 System.Double WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663929 System.Double WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher::IsMatch() - + - - - + + + - - + + - + @@ -40207,104 +40521,104 @@ 100663930 System.Collections.Generic.IReadOnlyList`1<WireMock.Matchers.IStringMatcher> WireMock.Matchers.Request.RequestMessageUrlMatcher::get_Matchers() - + - + - + 100663931 System.Func`2<System.String,System.Boolean>[] WireMock.Matchers.Request.RequestMessageUrlMatcher::get_Funcs() - + - + - + 100663932 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(System.String[]) - + - - - + + + - + 100663933 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(WireMock.Matchers.IStringMatcher[]) - + - - - - - + + + + + - + 100663934 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher::.ctor(System.Func`2<System.String,System.Boolean>[]) - + - - - - - + + + + + - + 100663935 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher::GetMatchingScore(WireMock.RequestMessage,WireMock.Matchers.Request.RequestMatchResult) - + - - - - + + + + - + 100663936 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher::IsMatch(WireMock.RequestMessage) - + - - - - - - - - - + + + + + + + + + - - - - + + + + - + @@ -40314,30 +40628,30 @@ - 100664388 + 100664390 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.cctor() - + - 100664389 + 100664391 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::.ctor() - + - 100664390 + 100664392 WireMock.Matchers.WildcardMatcher WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c::<.ctor>b__6_0(System.String) - + - + - + @@ -40347,33 +40661,33 @@ - 100664391 + 100664393 System.Void WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::.ctor() - + - 100664392 + 100664394 System.Double WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__0(WireMock.Matchers.IStringMatcher) - + - + - + - 100664393 + 100664395 System.Boolean WireMock.Matchers.Request.RequestMessageUrlMatcher/<>c__DisplayClass10_0::<IsMatch>b__1(System.Func`2<System.String,System.Boolean>) - + - + - + @@ -40385,133 +40699,133 @@ 100663941 System.Guid WireMock.Logging.LogEntry::get_Guid() - + - + - + 100663942 System.Void WireMock.Logging.LogEntry::set_Guid(System.Guid) - + - + - + 100663943 WireMock.RequestMessage WireMock.Logging.LogEntry::get_RequestMessage() - + - + - + 100663944 System.Void WireMock.Logging.LogEntry::set_RequestMessage(WireMock.RequestMessage) - + - + - + 100663945 WireMock.ResponseMessage WireMock.Logging.LogEntry::get_ResponseMessage() - + - + - + 100663946 System.Void WireMock.Logging.LogEntry::set_ResponseMessage(WireMock.ResponseMessage) - + - + - + 100663947 WireMock.Matchers.Request.RequestMatchResult WireMock.Logging.LogEntry::get_RequestMatchResult() - + - + - + 100663948 System.Void WireMock.Logging.LogEntry::set_RequestMatchResult(WireMock.Matchers.Request.RequestMatchResult) - + - + - + 100663949 System.Nullable`1<System.Guid> WireMock.Logging.LogEntry::get_MappingGuid() - + - + - + 100663950 System.Void WireMock.Logging.LogEntry::set_MappingGuid(System.Nullable`1<System.Guid>) - + - + - + 100663951 System.String WireMock.Logging.LogEntry::get_MappingTitle() - + - + - + 100663952 System.Void WireMock.Logging.LogEntry::set_MappingTitle(System.String) - + - + - + @@ -40519,7 +40833,7 @@ System.Void WireMock.Logging.LogEntry::.ctor() - + @@ -40531,67 +40845,67 @@ 100663954 System.Void WireMock.Logging.WireMockConsoleLogger::Debug(System.String,System.Object[]) - + - - - + + + - + 100663955 System.Void WireMock.Logging.WireMockConsoleLogger::Info(System.String,System.Object[]) - + - - - + + + - + 100663956 System.Void WireMock.Logging.WireMockConsoleLogger::Warn(System.String,System.Object[]) - + - - - + + + - + 100663957 System.Void WireMock.Logging.WireMockConsoleLogger::Error(System.String,System.Object[]) - + - - - + + + - + 100663958 System.String WireMock.Logging.WireMockConsoleLogger::Format(System.String,System.String,System.Object[]) - + - - - - + + + + - + @@ -40599,7 +40913,7 @@ System.Void WireMock.Logging.WireMockConsoleLogger::.ctor() - + @@ -40611,49 +40925,49 @@ 100663960 System.Void WireMock.Logging.WireMockNullLogger::Debug(System.String,System.Object[]) - + - - + + - + 100663961 System.Void WireMock.Logging.WireMockNullLogger::Info(System.String,System.Object[]) - + - - + + - + 100663962 System.Void WireMock.Logging.WireMockNullLogger::Warn(System.String,System.Object[]) - + - - + + - + 100663963 System.Void WireMock.Logging.WireMockNullLogger::Error(System.String,System.Object[]) - + - - + + - + @@ -40661,7 +40975,7 @@ System.Void WireMock.Logging.WireMockNullLogger::.ctor() - + @@ -40673,29 +40987,29 @@ 100663965 System.Net.Http.HttpClient WireMock.Http.HttpClientHelper::CreateHttpClient(System.String) - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - + @@ -40703,192 +41017,81 @@ System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Http.HttpClientHelper::SendAsync(System.Net.Http.HttpClient,WireMock.RequestMessage,System.String) - + - + WireMock.Http.HttpClientHelper/<>c - 100664394 + 100664396 System.Void WireMock.Http.HttpClientHelper/<>c::.cctor() - + - 100664395 + 100664397 System.Void WireMock.Http.HttpClientHelper/<>c::.ctor() - + - 100664396 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<CreateHttpClient>b__0_0(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors) - - - - - - - - - - 100664397 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - - - - - - - - - 100664398 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_2(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - + System.Boolean WireMock.Http.HttpClientHelper/<>c::<CreateHttpClient>b__0_0(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors) + - + - - - - - 100664399 - System.Boolean WireMock.Http.HttpClientHelper/<>c::<SendAsync>b__1_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) - - - - - - + - + WireMock.Http.HttpClientHelper/<SendAsync>d__1 - 100664400 + 100664399 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::.ctor() - + - - - 100664401 + + + 100664400 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::MoveNext() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - 100664402 + 100664401 System.Void WireMock.Http.HttpClientHelper/<SendAsync>d__1::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) - + @@ -40897,66 +41100,325 @@ WireMock.Http.HttpKnownHeaderNames + + + WireMock.Http.HttpRequestMessageHelper + + + + 100663967 + System.Net.Http.HttpRequestMessage WireMock.Http.HttpRequestMessageHelper::Create(WireMock.RequestMessage,System.String) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0 + + + + 100664402 + System.Void WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::.ctor() + + + + + + + 100664403 + System.Boolean WireMock.Http.HttpRequestMessageHelper/<>c__DisplayClass0_0::<Create>b__0(System.Collections.Generic.KeyValuePair`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper + + + + 100663968 + System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.Http.HttpResponseMessageHelper::Create(System.Net.Http.HttpResponseMessage,System.Uri,System.Uri) + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<>c + + + + 100664404 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.cctor() + + + + + + + 100664405 + System.Void WireMock.Http.HttpResponseMessageHelper/<>c::.ctor() + + + + + + + 100664406 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_1(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + 100664407 + System.Boolean WireMock.Http.HttpResponseMessageHelper/<>c::<Create>b__0_0(System.Collections.Generic.KeyValuePair`2<System.String,System.Collections.Generic.IEnumerable`1<System.String>>) + + + + + + + + + + + + WireMock.Http.HttpResponseMessageHelper/<Create>d__0 + + + + 100664408 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::.ctor() + + + + + + + 100664409 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::MoveNext() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100664410 + System.Void WireMock.Http.HttpResponseMessageHelper/<Create>d__0::SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine) + + + + + + WireMock.Http.PortUtil - 100663967 + 100663969 System.Int32 WireMock.Http.PortUtil::FindFreeTcpPort() - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663968 + 100663970 System.Boolean WireMock.Http.PortUtil::TryExtractProtocolAndPort(System.String,System.String&,System.Int32&) - + - - - - - - - - - - + + + + + + + + + + - - + + - + - 100663969 + 100663971 System.Void WireMock.Http.PortUtil::.cctor() - + - + - + @@ -40966,35 +41428,35 @@ - 100663970 + 100663972 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.ClientCertificateHelper::GetCertificate(System.String) - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -41004,17 +41466,17 @@ - 100663971 + 100663973 System.Security.Cryptography.X509Certificates.X509Certificate2 WireMock.HttpsCertificate.PublicCertificateHelper::GetX509Certificate2() - + - - - - + + + + - + @@ -41022,101 +41484,101 @@ WireMock.Admin.Settings.SettingsModel - - - 100663994 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() - - - - - - - - - - 100663995 - System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) - - - - - - - 100663996 - System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_GlobalProcessingDelay() + - + - + 100663997 - System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_GlobalProcessingDelay(System.Nullable`1<System.Int32>) + - + - + 100663998 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() - + System.Nullable`1<System.Boolean> WireMock.Admin.Settings.SettingsModel::get_AllowPartialMapping() + - + - + 100663999 - System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_AllowPartialMapping(System.Nullable`1<System.Boolean>) + - + - + 100664000 - System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() - + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_RequestLogExpirationDuration() + - + - + 100664001 - System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Settings.SettingsModel::set_RequestLogExpirationDuration(System.Nullable`1<System.Int32>) + - + - + + + + + 100664002 + System.Nullable`1<System.Int32> WireMock.Admin.Settings.SettingsModel::get_MaxRequestLogCount() + + + + + + + + + + 100664003 + System.Void WireMock.Admin.Settings.SettingsModel::set_MaxRequestLogCount(System.Nullable`1<System.Int32>) + + + + + + - 100664002 + 100664004 System.Void WireMock.Admin.Settings.SettingsModel::.ctor() - + @@ -41124,145 +41586,145 @@ WireMock.Admin.Requests.LogEntryModel - - - 100664003 - System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() - - - - - - - - - - 100664004 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) - - - - - - - 100664005 - WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() - + System.Guid WireMock.Admin.Requests.LogEntryModel::get_Guid() + - + - + 100664006 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Guid(System.Guid) + - + - + 100664007 - WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() - + WireMock.Admin.Requests.LogRequestModel WireMock.Admin.Requests.LogEntryModel::get_Request() + - + - + 100664008 - System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Request(WireMock.Admin.Requests.LogRequestModel) + - + - + 100664009 - System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() - + WireMock.Admin.Requests.LogResponseModel WireMock.Admin.Requests.LogEntryModel::get_Response() + - + - + 100664010 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_Response(WireMock.Admin.Requests.LogResponseModel) + - + - + 100664011 - System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() - + System.Nullable`1<System.Guid> WireMock.Admin.Requests.LogEntryModel::get_MappingGuid() + - + - + 100664012 - System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingGuid(System.Nullable`1<System.Guid>) + - + - + 100664013 - WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() - + System.String WireMock.Admin.Requests.LogEntryModel::get_MappingTitle() + - + - + 100664014 - System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) - + System.Void WireMock.Admin.Requests.LogEntryModel::set_MappingTitle(System.String) + - + - + + + + + 100664015 + WireMock.Admin.Requests.LogRequestMatchModel WireMock.Admin.Requests.LogEntryModel::get_RequestMatchResult() + + + + + + + + + + 100664016 + System.Void WireMock.Admin.Requests.LogEntryModel::set_RequestMatchResult(WireMock.Admin.Requests.LogRequestMatchModel) + + + + + + - 100664015 + 100664017 System.Void WireMock.Admin.Requests.LogEntryModel::.ctor() - + @@ -41270,123 +41732,123 @@ WireMock.Admin.Requests.LogRequestMatchModel - - - 100664016 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() - - - - - - - - - - 100664017 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) - - - - - - - 100664018 - System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_TotalScore() + - + - + 100664019 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalScore(System.Double) + - + - + 100664020 - System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() - + System.Int32 WireMock.Admin.Requests.LogRequestMatchModel::get_TotalNumber() + - + - + 100664021 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_TotalNumber(System.Int32) + - + - + 100664022 - System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() - + System.Boolean WireMock.Admin.Requests.LogRequestMatchModel::get_IsPerfectMatch() + - + - + 100664023 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_IsPerfectMatch(System.Boolean) + - + - + 100664024 - System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() - + System.Double WireMock.Admin.Requests.LogRequestMatchModel::get_AverageTotalScore() + - + - + 100664025 - System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) - + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_AverageTotalScore(System.Double) + - + - + + + + + 100664026 + System.Collections.Generic.IList`1<System.Object> WireMock.Admin.Requests.LogRequestMatchModel::get_MatchDetails() + + + + + + + + + + 100664027 + System.Void WireMock.Admin.Requests.LogRequestMatchModel::set_MatchDetails(System.Collections.Generic.IList`1<System.Object>) + + + + + + - 100664026 + 100664028 System.Void WireMock.Admin.Requests.LogRequestMatchModel::.ctor() - + @@ -41394,277 +41856,277 @@ WireMock.Admin.Requests.LogRequestModel - - - 100664027 - System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() - - - - - - - - - - 100664028 - System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) - - - - - - - 100664029 - System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() - + System.String WireMock.Admin.Requests.LogRequestModel::get_ClientIP() + - + - + 100664030 - System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_ClientIP(System.String) + - + - + 100664031 - System.String WireMock.Admin.Requests.LogRequestModel::get_Path() - + System.DateTime WireMock.Admin.Requests.LogRequestModel::get_DateTime() + - + - + 100664032 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_DateTime(System.DateTime) + - + - + 100664033 - System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Path() + - + - + 100664034 - System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Path(System.String) + - + - + 100664035 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() - + System.String WireMock.Admin.Requests.LogRequestModel::get_AbsoluteUrl() + - + - + 100664036 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_AbsoluteUrl(System.String) + - + - + 100664037 - System.String WireMock.Admin.Requests.LogRequestModel::get_Method() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Query() + - + - + 100664038 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Query(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664039 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Method() + - + - + 100664040 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Method(System.String) + - + - + 100664041 - System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogRequestModel::get_Headers() + - + - + 100664042 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664043 - System.String WireMock.Admin.Requests.LogRequestModel::get_Body() - + System.Collections.Generic.IDictionary`2<System.String,System.String> WireMock.Admin.Requests.LogRequestModel::get_Cookies() + - + - + 100664044 - System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Cookies(System.Collections.Generic.IDictionary`2<System.String,System.String>) + - + - + 100664045 - System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogRequestModel::get_Body() + - + - + 100664046 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_Body(System.String) + - + - + 100664047 - System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogRequestModel::get_BodyAsJson() + - + - + 100664048 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsJson(System.Object) + - + - + 100664049 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() - + System.Byte[] WireMock.Admin.Requests.LogRequestModel::get_BodyAsBytes() + - + - + 100664050 - System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyAsBytes(System.Byte[]) + - + - + + + + + 100664051 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogRequestModel::get_BodyEncoding() + + + + + + + + + + 100664052 + System.Void WireMock.Admin.Requests.LogRequestModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664051 + 100664053 System.Void WireMock.Admin.Requests.LogRequestModel::.ctor() - + @@ -41672,236 +42134,236 @@ WireMock.Admin.Requests.LogResponseModel - - - 100664052 - System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() - - - - - - - - - - 100664053 - System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) - - - - - - - 100664054 - System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() - + System.Int32 WireMock.Admin.Requests.LogResponseModel::get_StatusCode() + - + - + 100664055 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_StatusCode(System.Int32) + - + - + 100664056 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() - + System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>> WireMock.Admin.Requests.LogResponseModel::get_Headers() + - + - + 100664057 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>) + - + - + 100664058 - System.String WireMock.Admin.Requests.LogResponseModel::get_Body() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyDestination() + - + - + 100664059 - System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyDestination(System.String) + - + - + 100664060 - System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Requests.LogResponseModel::get_Body() + - + - + 100664061 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_Body(System.String) + - + - + 100664062 - System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Requests.LogResponseModel::get_BodyAsJson() + - + - + 100664063 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsJson(System.Object) + - + - + 100664064 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Requests.LogResponseModel::get_BodyAsBytes() + - + - + 100664065 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664066 - System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyAsFile() + - + - + 100664067 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFile(System.String) + - + - + 100664068 - System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() - + System.Nullable`1<System.Boolean> WireMock.Admin.Requests.LogResponseModel::get_BodyAsFileIsCached() + - + - + 100664069 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664070 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() - + System.String WireMock.Admin.Requests.LogResponseModel::get_BodyOriginal() + - + - + 100664071 - System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyOriginal(System.String) + - + - + + + + + 100664072 + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Requests.LogResponseModel::get_BodyEncoding() + + + + + + + + + + 100664073 + System.Void WireMock.Admin.Requests.LogResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + + + + + + - 100664072 + 100664074 System.Void WireMock.Admin.Requests.LogResponseModel::.ctor() - + - + - + @@ -41911,77 +42373,77 @@ - 100664073 - WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() - - - - - - - - - - 100664074 - System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) - - - - - - - - - 100664075 - System.String WireMock.Admin.Mappings.BodyModel::get_Func() - + WireMock.Admin.Mappings.MatcherModel WireMock.Admin.Mappings.BodyModel::get_Matcher() + - + - + 100664076 - System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Matcher(WireMock.Admin.Mappings.MatcherModel) + - + - + 100664077 - System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() - + System.String WireMock.Admin.Mappings.BodyModel::get_Func() + - + - + 100664078 - System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) - + System.Void WireMock.Admin.Mappings.BodyModel::set_Func(System.String) + - + - + + + + + 100664079 + System.String WireMock.Admin.Mappings.BodyModel::get_DataFunc() + + + + + + + + + + 100664080 + System.Void WireMock.Admin.Mappings.BodyModel::set_DataFunc(System.String) + + + + + + - 100664079 + 100664081 System.Void WireMock.Admin.Mappings.BodyModel::.ctor() - + @@ -41989,57 +42451,57 @@ WireMock.Admin.Mappings.ClientIPModel - - - 100664080 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() - - - - - - - - - - 100664081 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664082 - System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.ClientIPModel::get_Matchers() + - + - + 100664083 - System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664084 + System.String[] WireMock.Admin.Mappings.ClientIPModel::get_Funcs() + + + + + + + + + + 100664085 + System.Void WireMock.Admin.Mappings.ClientIPModel::set_Funcs(System.String[]) + + + + + + - 100664084 + 100664086 System.Void WireMock.Admin.Mappings.ClientIPModel::.ctor() - + @@ -42047,79 +42509,79 @@ WireMock.Admin.Mappings.CookieModel - - - 100664085 - System.String WireMock.Admin.Mappings.CookieModel::get_Name() - - - - - - - - - - 100664086 - System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) - - - - - - - 100664087 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() - + System.String WireMock.Admin.Mappings.CookieModel::get_Name() + - + - + 100664088 - System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Name(System.String) + - + - + 100664089 - System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.CookieModel::get_Matchers() + - + - + 100664090 - System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.CookieModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664091 + System.String[] WireMock.Admin.Mappings.CookieModel::get_Funcs() + + + + + + + + + + 100664092 + System.Void WireMock.Admin.Mappings.CookieModel::set_Funcs(System.String[]) + + + + + + - 100664091 + 100664093 System.Void WireMock.Admin.Mappings.CookieModel::.ctor() - + @@ -42127,79 +42589,79 @@ WireMock.Admin.Mappings.EncodingModel - - - 100664092 - System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() - - - - - - - - - - 100664093 - System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) - - - - - - - 100664094 - System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() - + System.Int32 WireMock.Admin.Mappings.EncodingModel::get_CodePage() + - + - + 100664095 - System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_CodePage(System.Int32) + - + - + 100664096 - System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() - + System.String WireMock.Admin.Mappings.EncodingModel::get_EncodingName() + - + - + 100664097 - System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) - + System.Void WireMock.Admin.Mappings.EncodingModel::set_EncodingName(System.String) + - + - + + + + + 100664098 + System.String WireMock.Admin.Mappings.EncodingModel::get_WebName() + + + + + + + + + + 100664099 + System.Void WireMock.Admin.Mappings.EncodingModel::set_WebName(System.String) + + + + + + - 100664098 + 100664100 System.Void WireMock.Admin.Mappings.EncodingModel::.ctor() - + @@ -42207,79 +42669,79 @@ WireMock.Admin.Mappings.HeaderModel - - - 100664099 - System.String WireMock.Admin.Mappings.HeaderModel::get_Name() - - - - - - - - - - 100664100 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) - - - - - - - 100664101 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() - + System.String WireMock.Admin.Mappings.HeaderModel::get_Name() + - + - + 100664102 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Name(System.String) + - + - + 100664103 - System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel> WireMock.Admin.Mappings.HeaderModel::get_Matchers() + - + - + 100664104 - System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.HeaderModel::set_Matchers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.MatcherModel>) + - + - + + + + + 100664105 + System.String[] WireMock.Admin.Mappings.HeaderModel::get_Funcs() + + + + + + + + + + 100664106 + System.Void WireMock.Admin.Mappings.HeaderModel::set_Funcs(System.String[]) + + + + + + - 100664105 + 100664107 System.Void WireMock.Admin.Mappings.HeaderModel::.ctor() - + @@ -42287,189 +42749,189 @@ WireMock.Admin.Mappings.MappingModel - - - 100664106 - System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() - - - - - - - - - - 100664107 - System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) - - - - - - - 100664108 - System.String WireMock.Admin.Mappings.MappingModel::get_Title() - + System.Nullable`1<System.Guid> WireMock.Admin.Mappings.MappingModel::get_Guid() + - + - + 100664109 - System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Guid(System.Nullable`1<System.Guid>) + - + - + 100664110 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() - + System.String WireMock.Admin.Mappings.MappingModel::get_Title() + - + - + 100664111 - System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Title(System.String) + - + - + 100664112 - System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.MappingModel::get_Priority() + - + - + 100664113 - System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Priority(System.Nullable`1<System.Int32>) + - + - + 100664114 - System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() - + System.String WireMock.Admin.Mappings.MappingModel::get_Scenario() + - + - + 100664115 - System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Scenario(System.String) + - + - + 100664116 - System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() - + System.Object WireMock.Admin.Mappings.MappingModel::get_WhenStateIs() + - + - + 100664117 - System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) - + System.Void WireMock.Admin.Mappings.MappingModel::set_WhenStateIs(System.Object) + - + - + 100664118 - WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() - + System.Object WireMock.Admin.Mappings.MappingModel::get_SetStateTo() + - + - + 100664119 - System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_SetStateTo(System.Object) + - + - + 100664120 - WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() - + WireMock.Admin.Mappings.RequestModel WireMock.Admin.Mappings.MappingModel::get_Request() + - + - + 100664121 - System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) - + System.Void WireMock.Admin.Mappings.MappingModel::set_Request(WireMock.Admin.Mappings.RequestModel) + - + - + + + + + 100664122 + WireMock.Admin.Mappings.ResponseModel WireMock.Admin.Mappings.MappingModel::get_Response() + + + + + + + + + + 100664123 + System.Void WireMock.Admin.Mappings.MappingModel::set_Response(WireMock.Admin.Mappings.ResponseModel) + + + + + + - 100664122 + 100664124 System.Void WireMock.Admin.Mappings.MappingModel::.ctor() - + @@ -42477,101 +42939,101 @@ WireMock.Admin.Mappings.MatcherModel - - - 100664123 - System.String WireMock.Admin.Mappings.MatcherModel::get_Name() - - - - - - - - - - 100664124 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) - - - - - - - 100664125 - System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Name() + - + - + 100664126 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Name(System.String) + - + - + 100664127 - System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() - + System.String WireMock.Admin.Mappings.MatcherModel::get_Pattern() + - + - + 100664128 - System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Pattern(System.String) + - + - + 100664129 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() - + System.String[] WireMock.Admin.Mappings.MatcherModel::get_Patterns() + - + - + 100664130 - System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.MatcherModel::set_Patterns(System.String[]) + - + - + + + + + 100664131 + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.MatcherModel::get_IgnoreCase() + + + + + + + + + + 100664132 + System.Void WireMock.Admin.Mappings.MatcherModel::set_IgnoreCase(System.Nullable`1<System.Boolean>) + + + + + + - 100664131 + 100664133 System.Void WireMock.Admin.Mappings.MatcherModel::.ctor() - + @@ -42579,79 +43041,79 @@ WireMock.Admin.Mappings.ParamModel - - - 100664132 - System.String WireMock.Admin.Mappings.ParamModel::get_Name() - - - - - - - - - - 100664133 - System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) - - - - - - - 100664134 - System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() - + System.String WireMock.Admin.Mappings.ParamModel::get_Name() + - + - + 100664135 - System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Name(System.String) + - + - + 100664136 - System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() - + System.Collections.Generic.IList`1<System.String> WireMock.Admin.Mappings.ParamModel::get_Values() + - + - + 100664137 - System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.ParamModel::set_Values(System.Collections.Generic.IList`1<System.String>) + - + - + + + + + 100664138 + System.String[] WireMock.Admin.Mappings.ParamModel::get_Funcs() + + + + + + + + + + 100664139 + System.Void WireMock.Admin.Mappings.ParamModel::set_Funcs(System.String[]) + + + + + + - 100664138 + 100664140 System.Void WireMock.Admin.Mappings.ParamModel::.ctor() - + @@ -42661,55 +43123,55 @@ - 100664139 + 100664141 WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.PathModel::get_Matchers() - + - + - + - 100664140 + 100664142 System.Void WireMock.Admin.Mappings.PathModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - + - + - + - 100664141 + 100664143 System.String[] WireMock.Admin.Mappings.PathModel::get_Funcs() - + - + - + - 100664142 + 100664144 System.Void WireMock.Admin.Mappings.PathModel::set_Funcs(System.String[]) - + - + - + - 100664143 + 100664145 System.Void WireMock.Admin.Mappings.PathModel::.ctor() - + @@ -42717,189 +43179,189 @@ WireMock.Admin.Mappings.RequestModel - - - 100664144 - System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() - - - - - - - - - - 100664145 - System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) - - - - - - - 100664146 - System.Object WireMock.Admin.Mappings.RequestModel::get_Path() - + System.Object WireMock.Admin.Mappings.RequestModel::get_ClientIP() + - + - + 100664147 - System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_ClientIP(System.Object) + - + - + 100664148 - System.Object WireMock.Admin.Mappings.RequestModel::get_Url() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Path() + - + - + 100664149 - System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Path(System.Object) + - + - + 100664150 - System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() - + System.Object WireMock.Admin.Mappings.RequestModel::get_Url() + - + - + 100664151 - System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Url(System.Object) + - + - + 100664152 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() - + System.String[] WireMock.Admin.Mappings.RequestModel::get_Methods() + - + - + 100664153 - System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Methods(System.String[]) + - + - + 100664154 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel> WireMock.Admin.Mappings.RequestModel::get_Headers() + - + - + 100664155 - System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Headers(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.HeaderModel>) + - + - + 100664156 - System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel> WireMock.Admin.Mappings.RequestModel::get_Cookies() + - + - + 100664157 - System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Cookies(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.CookieModel>) + - + - + 100664158 - WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() - + System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel> WireMock.Admin.Mappings.RequestModel::get_Params() + - + - + 100664159 - System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) - + System.Void WireMock.Admin.Mappings.RequestModel::set_Params(System.Collections.Generic.IList`1<WireMock.Admin.Mappings.ParamModel>) + - + - + + + + + 100664160 + WireMock.Admin.Mappings.BodyModel WireMock.Admin.Mappings.RequestModel::get_Body() + + + + + + + + + + 100664161 + System.Void WireMock.Admin.Mappings.RequestModel::set_Body(WireMock.Admin.Mappings.BodyModel) + + + + + + - 100664160 + 100664162 System.Void WireMock.Admin.Mappings.RequestModel::.ctor() - + @@ -42907,343 +43369,343 @@ WireMock.Admin.Mappings.ResponseModel - - - 100664161 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() - - - - - - - - - - 100664162 - System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) - - - - - - - 100664163 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_StatusCode() + - + - + 100664164 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_StatusCode(System.Nullable`1<System.Int32>) + - + - + 100664165 - System.String WireMock.Admin.Mappings.ResponseModel::get_Body() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyDestination() + - + - + 100664166 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyDestination(System.String) + - + - + 100664167 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() - + System.String WireMock.Admin.Mappings.ResponseModel::get_Body() + - + - + 100664168 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Body(System.String) + - + - + 100664169 - System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyFromBase64() + - + - + 100664170 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyFromBase64(System.String) + - + - + 100664171 - System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() - + System.Object WireMock.Admin.Mappings.ResponseModel::get_BodyAsJson() + - + - + 100664172 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsJson(System.Object) + - + - + 100664173 - System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() - + System.Byte[] WireMock.Admin.Mappings.ResponseModel::get_BodyAsBytes() + - + - + 100664174 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsBytes(System.Byte[]) + - + - + 100664175 - System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() - + System.String WireMock.Admin.Mappings.ResponseModel::get_BodyAsFile() + - + - + 100664176 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFile(System.String) + - + - + 100664177 - WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() - + System.Nullable`1<System.Boolean> WireMock.Admin.Mappings.ResponseModel::get_BodyAsFileIsCached() + - + - + 100664178 - System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyAsFileIsCached(System.Nullable`1<System.Boolean>) + - + - + 100664179 - System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() - + WireMock.Admin.Mappings.EncodingModel WireMock.Admin.Mappings.ResponseModel::get_BodyEncoding() + - + - + 100664180 - System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_BodyEncoding(WireMock.Admin.Mappings.EncodingModel) + - + - + 100664181 - System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() - + System.Boolean WireMock.Admin.Mappings.ResponseModel::get_UseTransformer() + - + - + 100664182 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_UseTransformer(System.Boolean) + - + - + 100664183 - System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() - + System.Collections.Generic.IDictionary`2<System.String,System.Object> WireMock.Admin.Mappings.ResponseModel::get_Headers() + - + - + 100664184 - System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Headers(System.Collections.Generic.IDictionary`2<System.String,System.Object>) + - + - + 100664185 - System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() - + System.String WireMock.Admin.Mappings.ResponseModel::get_HeadersRaw() + - + - + 100664186 - System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_HeadersRaw(System.String) + - + - + 100664187 - System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() - + System.Nullable`1<System.Int32> WireMock.Admin.Mappings.ResponseModel::get_Delay() + - + - + 100664188 - System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_Delay(System.Nullable`1<System.Int32>) + - + - + 100664189 - System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() - + System.String WireMock.Admin.Mappings.ResponseModel::get_ProxyUrl() + - + - + 100664190 - System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) - + System.Void WireMock.Admin.Mappings.ResponseModel::set_ProxyUrl(System.String) + - + - + + + + + 100664191 + System.String WireMock.Admin.Mappings.ResponseModel::get_X509Certificate2ThumbprintOrSubjectName() + + + + + + + + + + 100664192 + System.Void WireMock.Admin.Mappings.ResponseModel::set_X509Certificate2ThumbprintOrSubjectName(System.String) + + + + + + - 100664191 + 100664193 System.Void WireMock.Admin.Mappings.ResponseModel::.ctor() - + @@ -43251,90 +43713,84 @@ WireMock.Admin.Mappings.UrlModel - - - 100664192 - WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() - - - - - - - - - - 100664193 - System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) - - - - - - - 100664194 - System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() - + WireMock.Admin.Mappings.MatcherModel[] WireMock.Admin.Mappings.UrlModel::get_Matchers() + - + - + 100664195 - System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) - + System.Void WireMock.Admin.Mappings.UrlModel::set_Matchers(WireMock.Admin.Mappings.MatcherModel[]) + - + - + + + + + 100664196 + System.String[] WireMock.Admin.Mappings.UrlModel::get_Funcs() + + + + + + + + + + 100664197 + System.Void WireMock.Admin.Mappings.UrlModel::set_Funcs(System.String[]) + + + + + + - 100664196 + 100664198 System.Void WireMock.Admin.Mappings.UrlModel::.ctor() - + - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\496030ff\00ff3a6f_0ea0d301\NFluent.dll - 2018-03-15T21:52:08.3635085Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\c84664a0\00ff3a6f_0ea0d301\NFluent.dll + 2018-03-17T12:18:24.2389133Z NFluent + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\ffb82e97\00aff703_2ae8d201\Newtonsoft.Json.dll + 2018-03-17T12:18:24.4619123Z + Newtonsoft.Json + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll 2017-09-29T13:42:00.6413829Z System.Net.Http - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\42d59f67\00cf5b50_3831d301\RestEase.dll - 2018-03-15T21:52:08.6655111Z - RestEase - - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\06f635ae\00aff703_2ae8d201\Newtonsoft.Json.dll - 2018-03-15T21:52:08.6675111Z - Newtonsoft.Json - - - - C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll - 2017-09-29T13:42:02.0164945Z - Microsoft.CSharp + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll + 2017-09-29T13:42:00.5319977Z + System.Numerics @@ -43343,10 +43799,28 @@ System.Xml - - C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll - 2017-09-29T13:42:00.5319977Z - System.Numerics + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\12034f69\00b14947_6bced201\Handlebars.dll + 2018-03-17T12:18:24.5709136Z + Handlebars + + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\0ddcd291\00066a9a_0a16d301\XPath2.dll + 2018-03-17T12:18:24.7849129Z + XPath2 + + + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll + 2017-09-29T13:42:01.922736Z + System.Xml.Linq + + + + RefEmit_InMemoryManifestModule + 0001-01-01T00:00:00 + Anonymously Hosted DynamicMethods Assembly @@ -43361,10 +43835,34 @@ System.Data - - C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll - 2017-09-29T13:41:59.1412594Z - System.Dynamic + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\2a357721\0012214e_8eacd301\Moq.dll + 2018-03-17T12:18:25.2379133Z + Moq + + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\2085155a\00ea3ab7_1837d201\System.Threading.Tasks.Extensions.dll + 2018-03-17T12:18:25.3329117Z + System.Threading.Tasks.Extensions + + + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll + 2017-09-29T13:42:00.7507651Z + System.ValueTuple + + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\7d16cb31\00cd5749_e586d301\MimeKitLite.dll + 2018-03-17T12:18:25.4049128Z + MimeKitLite + + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\4f60d82a\00d0b1f1_8e41d301\Castle.Core.dll + 2018-03-17T12:18:25.4169119Z + Castle.Core @@ -43376,97 +43874,61 @@ RefEmit_InMemoryManifestModule 0001-01-01T00:00:00 - Anonymously Hosted DynamicMethods Assembly + DynamicProxyGenAssembly2 + + + + RefEmit_InMemoryManifestModule + 0001-01-01T00:00:00 + DynamicProxyGenAssembly2 + + + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\e42fa116\0028b2a1_e541d301\SimMetrics.Net.dll + 2018-03-17T12:18:25.8159137Z + SimMetrics.Net + + + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll + 2017-09-29T13:42:02.0164945Z + Microsoft.CSharp + + + + C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll + 2017-09-29T13:41:59.1412594Z + System.Dynamic - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\c31d304c\00e720c2_90c1cd01\Owin.dll - 2018-03-15T21:52:09.2825138Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\6ca763cd\00e720c2_90c1cd01\Owin.dll + 2018-03-17T12:18:26.2139133Z Owin - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\756ace74\008e22bb_c4dbce01\Microsoft.Owin.Hosting.dll - 2018-03-15T21:52:09.3515152Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\aef5285a\008e22bb_c4dbce01\Microsoft.Owin.Hosting.dll + 2018-03-17T12:18:26.2749124Z Microsoft.Owin.Hosting - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\f0524586\0028b2a1_e541d301\SimMetrics.Net.dll - 2018-03-15T21:52:09.4925158Z - SimMetrics.Net - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\d619d473\00bb53bc_c4dbce01\Microsoft.Owin.dll - 2018-03-15T21:52:09.5065163Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\36d6de69\00bb53bc_c4dbce01\Microsoft.Owin.dll + 2018-03-17T12:18:26.3871124Z Microsoft.Owin - - RefEmit_InMemoryManifestModule - 0001-01-01T00:00:00 - RestEaseFactory - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\0194439b\00bd807f_f2add201\Microsoft.Owin.Host.HttpListener.dll - 2018-03-15T21:52:09.6215177Z + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\d29e6395\00bd807f_f2add201\Microsoft.Owin.Host.HttpListener.dll + 2018-03-17T12:18:26.5099118Z Microsoft.Owin.Host.HttpListener - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\75026c27\00066a9a_0a16d301\XPath2.dll - 2018-03-15T21:52:10.1635201Z - XPath2 - - - - C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll - 2017-09-29T13:42:01.922736Z - System.Xml.Linq - - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\6afa6903\00b14947_6bced201\Handlebars.dll - 2018-03-15T21:52:10.4485213Z - Handlebars - - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\592d9211\0012214e_8eacd301\Moq.dll - 2018-03-15T21:52:12.1565326Z - Moq - - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\79e2c38e\00ea3ab7_1837d201\System.Threading.Tasks.Extensions.dll - 2018-03-15T21:52:12.2015404Z - System.Threading.Tasks.Extensions - - - - C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll - 2017-09-29T13:42:00.7507651Z - System.ValueTuple - - - - C:\Users\azureuser\AppData\Local\Temp\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\9f6a7cc8-1d61-42cf-95a6-b26d4bf4ea5a\assembly\dl3\87bd2788\00d0b1f1_8e41d301\Castle.Core.dll - 2018-03-15T21:52:12.2675338Z - Castle.Core - - - - RefEmit_InMemoryManifestModule - 0001-01-01T00:00:00 - DynamicProxyGenAssembly2 - - - - RefEmit_InMemoryManifestModule - 0001-01-01T00:00:00 - DynamicProxyGenAssembly2 + + C:\Users\azureuser\AppData\Local\Temp\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\f5b4ec8e-769b-4109-97d0-fad4d44fde4e\assembly\dl3\788bc214\00cf5b50_3831d301\RestEase.dll + 2018-03-17T12:18:28.1059131Z + RestEase @@ -43487,5 +43949,11 @@ System.Net.Http.WebRequest + + RefEmit_InMemoryManifestModule + 0001-01-01T00:00:00 + RestEaseFactory + + \ No newline at end of file diff --git a/report/WireMock.Net_BodyData.htm b/report/WireMock.Net_BodyData.htm new file mode 100644 index 00000000..a969ebaa --- /dev/null +++ b/report/WireMock.Net_BodyData.htm @@ -0,0 +1,78 @@ + + + + + +WireMock.Util.BodyData - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Util.BodyData
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\BodyData.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:30
Line coverage:100%
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\BodyData.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Text;
 2
 3namespace WireMock.Util
 4{
 5    /// <summary>
 6    /// BodyData
 7    /// </summary>
 8    public class BodyData
 9    {
 10        /// <summary>
 11        /// The body encoding.
 12        /// </summary>
 4413        public Encoding Encoding { get; set; }
 14
 15        /// <summary>
 16        /// The body as string.
 17        /// </summary>
 5118        public string BodyAsString { get; set; }
 19
 20        /// <summary>
 21        /// The body (as JSON object).
 22        /// </summary>
 4623        public object BodyAsJson { get; set; }
 24
 25        /// <summary>
 26        /// The body (as bytearray).
 27        /// </summary>
 4328        public byte[] BodyAsBytes { get; set; }
 29    }
 30}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_BodyDestinationFormat.htm b/report/WireMock.Net_BodyDestinationFormat.htm new file mode 100644 index 00000000..d6b9b65a --- /dev/null +++ b/report/WireMock.Net_BodyDestinationFormat.htm @@ -0,0 +1,30 @@ + + + + + +WireMock.ResponseBuilders.BodyDestinationFormat - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.ResponseBuilders.BodyDestinationFormat
Assembly:WireMock.Net
File(s):
Covered lines:0
Uncovered lines:0
Coverable lines:0
Total lines:0
Line coverage:
+

File(s)

+

No files found. This usually happens if a file isn't covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).

+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_BodyModel.htm b/report/WireMock.Net_BodyModel.htm index 13c5f7f5..34c6b576 100644 --- a/report/WireMock.Net_BodyModel.htm +++ b/report/WireMock.Net_BodyModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Mappings.BodyModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\BodyModel.cs -Covered lines:1 -Uncovered lines:2 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\BodyModel.cs +Covered lines:3 +Uncovered lines:0 Coverable lines:3 Total lines:32 -Line coverage:33.3% +Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\BodyModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\BodyModel.cs

@@ -41,7 +41,7 @@ - + @@ -49,7 +49,7 @@ - + @@ -57,12 +57,12 @@ - +
#LineLine coverage
 11        /// <value>
 12        /// The matcher.
 13        /// </value>
 1014        public MatcherModel Matcher { get; set; }
 1114        public MatcherModel Matcher { get; set; }
 15
 16        /// <summary>
 17        /// Gets or sets the function.
 19        /// <value>
 20        /// The function.
 21        /// </value>
 022        public string Func { get; set; }
 122        public string Func { get; set; }
 23
 24        /// <summary>
 25        /// Gets or sets the data function.
 27        /// <value>
 28        /// The data function.
 29        /// </value>
 030        public string DataFunc { get; set; }
 130        public string DataFunc { get; set; }
 31    }
 32}
- +

Methods/Properties

diff --git a/report/WireMock.Net_BodyParser.htm b/report/WireMock.Net_BodyParser.htm new file mode 100644 index 00000000..edafe36f --- /dev/null +++ b/report/WireMock.Net_BodyParser.htm @@ -0,0 +1,136 @@ + + + + + +WireMock.Util.BodyParser - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Util.BodyParser
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\BodyParser.cs
Covered lines:42
Uncovered lines:8
Coverable lines:50
Total lines:81
Line coverage:84%
Branch coverage:83.3%
+

Metrics

+ + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.cctor()10100100
ReadStringAsync()62100100
ReadBytesAsync()6210066.67
Parse()161679.3188.89
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\BodyParser.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.IO;
 3using System.Linq;
 4using System.Text;
 5using System.Threading.Tasks;
 6using JetBrains.Annotations;
 7using Newtonsoft.Json;
 8
 9namespace WireMock.Util
 10{
 11    internal static class BodyParser
 12    {
 113        private static readonly string[] TextContentTypes =
 114        {
 115            "text/",
 116            "application/javascript", "application/typescript",
 117            "application/xml", "application/xhtml+xml",
 118            "application/x-www-form-urlencoded"
 119        };
 20
 21        private static async Task<Tuple<string, Encoding>> ReadStringAsync(Stream stream)
 1422        {
 1423             using (var streamReader = new StreamReader(stream))
 1424            {
 1425                string content = await streamReader.ReadToEndAsync();
 26
 1427                return new Tuple<string, Encoding>(content, streamReader.CurrentEncoding);
 28            }
 1429        }
 30
 31        private static async Task<byte[]> ReadBytesAsync(Stream stream)
 532        {
 533             using (var memoryStream = new MemoryStream())
 534            {
 535                await stream.CopyToAsync(memoryStream);
 536                return memoryStream.ToArray();
 37            }
 538        }
 39
 40        public static async Task<BodyData> Parse([NotNull] Stream stream, [CanBeNull] string contentTypeHeaderValue)
 1941        {
 1942            var data = new BodyData();
 43
 5144             if (contentTypeHeaderValue != null && TextContentTypes.Any(t => contentTypeHeaderValue.StartsWith(t, StringC
 1145             {
 46                try
 1147                {
 1148                    var stringData = await ReadStringAsync(stream);
 1149                    data.BodyAsString = stringData.Item1;
 1150                    data.Encoding = stringData.Item2;
 1151                }
 052                 catch
 053                {
 54                    // Reading as string failed, just get the ByteArray.
 055                    data.BodyAsBytes = await ReadBytesAsync(stream);
 056                }
 1157            }
 858             else if (contentTypeHeaderValue != null && contentTypeHeaderValue.StartsWith("application/json", StringCompa
 359            {
 360                var stringData = await ReadStringAsync(stream);
 361                data.Encoding = stringData.Item2;
 62
 63                try
 364                {
 365                    data.BodyAsJson = JsonConvert.DeserializeObject(stringData.Item1, new JsonSerializerSettings { Forma
 366                }
 067                catch
 068                {
 69                    // JsonConvert failed, just set the Body as string.
 070                    data.BodyAsString = stringData.Item1;
 071                }
 372            }
 73            else
 574            {
 575                data.BodyAsBytes = await ReadBytesAsync(stream);
 576            }
 77
 1978            return data;
 1979        }
 80    }
 81}
+
+
+ +
+ + \ No newline at end of file diff --git a/report/WireMock.Net_Check.htm b/report/WireMock.Net_Check.htm index 0c9fd2b2..ad7164f4 100644 --- a/report/WireMock.Net_Check.htm +++ b/report/WireMock.Net_Check.htm @@ -15,13 +15,13 @@ Class:WireMock.Validation.Check Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\Check.cs -Covered lines:15 -Uncovered lines:56 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Validation\Check.cs +Covered lines:27 +Uncovered lines:44 Coverable lines:71 -Total lines:142 -Line coverage:21.1% -Branch coverage:15% +Total lines:139 +Line coverage:38% +Branch coverage:35%

Metrics

@@ -31,15 +31,15 @@ Condition(...)2266.6766.67 NotNull(...)2257.1466.67 NotNull(...)2200 -NotEmpty(...)2262.566.67 -NotEmpty(...)4800 +NotNullOrEmpty(...)2262.566.67 +NotNullOrEmpty(...)4843.7557.14 NullButNotEmpty(...)3200 -HasNoNulls(...)3200 +HasNoNulls(...)3262.566.67 ValidEntityType(...)2200

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\Check.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Validation\Check.cs

@@ -62,143 +62,140 @@ - - - + + + - + - + - - + + - - + + - + - - + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - + + - - - - - - - - + + + + + + + + - - - - - - - + + + +
#LineLine coverage
 17    {
 18        [ContractAnnotation("value:null => halt")]
 19        public static T Condition<T>([NoEnumeration] T value, [NotNull] Predicate<T> condition, [InvokerParameterName] [
 120        {
 121            NotNull(condition, nameof(condition));
 122            NotNull(value, nameof(value));
 220        {
 221            NotNull(condition, nameof(condition));
 222            NotNull(value, nameof(value));
 23
 124             if (!condition(value))
 224             if (!condition(value))
 025            {
 026                NotEmpty(parameterName, nameof(parameterName));
 026                NotNullOrEmpty(parameterName, nameof(parameterName));
 27
 028                throw new ArgumentOutOfRangeException(parameterName);
 29            }
 30
 131            return value;
 132        }
 231            return value;
 232        }
 33
 34        [ContractAnnotation("value:null => halt")]
 35        public static T NotNull<T>([NoEnumeration] T value, [InvokerParameterName] [NotNull] string parameterName)
 49936        {
 49937             if (ReferenceEquals(value, null))
 185136        {
 185137             if (ReferenceEquals(value, null))
 038            {
 039                NotEmpty(parameterName, nameof(parameterName));
 039                NotNullOrEmpty(parameterName, nameof(parameterName));
 40
 041                throw new ArgumentNullException(parameterName);
 42            }
 43
 49944            return value;
 49945        }
 185144            return value;
 185145        }
 46
 47        [ContractAnnotation("value:null => halt")]
 48        public static T NotNull<T>(
 49            [NoEnumeration] T value,
 50            [InvokerParameterName] [NotNull] string parameterName,
 51            [NotNull] string propertyName)
 052        {
 053             if (ReferenceEquals(value, null))
 054            {
 055                NotEmpty(parameterName, nameof(parameterName));
 056                NotEmpty(propertyName, nameof(propertyName));
 48        public static T NotNull<T>([NoEnumeration] T value, [InvokerParameterName] [NotNull] string parameterName, [NotN
 049        {
 050             if (ReferenceEquals(value, null))
 051            {
 052                NotNullOrEmpty(parameterName, nameof(parameterName));
 053                NotNullOrEmpty(propertyName, nameof(propertyName));
 54
 055                throw new ArgumentException(CoreStrings.ArgumentPropertyNull(propertyName, parameterName));
 56            }
 57
 058                throw new ArgumentException(CoreStrings.ArgumentPropertyNull(propertyName, parameterName));
 59            }
 058            return value;
 059        }
 60
 061            return value;
 062        }
 63
 64        [ContractAnnotation("value:null => halt")]
 65        public static IList<T> NotEmpty<T>(IList<T> value, [InvokerParameterName] [NotNull] string parameterName)
 6266        {
 6267            NotNull(value, parameterName);
 68
 6269             if (value.Count == 0)
 070            {
 071                NotEmpty(parameterName, nameof(parameterName));
 61        [ContractAnnotation("value:null => halt")]
 62        public static IList<T> NotNullOrEmpty<T>(IList<T> value, [InvokerParameterName] [NotNull] string parameterName)
 28763        {
 28764            NotNull(value, parameterName);
 65
 28766             if (value.Count == 0)
 067            {
 068                NotNullOrEmpty(parameterName, nameof(parameterName));
 69
 070                throw new ArgumentException(CoreStrings.CollectionArgumentIsEmpty(parameterName));
 71            }
 72
 073                throw new ArgumentException(CoreStrings.CollectionArgumentIsEmpty(parameterName));
 74            }
 28773            return value;
 28774        }
 75
 6276            return value;
 6277        }
 78
 79        [ContractAnnotation("value:null => halt")]
 80        public static string NotEmpty(string value, [InvokerParameterName] [NotNull] string parameterName)
 081        {
 082            Exception e = null;
 083             if (ReferenceEquals(value, null))
 084            {
 085                e = new ArgumentNullException(parameterName);
 086            }
 087             else if (value.Trim().Length == 0)
 088            {
 089                e = new ArgumentException(CoreStrings.ArgumentIsEmpty(parameterName));
 090            }
 91
 092             if (e != null)
 093            {
 094                NotEmpty(parameterName, nameof(parameterName));
 76        [ContractAnnotation("value:null => halt")]
 77        public static string NotNullOrEmpty(string value, [InvokerParameterName] [NotNull] string parameterName)
 678        {
 679            Exception e = null;
 680             if (ReferenceEquals(value, null))
 081            {
 082                e = new ArgumentNullException(parameterName);
 083            }
 684             else if (value.Trim().Length == 0)
 085            {
 086                e = new ArgumentException(CoreStrings.ArgumentIsEmpty(parameterName));
 087            }
 88
 689             if (e != null)
 090            {
 091                NotNullOrEmpty(parameterName, nameof(parameterName));
 92
 093                throw e;
 94            }
 95
 096                throw e;
 97            }
 696            return value;
 697        }
 98
 099            return value;
 0100        }
 101
 102        public static string NullButNotEmpty(string value, [InvokerParameterName] [NotNull] string parameterName)
 0103        {
 0104             if (!ReferenceEquals(value, null)
 0105                && (value.Length == 0))
 0106            {
 0107                NotEmpty(parameterName, nameof(parameterName));
 99        public static string NullButNotEmpty(string value, [InvokerParameterName] [NotNull] string parameterName)
 0100        {
 0101             if (!ReferenceEquals(value, null)
 0102                && (value.Length == 0))
 0103            {
 0104                NotNullOrEmpty(parameterName, nameof(parameterName));
 105
 0106                throw new ArgumentException(CoreStrings.ArgumentIsEmpty(parameterName));
 107            }
 108
 0109                throw new ArgumentException(CoreStrings.ArgumentIsEmpty(parameterName));
 110            }
 0109            return value;
 0110        }
 111
 0112            return value;
 0113        }
 114
 115        public static IList<T> HasNoNulls<T>(IList<T> value, [InvokerParameterName] [NotNull] string parameterName)
 116            where T : class
 0117        {
 0118            NotNull(value, parameterName);
 119
 0120             if (value.Any(e => e == null))
 0121            {
 0122                NotEmpty(parameterName, nameof(parameterName));
 112        public static IList<T> HasNoNulls<T>(IList<T> value, [InvokerParameterName] [NotNull] string parameterName)
 113            where T : class
 15114        {
 15115            NotNull(value, parameterName);
 116
 32117             if (value.Any(e => e == null))
 0118            {
 0119                NotNullOrEmpty(parameterName, nameof(parameterName));
 120
 0121                throw new ArgumentException(parameterName);
 122            }
 123
 0124                throw new ArgumentException(parameterName);
 125            }
 15124            return value;
 15125        }
 126
 0127            return value;
 0128        }
 129
 130        public static Type ValidEntityType(Type value, [InvokerParameterName] [NotNull] string parameterName)
 0131        {
 0132             if (!value.GetTypeInfo().IsClass)
 0133            {
 0134                NotEmpty(parameterName, nameof(parameterName));
 127        public static Type ValidEntityType(Type value, [InvokerParameterName] [NotNull] string parameterName)
 0128        {
 0129             if (!value.GetTypeInfo().IsClass)
 0130            {
 0131                NotNullOrEmpty(parameterName, nameof(parameterName));
 132
 0133                throw new ArgumentException(CoreStrings.InvalidEntityType(value, parameterName));
 134            }
 135
 0136                throw new ArgumentException(CoreStrings.InvalidEntityType(value, parameterName));
 137            }
 138
 0139            return value;
 0140        }
 141    }
 142}
 0136            return value;
 0137        }
 138    }
 139}
-
+
diff --git a/report/WireMock.Net_ClientCertificateHelper.htm b/report/WireMock.Net_ClientCertificateHelper.htm new file mode 100644 index 00000000..db5cdf74 --- /dev/null +++ b/report/WireMock.Net_ClientCertificateHelper.htm @@ -0,0 +1,90 @@ + + + + + +WireMock.HttpsCertificate.ClientCertificateHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.HttpsCertificate.ClientCertificateHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\HttpsCertificate\ClientCertificateHelper.cs
Covered lines:0
Uncovered lines:17
Coverable lines:17
Total lines:41
Line coverage:0%
Branch coverage:0%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
GetCertificate(...)3400
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\HttpsCertificate\ClientCertificateHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Security.Cryptography.X509Certificates;
 3
 4namespace WireMock.HttpsCertificate
 5{
 6    internal static class ClientCertificateHelper
 7    {
 8        public static X509Certificate2 GetCertificate(string thumbprintOrSubjectName)
 09        {
 010            X509Store certStore = new X509Store(StoreName.My, StoreLocation.LocalMachine);
 11            try
 012            {
 13                //Certificate must be in the local machine store
 014                certStore.Open(OpenFlags.ReadOnly);
 15
 16                //Attempt to find by thumbprint first
 017                var matchingCertificates = certStore.Certificates.Find(X509FindType.FindByThumbprint, thumbprintOrSubjec
 018                 if (matchingCertificates.Count == 0)
 019                {
 20                    //Fallback to subject name
 021                    matchingCertificates = certStore.Certificates.Find(X509FindType.FindBySubjectName, thumbprintOrSubje
 022                     if (matchingCertificates.Count == 0)
 023                    {
 24                        // No certificates matched the search criteria.
 025                        throw new Exception($"No certificate found with Thumbprint or SubjectName '{thumbprintOrSubjectN
 26                    }
 027                }
 28                // Use the first matching certificate.
 029                return matchingCertificates[0];
 30            }
 31            finally
 032            {
 33#if NETSTANDARD || NET46
 34                certStore.Dispose();
 35#else
 036                certStore.Close();
 37#endif
 038            }
 039        }
 40    }
 41}
+
+
+
+

Methods/Properties

+GetCertificate(System.String)
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_ClientIPModel.htm b/report/WireMock.Net_ClientIPModel.htm new file mode 100644 index 00000000..9dd8a90b --- /dev/null +++ b/report/WireMock.Net_ClientIPModel.htm @@ -0,0 +1,68 @@ + + + + + +WireMock.Admin.Mappings.ClientIPModel - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Admin.Mappings.ClientIPModel
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ClientIPModel.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:24
Line coverage:0%
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ClientIPModel.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1namespace WireMock.Admin.Mappings
 2{
 3    /// <summary>
 4    /// ClientIPModel
 5    /// </summary>
 6    public class ClientIPModel
 7    {
 8        /// <summary>
 9        /// Gets or sets the matchers.
 10        /// </summary>
 11        /// <value>
 12        /// The matchers.
 13        /// </value>
 014        public MatcherModel[] Matchers { get; set; }
 15
 16        /// <summary>
 17        /// Gets or sets the functions.
 18        /// </summary>
 19        /// <value>
 20        /// The functions.
 21        /// </value>
 022        public string[] Funcs { get; set; }
 23    }
 24}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_ConcurentObservableCollection_1.htm b/report/WireMock.Net_ConcurentObservableCollection_1.htm new file mode 100644 index 00000000..35580844 --- /dev/null +++ b/report/WireMock.Net_ConcurentObservableCollection_1.htm @@ -0,0 +1,139 @@ + + + + + +WireMock.Util.ConcurentObservableCollection`1 - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Util.ConcurentObservableCollection`1
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\ConcurentObservableCollection.cs
Covered lines:20
Uncovered lines:14
Coverable lines:34
Total lines:77
Line coverage:58.8%
+

Metrics

+ + + + + + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100
.ctor(...)1000
.ctor(...)1000
ClearItems()20100100
RemoveItem(...)20100100
InsertItem(...)20100100
SetItem(...)2000
MoveItem(...)2000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\ConcurentObservableCollection.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections.Generic;
 2using System.Collections.ObjectModel;
 3
 4namespace WireMock.Util
 5{
 6    /// <summary>
 7    /// A special Collection that overrides methods of <see cref="ObservableCollection{T}"/> to make them thread safe
 8    /// </summary>
 9    /// <typeparam name="T">The type of elements in the collection.</typeparam>
 10    /// <inheritdoc cref="ObservableCollection{T}" />
 11    public class ConcurentObservableCollection<T> : ObservableCollection<T>
 12    {
 4713        private readonly object _lockObject = new object();
 14
 15        /// <summary>
 16        /// Initializes a new instance of the <see cref="T:WireMock.Util.ConcurentObservableCollection`1" /> class.
 17        /// </summary>
 14118        public ConcurentObservableCollection() { }
 19
 20        /// <summary>
 21        /// Initializes a new instance of the <see cref="ConcurentObservableCollection{T}"/> class that contains element
 22        /// </summary>
 23        /// <param name="list">The list from which the elements are copied.</param>
 024        public ConcurentObservableCollection(List<T> list) : base(list) { }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the <see cref="ConcurentObservableCollection{T}"/> class that contains element
 28        /// </summary>
 29        /// <param name="collection">The collection from which the elements are copied.</param>
 030        public ConcurentObservableCollection(IEnumerable<T> collection) : base(collection) { }
 31
 32        /// <inheritdoc cref="ObservableCollection{T}.ClearItems"/>
 33        protected override void ClearItems()
 134        {
 135            lock (_lockObject)
 136            {
 137                base.ClearItems();
 138            }
 139        }
 40
 41        /// <inheritdoc cref="ObservableCollection{T}.RemoveItem"/>
 42        protected override void RemoveItem(int index)
 143        {
 144            lock (_lockObject)
 145            {
 146                base.RemoveItem(index);
 147            }
 148        }
 49
 50        /// <inheritdoc cref="ObservableCollection{T}.InsertItem"/>
 51        protected override void InsertItem(int index, T item)
 5352        {
 5353            lock (_lockObject)
 5354            {
 5355                base.InsertItem(index, item);
 5356            }
 5357        }
 58
 59        /// <inheritdoc cref="ObservableCollection{T}.SetItem"/>
 60        protected override void SetItem(int index, T item)
 061        {
 062            lock (_lockObject)
 063            {
 064                base.SetItem(index, item);
 065            }
 066        }
 67
 68        /// <inheritdoc cref="ObservableCollection{T}.MoveItem"/>
 69        protected override void MoveItem(int oldIndex, int newIndex)
 070        {
 071            lock (_lockObject)
 072            {
 073                base.MoveItem(oldIndex, newIndex);
 074            }
 075        }
 76    }
 77}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_CookieModel.htm b/report/WireMock.Net_CookieModel.htm index aad18a24..fbd1baa3 100644 --- a/report/WireMock.Net_CookieModel.htm +++ b/report/WireMock.Net_CookieModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.CookieModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\CookieModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\CookieModel.cs Covered lines:0 Uncovered lines:3 Coverable lines:3 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\CookieModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\CookieModel.cs

@@ -64,7 +64,7 @@
#LineLine coverage
 34}
- +

Methods/Properties

diff --git a/report/WireMock.Net_CoreStrings.htm b/report/WireMock.Net_CoreStrings.htm index 50a97288..71293209 100644 --- a/report/WireMock.Net_CoreStrings.htm +++ b/report/WireMock.Net_CoreStrings.htm @@ -15,11 +15,11 @@ Class:WireMock.Validation.CoreStrings Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs Covered lines:0 Uncovered lines:12 Coverable lines:12 -Total lines:43 +Total lines:41 Line coverage:0% @@ -34,63 +34,61 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Globalization;
 3using JetBrains.Annotations;
 4
 5// copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin
 6namespace WireMock.Validation
 7{
 8    // [ExcludeFromCodeCoverage]
 9    internal static class CoreStrings
 10    {
 11        /// <summary>
 12        /// The property '{property}' of the argument '{argument}' cannot be null.
 13        /// </summary>
 14        public static string ArgumentPropertyNull([CanBeNull] string property, [CanBeNull] string argument)
 015        {
 016            return string.Format(CultureInfo.CurrentCulture, $"The property '{property}' of the argument '{argument}' ca
 017        }
 18
 19        /// <summary>
 20        /// The string argument '{argumentName}' cannot be empty.
 21        /// </summary>
 22        public static string ArgumentIsEmpty([CanBeNull] string argumentName)
 023        {
 024            return string.Format(CultureInfo.CurrentCulture, $"The string argument '{argumentName}' cannot be empty.", a
 025        }
 26
 27        /// <summary>
 28        /// The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.
 29        /// </summary>
 30        public static string InvalidEntityType([CanBeNull] Type type, [CanBeNull] string argumentName)
 031        {
 032            return string.Format(CultureInfo.CurrentCulture, $"The entity type '{type}' provided for the argument '{argu
 033        }
 34
 35        /// <summary>
 36        /// The collection argument '{argumentName}' must contain at least one element.
 37        /// </summary>
 38        public static string CollectionArgumentIsEmpty([CanBeNull] string argumentName)
 039        {
 040            return string.Format(CultureInfo.CurrentCulture, $"The collection argument '{argumentName}' must contain at 
 041        }
 42    }
 43}
 2
 3// copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin
 4namespace WireMock.Validation
 5{
 6    // [ExcludeFromCodeCoverage]
 7    internal static class CoreStrings
 8    {
 9        /// <summary>
 10        /// The property '{property}' of the argument '{argument}' cannot be null.
 11        /// </summary>
 12        public static string ArgumentPropertyNull(string property, string argument)
 013        {
 014            return $"The property '{property}' of the argument '{argument}' cannot be null.";
 015        }
 16
 17        /// <summary>
 18        /// The string argument '{argumentName}' cannot be empty.
 19        /// </summary>
 20        public static string ArgumentIsEmpty(string argumentName)
 021        {
 022            return $"The string argument '{argumentName}' cannot be empty.";
 023        }
 24
 25        /// <summary>
 26        /// The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.
 27        /// </summary>
 28        public static string InvalidEntityType(Type type, string argumentName)
 029        {
 030            return $"The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.";
 031        }
 32
 33        /// <summary>
 34        /// The collection argument '{argumentName}' must contain at least one element.
 35        /// </summary>
 36        public static string CollectionArgumentIsEmpty(string argumentName)
 037        {
 038            return $"The collection argument '{argumentName}' must contain at least one element.";
 039        }
 40    }
 41}
-
+
diff --git a/report/WireMock.Net_DictionaryExtensions.htm b/report/WireMock.Net_DictionaryExtensions.htm index a15f99bc..d03cb1ad 100644 --- a/report/WireMock.Net_DictionaryExtensions.htm +++ b/report/WireMock.Net_DictionaryExtensions.htm @@ -3,7 +3,7 @@ -WireMock.Extensions.DictionaryExtensions - Coverage Report +WireMock.Util.DictionaryExtensions - Coverage Report

Summary

@@ -13,99 +13,69 @@ -Class:WireMock.Extensions.DictionaryExtensions +Class:WireMock.Util.DictionaryExtensions Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Extensions\DictionaryExtensions.cs -Covered lines:0 -Uncovered lines:34 -Coverable lines:34 -Total lines:63 -Line coverage:0% -Branch coverage:0% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\DictionaryExtensions.cs +Covered lines:10 +Uncovered lines:0 +Coverable lines:10 +Total lines:33 +Line coverage:100% +Branch coverage:100%

Metrics

- +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
ToExpandoObject(...)11800
Loop(...)42100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Extensions\DictionaryExtensions.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\DictionaryExtensions.cs

- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections;
 1using System;
 2using System.Collections.Generic;
 3using System.Dynamic;
 4
 5namespace WireMock.Extensions
 6{
 7    /// <summary>
 8    /// Dictionary Extensions
 9    /// </summary>
 10    public static class DictionaryExtensions
 11    {
 12        /// <summary>
 13        /// Converts IDictionary to an ExpandObject.
 14        /// </summary>
 15        /// <typeparam name="T"></typeparam>
 16        /// <param name="dictionary">The dictionary.</param>
 17        /// <returns></returns>
 18        public static dynamic ToExpandoObject<T>(this IDictionary<string, T> dictionary)
 019        {
 020            dynamic expando = new ExpandoObject();
 021            var expandoDic = (IDictionary<string, object>)expando;
 22
 23            // go through the items in the dictionary and copy over the key value pairs)
 024            foreach (var kvp in dictionary)
 025            {
 26                // if the value can also be turned into an ExpandoObject, then do it!
 027                var value = kvp.Value as IDictionary<string, object>;
 028                 if (value != null)
 029                {
 030                    var expandoValue = value.ToExpandoObject();
 031                    expandoDic.Add(kvp.Key, expandoValue);
 032                }
 033                 else if (kvp.Value is ICollection)
 034                {
 35                    // iterate through the collection and convert any strin-object dictionaries
 36                    // along the way into expando objects
 037                    var itemList = new List<object>();
 038                    foreach (var item in (ICollection)kvp.Value)
 039                    {
 040                        var objects = item as IDictionary<string, object>;
 041                         if (objects != null)
 042                        {
 043                            var expandoItem = objects.ToExpandoObject();
 044                            itemList.Add(expandoItem);
 045                        }
 46                        else
 047                        {
 048                            itemList.Add(item);
 049                        }
 050                    }
 51
 052                    expandoDic.Add(kvp.Key, itemList);
 053                }
 54                else
 055                {
 056                    expandoDic.Add(kvp.Key, kvp.Value);
 057                }
 058            }
 59
 060            return expando;
 061        }
 62    }
 63}
 3using JetBrains.Annotations;
 4using WireMock.Validation;
 5
 6namespace WireMock.Util
 7{
 8    /// <summary>
 9    /// Some IDictionary Extensions
 10    /// </summary>
 11    public static class DictionaryExtensions
 12    {
 13        /// <summary>
 14        /// Loops the dictionary and executes the specified action.
 15        /// </summary>
 16        /// <typeparam name="TKey">The type of the key.</typeparam>
 17        /// <typeparam name="TValue">The type of the value.</typeparam>
 18        /// <param name="dictionary">The dictionary to loop (can be null).</param>
 19        /// <param name="action">The action.</param>
 20        public static void Loop<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, [NotNull] Action<TKey, TValue> 
 621        {
 622            Check.NotNull(action, nameof(action));
 23
 624             if (dictionary != null)
 225            {
 3226                foreach (var entry in dictionary)
 1327                {
 1328                    action(entry.Key, entry.Value);
 1329                }
 230            }
 631        }
 32    }
 33}
-
+
diff --git a/report/WireMock.Net_DynamicAsyncResponseProvider.htm b/report/WireMock.Net_DynamicAsyncResponseProvider.htm new file mode 100644 index 00000000..0dd8aaba --- /dev/null +++ b/report/WireMock.Net_DynamicAsyncResponseProvider.htm @@ -0,0 +1,74 @@ + + + + + +WireMock.ResponseProviders.DynamicAsyncResponseProvider - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.ResponseProviders.DynamicAsyncResponseProvider
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\DynamicAsyncResponseProvider.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:24
Line coverage:0%
+

Metrics

+ + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)1000
ProvideResponseAsync(...)1000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\DynamicAsyncResponseProvider.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Threading.Tasks;
 3using JetBrains.Annotations;
 4using WireMock.Validation;
 5
 6namespace WireMock.ResponseProviders
 7{
 8    internal class DynamicAsyncResponseProvider : IResponseProvider
 9    {
 10        private readonly Func<RequestMessage, Task<ResponseMessage>> _responseMessageFunc;
 11
 012        public DynamicAsyncResponseProvider([NotNull] Func<RequestMessage, Task<ResponseMessage>> responseMessageFunc)
 013        {
 014            Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));
 15
 016            _responseMessageFunc = responseMessageFunc;
 017        }
 18
 19        public Task<ResponseMessage> ProvideResponseAsync(RequestMessage requestMessage)
 020        {
 021            return _responseMessageFunc(requestMessage);
 022        }
 23    }
 24}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_DynamicResponseProvider.htm b/report/WireMock.Net_DynamicResponseProvider.htm index 50117393..5fb7f627 100644 --- a/report/WireMock.Net_DynamicResponseProvider.htm +++ b/report/WireMock.Net_DynamicResponseProvider.htm @@ -3,7 +3,7 @@ -WireMock.DynamicResponseProvider - Coverage Report +WireMock.ResponseProviders.DynamicResponseProvider - Coverage Report

Summary

@@ -13,26 +13,26 @@ -Class:WireMock.DynamicResponseProvider +Class:WireMock.ResponseProviders.DynamicResponseProvider Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\DynamicResponseProvider.cs -Covered lines:0 -Uncovered lines:8 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\DynamicResponseProvider.cs +Covered lines:8 +Uncovered lines:0 Coverable lines:8 Total lines:24 -Line coverage:0% +Line coverage:100%

Metrics

- - + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)1000
ProvideResponse(...)1000
.ctor(...)10100100
ProvideResponseAsync(...)10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\DynamicResponseProvider.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\DynamicResponseProvider.cs

@@ -41,33 +41,33 @@ - + - - - + + + - - + + - - - - + + + +
#LineLine coverage
 3using JetBrains.Annotations;
 4using WireMock.Validation;
 5
 6namespace WireMock
 6namespace WireMock.ResponseProviders
 7{
 8    internal class DynamicResponseProvider : IResponseProvider
 9    {
 10        private readonly Func<RequestMessage, ResponseMessage> _responseMessageFunc;
 11
 012        public DynamicResponseProvider([NotNull] Func<RequestMessage, ResponseMessage> responseMessageFunc)
 013        {
 014            Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));
 5712        public DynamicResponseProvider([NotNull] Func<RequestMessage, ResponseMessage> responseMessageFunc)
 5713        {
 5714            Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));
 15
 016            _responseMessageFunc = responseMessageFunc;
 017        }
 5716            _responseMessageFunc = responseMessageFunc;
 5717        }
 18
 19        public Task<ResponseMessage> ProvideResponse(RequestMessage requestMessage)
 020        {
 021            return Task.FromResult(_responseMessageFunc(requestMessage));
 022        }
 19        public Task<ResponseMessage> ProvideResponseAsync(RequestMessage requestMessage)
 320        {
 321            return Task.FromResult(_responseMessageFunc(requestMessage));
 322        }
 23    }
 24}
-
+
diff --git a/report/WireMock.Net_EncodingModel.htm b/report/WireMock.Net_EncodingModel.htm index 7e9cb274..60e9cae6 100644 --- a/report/WireMock.Net_EncodingModel.htm +++ b/report/WireMock.Net_EncodingModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.EncodingModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\EncodingModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\EncodingModel.cs Covered lines:3 Uncovered lines:0 Coverable lines:3 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\EncodingModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\EncodingModel.cs

@@ -38,22 +38,22 @@ - + - + - +
#LineLine coverage
 8        /// <summary>
 9        /// Encoding CodePage
 10        /// </summary>
 811        public int CodePage { get; set; }
 1511        public int CodePage { get; set; }
 12
 13        /// <summary>
 14        /// Encoding EncodingName
 15        /// </summary>
 416        public string EncodingName { get; set; }
 1116        public string EncodingName { get; set; }
 17
 18        /// <summary>
 19        /// Encoding WebName
 20        /// </summary>
 421        public string WebName { get; set; }
 1121        public string WebName { get; set; }
 22    }
 23}
- +

Methods/Properties

diff --git a/report/WireMock.Net_EnhancedFileSystemWatcher.htm b/report/WireMock.Net_EnhancedFileSystemWatcher.htm new file mode 100644 index 00000000..bca9d5a0 --- /dev/null +++ b/report/WireMock.Net_EnhancedFileSystemWatcher.htm @@ -0,0 +1,344 @@ + + + + + +WireMock.Util.EnhancedFileSystemWatcher - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Util.EnhancedFileSystemWatcher
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\EnhancedFileSystemWatcher.cs
Covered lines:0
Uncovered lines:90
Coverable lines:90
Total lines:265
Line coverage:0%
Branch coverage:0%
+

Metrics

+ + + + + + + + + + + + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)2000
.ctor(...)2000
.ctor(...)2000
OnChanged(...)2200
OnCreated(...)2200
OnDeleted(...)2200
OnRenamed(...)2200
InitializeMembers(...)1000
HasAnotherFileEventOccuredRecently(...)3400
OnChanged(...)2200
OnCreated(...)2200
OnDeleted(...)2200
OnRenamed(...)2200
Dispose()1000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\EnhancedFileSystemWatcher.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Concurrent;
 3using System.IO;
 4using JetBrains.Annotations;
 5using WireMock.Validation;
 6
 7namespace WireMock.Util
 8{
 9    /// <summary>
 10    /// An EnhancedFileSystemWatcher, which can be used to suppress duplicate events that fire on a single change to the
 11    /// </summary>
 12    /// <seealso cref="System.IO.FileSystemWatcher" />
 13    /// <seealso cref="System.IDisposable" />
 14    public class EnhancedFileSystemWatcher : FileSystemWatcher, IDisposable
 15    {
 16        #region Private Members
 17        // Default Watch Interval in Milliseconds
 18        private const int DefaultWatchInterval = 100;
 19
 20        // This Dictionary keeps the track of when an event occured last for a particular file
 21        private ConcurrentDictionary<string, DateTime> _lastFileEvent;
 22
 23        // Watch Interval in Milliseconds
 24        private int _interval;
 25
 26        // Timespan created when interval is set
 27        private TimeSpan _recentTimeSpan;
 28        #endregion
 29
 30        #region Public Properties
 31        /// <summary>
 32        /// Interval, in milliseconds, within which events are considered "recent".
 33        /// </summary>
 34        [PublicAPI]
 35        public int Interval
 36        {
 037            get => _interval;
 38            set
 039            {
 040                _interval = value;
 41
 42                // Set timespan based on the value passed
 043                _recentTimeSpan = new TimeSpan(0, 0, 0, 0, value);
 044            }
 45        }
 46
 47        /// <summary>
 48        /// Allows user to set whether to filter recent events.
 49        /// If this is set a false, this class behaves like System.IO.FileSystemWatcher class.
 50        /// </summary>
 51        [PublicAPI]
 052        public bool FilterRecentEvents { get; set; }
 53        #endregion
 54
 55        #region Constructors
 56        /// <summary>
 57        /// Initializes a new instance of the <see cref="EnhancedFileSystemWatcher"/> class.
 58        /// </summary>
 59        /// <param name="interval">The interval.</param>
 060        public EnhancedFileSystemWatcher(int interval = DefaultWatchInterval)
 061        {
 062            Check.Condition(interval, i => i >= 0, nameof(interval));
 63
 064            InitializeMembers(interval);
 065        }
 66
 67        /// <summary>
 68        /// Initializes a new instance of the <see cref="EnhancedFileSystemWatcher"/> class.
 69        /// </summary>
 70        /// <param name="path">The directory to monitor, in standard or Universal Naming Convention (UNC) notation.</par
 71        /// <param name="interval">The interval.</param>
 072        public EnhancedFileSystemWatcher([NotNull] string path, int interval = DefaultWatchInterval) : base(path)
 073        {
 074            Check.NotNullOrEmpty(path, nameof(path));
 075            Check.Condition(interval, i => i >= 0, nameof(interval));
 76
 077            InitializeMembers(interval);
 078        }
 79
 80        /// <summary>
 81        /// Initializes a new instance of the <see cref="EnhancedFileSystemWatcher"/> class.
 82        /// </summary>
 83        /// <param name="path">The directory to monitor, in standard or Universal Naming Convention (UNC) notation.</par
 84        /// <param name="filter">The type of files to watch. For example, "*.txt" watches for changes to all text files.
 85        /// <param name="interval">The interval.</param>
 086        public EnhancedFileSystemWatcher([NotNull] string path, [NotNull] string filter, int interval = DefaultWatchInte
 087        {
 088            Check.NotNullOrEmpty(path, nameof(path));
 089            Check.NotNullOrEmpty(filter, nameof(filter));
 090            Check.Condition(interval, i => i >= 0, nameof(interval));
 91
 092            InitializeMembers(interval);
 093        }
 94        #endregion
 95
 96        #region Events
 97        // These events hide the events from the base class.
 98        // We want to raise these events appropriately and we do not want the
 99        // users of this class subscribing to these events of the base class accidentally
 100
 101        /// <summary>
 102        /// Occurs when a file or directory in the specified <see cref="P:System.IO.FileSystemWatcher.Path" /> is change
 103        /// </summary>
 104        public new event FileSystemEventHandler Changed;
 105
 106        /// <summary>
 107        /// Occurs when a file or directory in the specified <see cref="P:System.IO.FileSystemWatcher.Path" /> is create
 108        /// </summary>
 109        public new event FileSystemEventHandler Created;
 110
 111        /// <summary>
 112        /// Occurs when a file or directory in the specified <see cref="P:System.IO.FileSystemWatcher.Path" /> is delete
 113        /// </summary>
 114        public new event FileSystemEventHandler Deleted;
 115
 116        /// <summary>
 117        /// Occurs when a file or directory in the specified <see cref="P:System.IO.FileSystemWatcher.Path" /> is rename
 118        /// </summary>
 119        public new event RenamedEventHandler Renamed;
 120        #endregion
 121
 122        #region Protected Methods to raise the Events for this class
 123        /// <summary>
 124        /// Raises the <see cref="E:System.IO.FileSystemWatcher.Changed" /> event.
 125        /// </summary>
 126        /// <param name="e">A <see cref="T:System.IO.FileSystemEventArgs" /> that contains the event data.</param>
 127        protected new virtual void OnChanged(FileSystemEventArgs e)
 0128        {
 0129             Changed?.Invoke(this, e);
 0130        }
 131
 132        /// <summary>
 133        /// Raises the <see cref="E:System.IO.FileSystemWatcher.Created" /> event.
 134        /// </summary>
 135        /// <param name="e">A <see cref="T:System.IO.FileSystemEventArgs" /> that contains the event data.</param>
 136        protected new virtual void OnCreated(FileSystemEventArgs e)
 0137        {
 0138             Created?.Invoke(this, e);
 0139        }
 140
 141        /// <summary>
 142        /// Raises the <see cref="E:System.IO.FileSystemWatcher.Deleted" /> event.
 143        /// </summary>
 144        /// <param name="e">A <see cref="T:System.IO.FileSystemEventArgs" /> that contains the event data.</param>
 145        protected new virtual void OnDeleted(FileSystemEventArgs e)
 0146        {
 0147             Deleted?.Invoke(this, e);
 0148        }
 149
 150        /// <summary>
 151        /// Raises the <see cref="E:System.IO.FileSystemWatcher.Renamed" /> event.
 152        /// </summary>
 153        /// <param name="e">A <see cref="T:System.IO.RenamedEventArgs" /> that contains the event data.</param>
 154        protected new virtual void OnRenamed(RenamedEventArgs e)
 0155        {
 0156             Renamed?.Invoke(this, e);
 0157        }
 158        #endregion
 159
 160        #region Private Methods
 161        /// <summary>
 162        /// This Method Initializes the private members.
 163        /// Interval is set to its default value of 100 millisecond.
 164        /// FilterRecentEvents is set to true, _lastFileEvent dictionary is initialized.
 165        /// We subscribe to the base class events.
 166        /// </summary>
 167        private void InitializeMembers(int interval = 100)
 0168        {
 0169            Interval = interval;
 0170            FilterRecentEvents = true;
 0171            _lastFileEvent = new ConcurrentDictionary<string, DateTime>();
 172
 0173            base.Created += OnCreated;
 0174            base.Changed += OnChanged;
 0175            base.Deleted += OnDeleted;
 0176            base.Renamed += OnRenamed;
 0177        }
 178
 179        /// <summary>
 180        /// This method searches the dictionary to find out when the last event occured
 181        /// for a particular file. If that event occured within the specified timespan
 182        /// it returns true, else false
 183        /// </summary>
 184        /// <param name="fileName">The filename to be checked</param>
 185        /// <returns>True if an event has occured within the specified interval, False otherwise</returns>
 186        private bool HasAnotherFileEventOccuredRecently(string fileName)
 0187        {
 188            // Check dictionary only if user wants to filter recent events otherwise return value stays false.
 0189             if (!FilterRecentEvents)
 0190            {
 0191                return false;
 192            }
 193
 0194            bool retVal = false;
 0195             if (_lastFileEvent.ContainsKey(fileName))
 0196            {
 197                // If dictionary contains the filename, check how much time has elapsed
 198                // since the last event occured. If the timespan is less that the
 199                // specified interval, set return value to true
 200                // and store current datetime in dictionary for this file
 0201                DateTime lastEventTime = _lastFileEvent[fileName];
 0202                DateTime currentTime = DateTime.Now;
 0203                TimeSpan timeSinceLastEvent = currentTime - lastEventTime;
 0204                retVal = timeSinceLastEvent < _recentTimeSpan;
 0205                _lastFileEvent[fileName] = currentTime;
 0206            }
 207            else
 0208            {
 209                // If dictionary does not contain the filename,
 210                // no event has occured in past for this file, so set return value to false
 211                // and append filename along with current datetime to the dictionary
 0212                _lastFileEvent.TryAdd(fileName, DateTime.Now);
 0213            }
 214
 0215            return retVal;
 0216        }
 217
 218        #region FileSystemWatcher EventHandlers
 219        // Base class Event Handlers. Check if an event has occured recently and call method
 220        // to raise appropriate event only if no recent event is detected
 221        private void OnChanged(object sender, FileSystemEventArgs e)
 0222        {
 0223             if (!HasAnotherFileEventOccuredRecently(e.FullPath))
 0224            {
 0225                OnChanged(e);
 0226            }
 0227        }
 228
 229        private void OnCreated(object sender, FileSystemEventArgs e)
 0230        {
 0231             if (!HasAnotherFileEventOccuredRecently(e.FullPath))
 0232            {
 0233                OnCreated(e);
 0234            }
 0235        }
 236
 237        private void OnDeleted(object sender, FileSystemEventArgs e)
 0238        {
 0239             if (!HasAnotherFileEventOccuredRecently(e.FullPath))
 0240            {
 0241                OnDeleted(e);
 0242            }
 0243        }
 244
 245        private void OnRenamed(object sender, RenamedEventArgs e)
 0246        {
 0247             if (!HasAnotherFileEventOccuredRecently(e.OldFullPath))
 0248            {
 0249                OnRenamed(e);
 0250            }
 0251        }
 252        #endregion
 253        #endregion
 254
 255        #region IDisposable Members
 256        /// <summary>
 257        /// Releases all resources used by the <see cref="T:System.ComponentModel.Component" />.
 258        /// </summary>
 259        public new void Dispose()
 0260        {
 0261            base.Dispose();
 0262        }
 263        #endregion
 264    }
 265}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_ExactMatcher.htm b/report/WireMock.Net_ExactMatcher.htm index 8c300293..f7a62409 100644 --- a/report/WireMock.Net_ExactMatcher.htm +++ b/report/WireMock.Net_ExactMatcher.htm @@ -15,12 +15,12 @@ Class:WireMock.Matchers.ExactMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\ExactMatcher.cs -Covered lines:8 -Uncovered lines:6 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\ExactMatcher.cs +Covered lines:14 +Uncovered lines:0 Coverable lines:14 -Total lines:54 -Line coverage:57.1% +Total lines:44 +Line coverage:100%

Metrics

@@ -29,12 +29,12 @@ .ctor(...)10100100 IsMatch(...)10100100 -GetPatterns()1000 -GetName()1000 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\ExactMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\ExactMatcher.cs

@@ -47,8 +47,8 @@ - - + + @@ -56,52 +56,42 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 7    /// <summary>
 8    /// ExactMatcher
 9    /// </summary>
 10    /// <seealso cref="IMatcher" />
 11    public class ExactMatcher : IMatcher
 10    /// <seealso cref="IStringMatcher" />
 11    public class ExactMatcher : IStringMatcher
 12    {
 13        private readonly string[] _values;
 14
 16        /// Initializes a new instance of the <see cref="ExactMatcher"/> class.
 17        /// </summary>
 18        /// <param name="values">The values.</param>
 719        public ExactMatcher([NotNull] params string[] values)
 720        {
 721            Check.NotNull(values, nameof(values));
 1519        public ExactMatcher([NotNull] params string[] values)
 1520        {
 1521            Check.HasNoNulls(values, nameof(values));
 22
 723            _values = values;
 724        }
 1523            _values = values;
 1524        }
 25
 26        /// <summary>
 27        /// Determines whether the specified input is match.
 28        /// </summary>
 29        /// <param name="input">The input.</param>
 30        /// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
 31        public double IsMatch(string input)
 332        {
 733            return MatchScores.ToScore(_values.Select(value => value.Equals(input)));
 334        }
 35
 36        /// <summary>
 37        /// Gets the value.
 38        /// </summary>
 39        /// <returns>Patterns</returns>
 40        public string[] GetPatterns()
 041        {
 042            return _values;
 043        }
 44
 45        /// <summary>
 46        /// Gets the name.
 47        /// </summary>
 48        /// <returns>Name</returns>
 49        public string GetName()
 050        {
 051            return "ExactMatcher";
 052        }
 53    }
 54}
 26        /// <inheritdoc cref="IStringMatcher.IsMatch"/>
 27        public double IsMatch(string input)
 528        {
 1629            return MatchScores.ToScore(_values.Select(value => value.Equals(input)));
 530        }
 31
 32        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 33        public string[] GetPatterns()
 334        {
 335            return _values;
 336        }
 37
 38        /// <inheritdoc cref="IMatcher.GetName"/>
 39        public string GetName()
 140        {
 141            return "ExactMatcher";
 142        }
 43    }
 44}
-
+
diff --git a/report/WireMock.Net_ExactObjectMatcher.htm b/report/WireMock.Net_ExactObjectMatcher.htm new file mode 100644 index 00000000..dc480810 --- /dev/null +++ b/report/WireMock.Net_ExactObjectMatcher.htm @@ -0,0 +1,100 @@ + + + + + +WireMock.Matchers.ExactObjectMatcher - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Matchers.ExactObjectMatcher
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\ExactObjectMatcher.cs
Covered lines:15
Uncovered lines:0
Coverable lines:15
Total lines:46
Line coverage:100%
+

Metrics

+ + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
.ctor(...)10100100
IsMatch(...)20100100
GetName()10100100
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\ExactObjectMatcher.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Linq;
 2using JetBrains.Annotations;
 3
 4namespace WireMock.Matchers
 5{
 6    /// <summary>
 7    /// ExactMatcher
 8    /// </summary>
 9    /// <seealso cref="IObjectMatcher" />
 10    public class ExactObjectMatcher : IObjectMatcher
 11    {
 12        private readonly object _object;
 13        private readonly byte[] _bytes;
 14
 15        /// <summary>
 16        /// Initializes a new instance of the <see cref="ExactMatcher"/> class.
 17        /// </summary>
 18        /// <param name="value">The value.</param>
 219        public ExactObjectMatcher([NotNull] object value)
 220        {
 221            _object = value;
 222        }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the <see cref="ExactMatcher"/> class.
 26        /// </summary>
 27        /// <param name="value">The value.</param>
 128        public ExactObjectMatcher([NotNull] byte[] value)
 129        {
 130            _bytes = value;
 131        }
 32
 33        /// <inheritdoc cref="IObjectMatcher.IsMatch"/>
 34        public double IsMatch(object input)
 235        {
 236            bool equals = _object != null ? Equals(_object, input) : _bytes.SequenceEqual((byte[])input);
 237            return MatchScores.ToScore(equals);
 238        }
 39
 40        /// <inheritdoc cref="IMatcher.GetName"/>
 41        public string GetName()
 142        {
 143            return "ExactObjectMatcher";
 144        }
 45    }
 46}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_FileHelper.htm b/report/WireMock.Net_FileHelper.htm new file mode 100644 index 00000000..4427287a --- /dev/null +++ b/report/WireMock.Net_FileHelper.htm @@ -0,0 +1,78 @@ + + + + + +WireMock.Util.FileHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Util.FileHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\FileHelper.cs
Covered lines:6
Uncovered lines:6
Coverable lines:12
Total lines:29
Line coverage:50%
Branch coverage:50%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
ReadAllText(...)225066.67
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\FileHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.IO;
 2using System.Threading;
 3
 4namespace WireMock.Util
 5{
 6    internal static class FileHelper
 7    {
 8        private const int NumberOfRetries = 3;
 9        private const int DelayOnRetry = 500;
 10
 11        public static string ReadAllText(string path)
 412        {
 813             for (int i = 1; i <= NumberOfRetries; ++i)
 414            {
 15                try
 416                {
 417                    return File.ReadAllText(path);
 18                }
 019                catch
 020                {
 21                    // You may check error code to filter some exceptions, not every error can be recovered.
 022                    Thread.Sleep(DelayOnRetry);
 023                }
 024            }
 25
 026            throw new IOException();
 427        }
 28    }
 29}
+
+
+
+

Methods/Properties

+ReadAllText(System.String)
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_FluentMockServer.htm b/report/WireMock.Net_FluentMockServer.htm index a88d195b..a1d95bc1 100644 --- a/report/WireMock.Net_FluentMockServer.htm +++ b/report/WireMock.Net_FluentMockServer.htm @@ -15,75 +15,83 @@ Class:WireMock.Server.FluentMockServer Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.Admin.cs
C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.cs -Covered lines:200 -Uncovered lines:423 -Coverable lines:623 -Total lines:1180 -Line coverage:32.1% -Branch coverage:29.2% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.Admin.cs
C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.cs
C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.LogEntries.cs +Covered lines:393 +Uncovered lines:328 +Coverable lines:721 +Total lines:1265 +Line coverage:54.5% +Branch coverage:49.4%

Metrics

- - - - - + + + + + + + + - + - + + - - + + - - + + - - - - - - - - - - - - + + + + + + + + - - + + - + - - + + - - - - - - + + + + + + + + + - + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
ReadStaticMappings(...)6484.6260
ReadStaticMapping(...)22100100
InitAdmin()1000
SettingsGet(...)3000
SettingsUpdate(...)3400
InitAdmin()10100100
ReadStaticMappings(...)6470.5960
WatchStaticMappings(...)3400
ReadStaticMappingAndAddOrUpdate(...)22100100
InitProxyAndRecord(...)10100100
ToMapping(...)2210066.67
SettingsGet(...)5000
SettingsUpdate(...)4400
MappingGet(...)2200
MappingPut(...)4800
MappingPut(...)2000
MappingDelete(...)2200
MappingsSave(...)6200
MappingsSave(...)4000
SaveMappingToFile(...)3200
SanitizeFileName(...)1000
MappingsGet(...)4000
MappingsPost(...)1000
DeserializeAndAddMapping(...)106410069.23
MappingsPost(...)2046.67100
DeserializeAndAddOrUpdateMapping(...)1225685.7176.47
MappingsDelete(...)1000
RequestGet(...)2200
RequestDelete(...)2200
RequestsGet(...)2000
ToLogEntryModel(...)7800
RequestsGet(...)20100100
ToLogEntryModel(...)8810057.14
RequestsDelete(...)1000
RequestsFind(...)7200
InitRequestBuilder(...)271638439.6844.83
InitResponseBuilder(...)1251238.7136.84
ToMappingModel(...)416553600
Map(...)4200
Map(...)6800
Map(...)4200
Map(...)3200
Map(...)15102452.6347.62
ToJson(...)1000
ToEncoding(...)3210066.67
.ctor(...)1551277.7857.89
RequestsFind(...)8210066.67
ScenariosGet(...)2000
ScenariosReset(...)1000
InitRequestBuilder(...)3226214437.548.65
InitResponseBuilder(...)18409644.2644
ToJson(...)10100100
ToEncoding(...)32100100
.ctor(...)2713107272.2262.86
.cctor()10100100
FindLogEntries(...)82100100
Start(...)1000
ProxyAndRecordAsync()6886.6771.43
Start(...)10100100
Start(...)10100100
Start(...)10100100
StartWithAdminInterface(...)1000
StartWithAdminInterface(...)10100100
StartWithAdminInterface(...)1000
StartWithAdminInterfaceAndReadStaticMappings(...)1000
AddCatchAllMapping()2000
Stop()2210066.67
Dispose()3200
AddCatchAllMapping()2000
Dispose()3210066.67
Reset()1000
ResetLogEntries()20100100
DeleteLogEntry(...)3200
ResetMappings()30100100
DeleteMapping(...)32100100
AddGlobalProcessingDelay(...)20100100
AllowPartialMapping()2000
ResetMappings()40100100
DeleteMapping(...)2200
DeleteMapping(...)1000
AddGlobalProcessingDelay(...)10100100
AllowPartialMapping(...)1000
SetBasicAuthentication(...)1000
RemoveBasicAuthentication()1000
SetMaxRequestLogCount(...)10100100
SetRequestLogExpirationDuration(...)1000
ResetScenarios()1000
Given(...)10100100
RegisterMapping(...)20100100
RegisterMapping(...)22100100
add_LogEntriesChanged(...)10100100
remove_LogEntriesChanged(...)1000
FindLogEntries(...)72100100
ResetLogEntries()10100100
DeleteLogEntry(...)2200

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.Admin.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.Admin.cs

@@ -91,1250 +99,1351 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 2using System.Collections.Generic;
 3using System.IO;
 4using System.Linq;
 5using System.Text;
 6using JetBrains.Annotations;
 7using Newtonsoft.Json;
 8using SimMetrics.Net;
 9using WireMock.Admin.Mappings;
 10using WireMock.Admin.Requests;
 11using WireMock.Admin.Settings;
 12using WireMock.Logging;
 13using WireMock.Matchers;
 14using WireMock.Matchers.Request;
 15using WireMock.RequestBuilders;
 16using WireMock.ResponseBuilders;
 17using WireMock.Util;
 18using WireMock.Validation;
 19
 20namespace WireMock.Server
 21{
 22    /// <summary>
 23    /// The fluent mock server.
 24    /// </summary>
 25    public partial class FluentMockServer
 26    {
 127        private static readonly string AdminMappingsFolder = Path.Combine("__admin", "mappings");
 28        private const string AdminMappings = "/__admin/mappings";
 29        private const string AdminRequests = "/__admin/requests";
 30        private const string AdminSettings = "/__admin/settings";
 1831        private readonly RegexMatcher _adminMappingsGuidPathMatcher = new RegexMatcher(@"^\/__admin\/mappings\/(\{{0,1}(
 1832        private readonly RegexMatcher _adminRequestsGuidPathMatcher = new RegexMatcher(@"^\/__admin\/requests\/(\{{0,1}(
 33
 1834        private readonly JsonSerializerSettings _settings = new JsonSerializerSettings
 1835        {
 1836            Formatting = Formatting.Indented,
 1837            NullValueHandling = NullValueHandling.Ignore,
 1838        };
 39
 40        /// <summary>
 41        /// Reads the static mappings from a folder.
 42        /// </summary>
 43        /// <param name="folder">The optional folder. If not defined, use \__admin\mappings\</param>
 44        [PublicAPI]
 45        public void ReadStaticMappings([CanBeNull] string folder = null)
 146        {
 147             if (folder == null)
 048                folder = Path.Combine(Directory.GetCurrentDirectory(), AdminMappingsFolder);
 49
 150             if (!Directory.Exists(folder))
 051                return;
 52
 953            foreach (string filename in Directory.EnumerateFiles(folder).OrderBy(f => f))
 254            {
 255                ReadStaticMapping(filename);
 256            }
 157        }
 58
 59        /// <summary>
 60        /// Reads the static mapping.
 61        /// </summary>
 62        /// <param name="filename">The filename.</param>
 63        [PublicAPI]
 64        public void ReadStaticMapping([NotNull] string filename)
 465        {
 466            Check.NotNull(filename, nameof(filename));
 67
 468            string filenameWithoutExtension = Path.GetFileNameWithoutExtension(filename);
 69            Guid guidFromFilename;
 70
 471             if (Guid.TryParse(filenameWithoutExtension, out guidFromFilename))
 272            {
 273                DeserializeAndAddMapping(File.ReadAllText(filename), guidFromFilename);
 274            }
 75            else
 276            {
 277                DeserializeAndAddMapping(File.ReadAllText(filename));
 278            }
 479        }
 80
 81        private void InitAdmin()
 082        {
 83            // __admin/settings
 084            Given(Request.Create().WithPath(AdminSettings).UsingGet()).RespondWith(new DynamicResponseProvider(SettingsG
 085            Given(Request.Create().WithPath(AdminSettings).UsingVerb("PUT", "POST")).RespondWith(new DynamicResponseProv
 5using System.Net.Http;
 6using System.Text;
 7using System.Threading.Tasks;
 8using JetBrains.Annotations;
 9using Newtonsoft.Json;
 10using Newtonsoft.Json.Linq;
 11using WireMock.Admin.Mappings;
 12using WireMock.Admin.Requests;
 13using WireMock.Admin.Settings;
 14using WireMock.Http;
 15using WireMock.Logging;
 16using WireMock.Matchers;
 17using WireMock.Matchers.Request;
 18using WireMock.RequestBuilders;
 19using WireMock.ResponseBuilders;
 20using WireMock.ResponseProviders;
 21using WireMock.Serialization;
 22using WireMock.Settings;
 23using WireMock.Util;
 24using WireMock.Validation;
 25
 26namespace WireMock.Server
 27{
 28    /// <summary>
 29    /// The fluent mock server.
 30    /// </summary>
 31    public partial class FluentMockServer
 32    {
 133        private static readonly string AdminMappingsFolder = Path.Combine("__admin", "mappings");
 34        private const string ContentTypeJson = "application/json";
 35        private const string AdminMappings = "/__admin/mappings";
 36        private const string AdminRequests = "/__admin/requests";
 37        private const string AdminSettings = "/__admin/settings";
 38        private const string AdminScenarios = "/__admin/scenarios";
 4739        private readonly RegexMatcher _adminMappingsGuidPathMatcher = new RegexMatcher(@"^\/__admin\/mappings\/(\{{0,1}(
 4740        private readonly RegexMatcher _adminRequestsGuidPathMatcher = new RegexMatcher(@"^\/__admin\/requests\/(\{{0,1}(
 41
 4742        private readonly JsonSerializerSettings _settings = new JsonSerializerSettings
 4743        {
 4744            Formatting = Formatting.Indented,
 4745            NullValueHandling = NullValueHandling.Ignore,
 4746        };
 47
 48        #region InitAdmin
 49        private void InitAdmin()
 350        {
 51            // __admin/settings
 352            Given(Request.Create().WithPath(AdminSettings).UsingGet()).RespondWith(new DynamicResponseProvider(SettingsG
 353            Given(Request.Create().WithPath(AdminSettings).UsingVerb("PUT", "POST").WithHeader(HttpKnownHeaderNames.Cont
 54
 55
 56            // __admin/mappings
 357            Given(Request.Create().WithPath(AdminMappings).UsingGet()).RespondWith(new DynamicResponseProvider(MappingsG
 358            Given(Request.Create().WithPath(AdminMappings).UsingPost().WithHeader(HttpKnownHeaderNames.ContentType, Cont
 359            Given(Request.Create().WithPath(AdminMappings).UsingDelete()).RespondWith(new DynamicResponseProvider(Mappin
 60
 61            // __admin/mappings/reset
 362            Given(Request.Create().WithPath(AdminMappings + "/reset").UsingPost()).RespondWith(new DynamicResponseProvid
 63
 64            // __admin/mappings/{guid}
 365            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingGet()).RespondWith(new DynamicResponsePr
 366            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingPut().WithHeader(HttpKnownHeaderNames.Co
 367            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingDelete()).RespondWith(new DynamicRespons
 68
 69            // __admin/mappings/save
 370            Given(Request.Create().WithPath(AdminMappings + "/save").UsingPost()).RespondWith(new DynamicResponseProvide
 71
 72
 73            // __admin/requests
 374            Given(Request.Create().WithPath(AdminRequests).UsingGet()).RespondWith(new DynamicResponseProvider(RequestsG
 375            Given(Request.Create().WithPath(AdminRequests).UsingDelete()).RespondWith(new DynamicResponseProvider(Reques
 76
 77            // __admin/requests/reset
 378            Given(Request.Create().WithPath(AdminRequests + "/reset").UsingPost()).RespondWith(new DynamicResponseProvid
 79
 80            // __admin/request/{guid}
 381            Given(Request.Create().WithPath(_adminRequestsGuidPathMatcher).UsingGet()).RespondWith(new DynamicResponsePr
 382            Given(Request.Create().WithPath(_adminRequestsGuidPathMatcher).UsingDelete()).RespondWith(new DynamicRespons
 83
 84            // __admin/requests/find
 385            Given(Request.Create().WithPath(AdminRequests + "/find").UsingPost()).RespondWith(new DynamicResponseProvide
 86
 87
 88            // __admin/mappings
 089            Given(Request.Create().WithPath(AdminMappings).UsingGet()).RespondWith(new DynamicResponseProvider(MappingsG
 090            Given(Request.Create().WithPath(AdminMappings).UsingPost()).RespondWith(new DynamicResponseProvider(Mappings
 091            Given(Request.Create().WithPath(AdminMappings).UsingDelete()).RespondWith(new DynamicResponseProvider(Mappin
 92
 93            // __admin/mappings/reset
 094            Given(Request.Create().WithPath(AdminMappings + "/reset").UsingPost()).RespondWith(new DynamicResponseProvid
 95
 96            // __admin/mappings/{guid}
 097            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingGet()).RespondWith(new DynamicResponsePr
 098            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingPut().WithHeader("Content-Type", "applic
 099            Given(Request.Create().WithPath(_adminMappingsGuidPathMatcher).UsingDelete()).RespondWith(new DynamicRespons
 100
 101            // __admin/mappings/save
 0102            Given(Request.Create().WithPath(AdminMappings + "/save").UsingPost()).RespondWith(new DynamicResponseProvide
 103
 104
 105            // __admin/requests
 0106            Given(Request.Create().WithPath(AdminRequests).UsingGet()).RespondWith(new DynamicResponseProvider(RequestsG
 0107            Given(Request.Create().WithPath(AdminRequests).UsingDelete()).RespondWith(new DynamicResponseProvider(Reques
 108
 109            // __admin/requests/reset
 0110            Given(Request.Create().WithPath(AdminRequests + "/reset").UsingPost()).RespondWith(new DynamicResponseProvid
 111
 112            // __admin/request/{guid}
 0113            Given(Request.Create().WithPath(_adminRequestsGuidPathMatcher).UsingGet()).RespondWith(new DynamicResponsePr
 0114            Given(Request.Create().WithPath(_adminRequestsGuidPathMatcher).UsingDelete()).RespondWith(new DynamicRespons
 115
 116            // __admin/requests/find
 0117            Given(Request.Create().WithPath(AdminRequests + "/find").UsingPost()).RespondWith(new DynamicResponseProvide
 0118        }
 119
 120        #region Settings
 121        private ResponseMessage SettingsGet(RequestMessage requestMessage)
 0122        {
 0123            var model = new SettingsModel
 0124            {
 0125                AllowPartialMapping = _options.AllowPartialMapping,
 0126                GlobalProcessingDelay = _options.RequestProcessingDelay?.Milliseconds
 0127            };
 128
 0129            return ToJson(model);
 0130        }
 131
 132        private ResponseMessage SettingsUpdate(RequestMessage requestMessage)
 0133        {
 0134            var settings = JsonConvert.DeserializeObject<SettingsModel>(requestMessage.Body);
 135
 0136             if (settings.AllowPartialMapping != null)
 0137                _options.AllowPartialMapping = settings.AllowPartialMapping.Value;
 88            // __admin/scenarios
 389            Given(Request.Create().WithPath(AdminScenarios).UsingGet()).RespondWith(new DynamicResponseProvider(Scenario
 390            Given(Request.Create().WithPath(AdminScenarios).UsingDelete()).RespondWith(new DynamicResponseProvider(Scena
 91
 92            // __admin/scenarios/reset
 393            Given(Request.Create().WithPath(AdminScenarios + "/reset").UsingPost()).RespondWith(new DynamicResponseProvi
 394        }
 95        #endregion
 96
 97        #region StaticMappings
 98        /// <summary>
 99        /// Reads the static mappings from a folder.
 100        /// </summary>
 101        /// <param name="folder">The optional folder. If not defined, use \__admin\mappings\</param>
 102        [PublicAPI]
 103        public void ReadStaticMappings([CanBeNull] string folder = null)
 1104        {
 1105             if (folder == null)
 0106            {
 0107                folder = Path.Combine(Directory.GetCurrentDirectory(), AdminMappingsFolder);
 0108            }
 109
 1110             if (!Directory.Exists(folder))
 0111            {
 0112                return;
 113            }
 114
 9115            foreach (string filename in Directory.EnumerateFiles(folder).OrderBy(f => f))
 2116            {
 2117                _logger.Info("Reading Static MappingFile : '{0}'", filename);
 2118                ReadStaticMappingAndAddOrUpdate(filename);
 2119            }
 1120        }
 121
 122        /// <summary>
 123        /// Watches the static mappings for changes.
 124        /// </summary>
 125        /// <param name="folder">The optional folder. If not defined, use \__admin\mappings\</param>
 126        [PublicAPI]
 127        public void WatchStaticMappings([CanBeNull] string folder = null)
 0128        {
 0129             if (folder == null)
 0130            {
 0131                folder = Path.Combine(Directory.GetCurrentDirectory(), AdminMappingsFolder);
 0132            }
 133
 0134             if (!Directory.Exists(folder))
 0135            {
 0136                return;
 137            }
 138
 0139             if (settings.GlobalProcessingDelay != null)
 0140                _options.RequestProcessingDelay = TimeSpan.FromMilliseconds(settings.GlobalProcessingDelay.Value);
 141
 0142            return new ResponseMessage { Body = "Settings updated" };
 0143        }
 144        #endregion Settings
 145
 146        #region Mapping/{guid}
 147        private ResponseMessage MappingGet(RequestMessage requestMessage)
 0148        {
 0149            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminMappings.Length + 1));
 0150            var mapping = Mappings.FirstOrDefault(m => !m.IsAdminInterface && m.Guid == guid);
 151
 0152             if (mapping == null)
 0153                return new ResponseMessage { StatusCode = 404, Body = "Mapping not found" };
 154
 0155            var model = ToMappingModel(mapping);
 156
 0157            return ToJson(model);
 0158        }
 159
 160        private ResponseMessage MappingPut(RequestMessage requestMessage)
 0161        {
 0162            Guid guid = Guid.Parse(requestMessage.Path.TrimStart(AdminMappings.ToCharArray()));
 0163            var mappingModel = JsonConvert.DeserializeObject<MappingModel>(requestMessage.Body);
 164
 0165             if (mappingModel.Request == null)
 0166                return new ResponseMessage { StatusCode = 400, Body = "Request missing" };
 167
 0168             if (mappingModel.Response == null)
 0169                return new ResponseMessage { StatusCode = 400, Body = "Response missing" };
 170
 0171            var requestBuilder = InitRequestBuilder(mappingModel.Request);
 0172            var responseBuilder = InitResponseBuilder(mappingModel.Response);
 173
 0174            IRespondWithAProvider respondProvider = Given(requestBuilder).WithGuid(guid);
 175
 0176             if (!string.IsNullOrEmpty(mappingModel.Title))
 0177                respondProvider = respondProvider.WithTitle(mappingModel.Title);
 0139            _logger.Info("Watching folder '{0}' for new, updated and deleted MappingFiles.", folder);
 140
 0141            var watcher = new EnhancedFileSystemWatcher(folder, "*.json", 1000);
 0142            watcher.Created += (sender, args) =>
 0143            {
 0144                _logger.Info("New MappingFile created : '{0}'", args.FullPath);
 0145                ReadStaticMappingAndAddOrUpdate(args.FullPath);
 0146            };
 0147            watcher.Changed += (sender, args) =>
 0148            {
 0149                _logger.Info("New MappingFile updated : '{0}'", args.FullPath);
 0150                ReadStaticMappingAndAddOrUpdate(args.FullPath);
 0151            };
 0152            watcher.Deleted += (sender, args) =>
 0153            {
 0154                _logger.Info("New MappingFile deleted : '{0}'", args.FullPath);
 0155                string filenameWithoutExtension = Path.GetFileNameWithoutExtension(args.FullPath);
 0156
 0157                 if (Guid.TryParse(filenameWithoutExtension, out Guid guidFromFilename))
 0158                {
 0159                    DeleteMapping(guidFromFilename);
 0160                }
 0161                else
 0162                {
 0163                    DeleteMapping(args.FullPath);
 0164                }
 0165            };
 166
 0167            watcher.EnableRaisingEvents = true;
 0168        }
 169
 170        /// <summary>
 171        /// Reads a static mapping file and adds or updates the mapping.
 172        /// </summary>
 173        /// <param name="path">The path.</param>
 174        [PublicAPI]
 175        public void ReadStaticMappingAndAddOrUpdate([NotNull] string path)
 4176        {
 4177            Check.NotNull(path, nameof(path));
 178
 0179            respondProvider.RespondWith(responseBuilder);
 4179            string filenameWithoutExtension = Path.GetFileNameWithoutExtension(path);
 180
 0181            return new ResponseMessage { Body = "Mapping added or updated" };
 0182        }
 183
 184        private ResponseMessage MappingDelete(RequestMessage requestMessage)
 0185        {
 0186            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminMappings.Length + 1));
 187
 0188             if (DeleteMapping(guid))
 0189                return new ResponseMessage { Body = "Mapping removed" };
 190
 0191            return new ResponseMessage { Body = "Mapping not found" };
 0192        }
 193        #endregion Mapping/{guid}
 194
 195        #region Mappings
 196        private ResponseMessage MappingsSave(RequestMessage requestMessage)
 0197        {
 0198            string folder = Path.Combine(Directory.GetCurrentDirectory(), AdminMappingsFolder);
 0199             if (!Directory.Exists(folder))
 0200                Directory.CreateDirectory(folder);
 4181            MappingModel mappingModel = JsonConvert.DeserializeObject<MappingModel>(FileHelper.ReadAllText(path));
 4182             if (Guid.TryParse(filenameWithoutExtension, out Guid guidFromFilename))
 2183            {
 2184                DeserializeAndAddOrUpdateMapping(mappingModel, guidFromFilename, path);
 2185            }
 186            else
 2187            {
 2188                DeserializeAndAddOrUpdateMapping(mappingModel, null, path);
 2189            }
 4190        }
 191        #endregion
 192
 193        #region Proxy and Record
 194        private HttpClient _httpClientForProxy;
 195
 196        private void InitProxyAndRecord(IProxyAndRecordSettings settings)
 2197        {
 2198            _httpClientForProxy = HttpClientHelper.CreateHttpClient(settings.ClientX509Certificate2ThumbprintOrSubjectNa
 2199            Given(Request.Create().WithPath("/*").UsingAnyVerb()).RespondWith(new ProxyAsyncResponseProvider(ProxyAndRec
 2200        }
 201
 0202            foreach (var mapping in Mappings.Where(m => !m.IsAdminInterface))
 0203            {
 0204                var model = ToMappingModel(mapping);
 0205                string json = JsonConvert.SerializeObject(model, _settings);
 0206                string filename = !string.IsNullOrEmpty(mapping.Title) ? SanitizeFileName(mapping.Title) : mapping.Guid.
 202        private async Task<ResponseMessage> ProxyAndRecordAsync(RequestMessage requestMessage, IProxyAndRecordSettings s
 2203        {
 2204            var requestUri = new Uri(requestMessage.Url);
 2205            var proxyUri = new Uri(settings.Url);
 2206            var proxyUriWithRequestPathAndQuery = new Uri(proxyUri, requestUri.PathAndQuery);
 207
 0208                File.WriteAllText(Path.Combine(folder, filename + ".json"), json);
 0209            }
 210
 0211            return new ResponseMessage { Body = "Mappings saved to disk" };
 0212        }
 213
 214        private static string SanitizeFileName(string name, char replaceChar = '_')
 0215        {
 0216            return Path.GetInvalidFileNameChars().Aggregate(name, (current, c) => current.Replace(c, replaceChar));
 0217        }
 218
 219        private ResponseMessage MappingsGet(RequestMessage requestMessage)
 0220        {
 0221            var result = new List<MappingModel>();
 0222            foreach (var mapping in Mappings.Where(m => !m.IsAdminInterface))
 0223            {
 0224                var model = ToMappingModel(mapping);
 0225                result.Add(model);
 0226            }
 227
 0228            return ToJson(result);
 0229        }
 230
 231        private ResponseMessage MappingsPost(RequestMessage requestMessage)
 0232        {
 233            try
 0234            {
 0235                DeserializeAndAddMapping(requestMessage.Body);
 0236            }
 0237            catch (ArgumentException a)
 0238            {
 0239                return new ResponseMessage { StatusCode = 400, Body = a.Message };
 240            }
 0241            catch (Exception e)
 0242            {
 0243                return new ResponseMessage { StatusCode = 500, Body = e.ToString() };
 244            }
 245
 0246            return new ResponseMessage { StatusCode = 201, Body = "Mapping added" };
 0247        }
 2208            var responseMessage = await HttpClientHelper.SendAsync(_httpClientForProxy, requestMessage, proxyUriWithRequ
 209
 2210             if (settings.SaveMapping)
 2211            {
 2212                 var mapping = ToMapping(requestMessage, responseMessage, settings.BlackListedHeaders ?? new string[] { }
 2213                _options.Mappings.Add(mapping.Guid, mapping);
 214
 2215                 if (settings.SaveMappingToFile)
 0216                {
 0217                    SaveMappingToFile(mapping);
 0218                }
 2219            }
 220
 2221            return responseMessage;
 2222        }
 223
 224        private Mapping ToMapping(RequestMessage requestMessage, ResponseMessage responseMessage, string[] blacklistedHe
 2225        {
 2226            var request = Request.Create();
 2227            request.WithPath(requestMessage.Path);
 2228            request.UsingVerb(requestMessage.Method);
 229
 2230            requestMessage.Query.Loop((key, value) => request.WithParam(key, value.ToArray()));
 2231            requestMessage.Cookies.Loop((key, value) => request.WithCookie(key, value));
 232
 2233            var allBlackListedHeaders = new List<string>(blacklistedHeaders) { "Cookie" };
 2234            requestMessage.Headers.Loop((key, value) =>
 15235            {
 34236                 if (!allBlackListedHeaders.Any(b => string.Equals(key, b, StringComparison.OrdinalIgnoreCase)))
 14237                {
 14238                    request.WithHeader(key, value.ToArray());
 14239                }
 15240            });
 241
 2242             if (requestMessage.Body != null)
 2243            {
 2244                request.WithBody(new ExactMatcher(requestMessage.Body));
 2245            }
 246
 2247            var response = Response.Create(responseMessage);
 248
 249        private void DeserializeAndAddMapping(string json, Guid? guid = null)
 4250        {
 4251            var mappingModel = JsonConvert.DeserializeObject<MappingModel>(json);
 2249            return new Mapping(Guid.NewGuid(), string.Empty, null, request, response, 0, null, null, null);
 2250        }
 251        #endregion
 252
 4253            Check.NotNull(mappingModel, nameof(mappingModel));
 4254            Check.NotNull(mappingModel.Request, nameof(mappingModel.Request));
 4255            Check.NotNull(mappingModel.Response, nameof(mappingModel.Response));
 256
 4257            var requestBuilder = InitRequestBuilder(mappingModel.Request);
 4258            var responseBuilder = InitResponseBuilder(mappingModel.Response);
 259
 4260            IRespondWithAProvider respondProvider = Given(requestBuilder);
 261
 4262             if (guid != null)
 2263            {
 2264                respondProvider = respondProvider.WithGuid(guid.Value);
 2265            }
 2266             else if (mappingModel.Guid != null && mappingModel.Guid != Guid.Empty)
 2267            {
 2268                respondProvider = respondProvider.WithGuid(mappingModel.Guid.Value);
 2269            }
 253        #region Settings
 254        private ResponseMessage SettingsGet(RequestMessage requestMessage)
 0255        {
 0256            var model = new SettingsModel
 0257            {
 0258                AllowPartialMapping = _options.AllowPartialMapping,
 0259                MaxRequestLogCount = _options.MaxRequestLogCount,
 0260                RequestLogExpirationDuration = _options.RequestLogExpirationDuration,
 0261                GlobalProcessingDelay = (int?)_options.RequestProcessingDelay?.TotalMilliseconds
 0262            };
 263
 0264            return ToJson(model);
 0265        }
 266
 267        private ResponseMessage SettingsUpdate(RequestMessage requestMessage)
 0268        {
 0269            var settings = requestMessage.Body != null ? JsonConvert.DeserializeObject<SettingsModel>(requestMessage.Bod
 270
 4271             if (!string.IsNullOrEmpty(mappingModel.Title))
 2272                respondProvider = respondProvider.WithTitle(mappingModel.Title);
 0271             if (settings.AllowPartialMapping != null)
 0272                _options.AllowPartialMapping = settings.AllowPartialMapping.Value;
 273
 4274             if (mappingModel.Priority != null)
 4275                respondProvider = respondProvider.AtPriority(mappingModel.Priority.Value);
 276
 4277            respondProvider.RespondWith(responseBuilder);
 4278        }
 279
 280        private ResponseMessage MappingsDelete(RequestMessage requestMessage)
 0281        {
 0282            ResetMappings();
 283
 0284            return new ResponseMessage { Body = "Mappings deleted" };
 0285        }
 286        #endregion Mappings
 287
 288        #region Request/{guid}
 289        private ResponseMessage RequestGet(RequestMessage requestMessage)
 0290        {
 0291            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminRequests.Length + 1));
 0292            var entry = LogEntries.FirstOrDefault(r => !r.RequestMessage.Path.StartsWith("/__admin/") && r.Guid == guid)
 293
 0294             if (entry == null)
 0295                return new ResponseMessage { StatusCode = 404, Body = "Request not found" };
 0274            _options.MaxRequestLogCount = settings.MaxRequestLogCount;
 275
 0276            _options.RequestLogExpirationDuration = settings.RequestLogExpirationDuration;
 277
 0278             if (settings.GlobalProcessingDelay != null)
 0279                _options.RequestProcessingDelay = TimeSpan.FromMilliseconds(settings.GlobalProcessingDelay.Value);
 280
 0281            return new ResponseMessage { Body = "Settings updated" };
 0282        }
 283        #endregion Settings
 284
 285        #region Mapping/{guid}
 286        private ResponseMessage MappingGet(RequestMessage requestMessage)
 0287        {
 0288            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminMappings.Length + 1));
 0289            var mapping = Mappings.FirstOrDefault(m => !m.IsAdminInterface && m.Guid == guid);
 290
 0291             if (mapping == null)
 0292            {
 0293                _logger.Warn("HttpStatusCode set to 404 : Mapping not found");
 0294                return new ResponseMessage { StatusCode = 404, Body = "Mapping not found" };
 295            }
 296
 0297            var model = ToLogEntryModel(entry);
 0297            var model = MappingConverter.ToMappingModel(mapping);
 298
 0299            return ToJson(model);
 0300        }
 301
 302        private ResponseMessage RequestDelete(RequestMessage requestMessage)
 302        private ResponseMessage MappingPut(RequestMessage requestMessage)
 0303        {
 0304            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminRequests.Length + 1));
 0304            Guid guid = Guid.Parse(requestMessage.Path.TrimStart(AdminMappings.ToCharArray()));
 305
 0306             if (DeleteLogEntry(guid))
 0307                return new ResponseMessage { Body = "Request removed" };
 0306            MappingModel mappingModel = requestMessage.Body != null ? JsonConvert.DeserializeObject<MappingModel>(reques
 0307            DeserializeAndAddOrUpdateMapping(mappingModel, guid);
 308
 0309            return new ResponseMessage { Body = "Request not found" };
 0309            return new ResponseMessage { Body = "Mapping added or updated" };
 0310        }
 311        #endregion Request/{guid}
 312
 313        #region Requests
 314        private ResponseMessage RequestsGet(RequestMessage requestMessage)
 0315        {
 0316            var result = LogEntries
 0317                .Where(r => !r.RequestMessage.Path.StartsWith("/__admin/"))
 0318                .Select(ToLogEntryModel);
 319
 0320            return ToJson(result);
 0321        }
 322
 323        private LogEntryModel ToLogEntryModel(LogEntry logEntry)
 0324        {
 0325             return new LogEntryModel
 0326            {
 0327                Guid = logEntry.Guid,
 0328                Request = new LogRequestModel
 0329                {
 0330                    DateTime = logEntry.RequestMessage.DateTime,
 0331                    Path = logEntry.RequestMessage.Path,
 0332                    AbsoluteUrl = logEntry.RequestMessage.Url,
 0333                    Query = logEntry.RequestMessage.Query,
 0334                    Method = logEntry.RequestMessage.Method,
 0335                    Body = logEntry.RequestMessage.Body,
 0336                    Headers = logEntry.RequestMessage.Headers,
 0337                    Cookies = logEntry.RequestMessage.Cookies,
 0338                    BodyEncoding = logEntry.RequestMessage.BodyEncoding != null ? new EncodingModel
 0339                    {
 0340                        EncodingName = logEntry.RequestMessage.BodyEncoding.EncodingName,
 0341                        CodePage = logEntry.RequestMessage.BodyEncoding.CodePage,
 0342                        WebName = logEntry.RequestMessage.BodyEncoding.WebName
 0343                    } : null
 0344                },
 0345                Response = new LogResponseModel
 0346                {
 0347                    StatusCode = logEntry.ResponseMessage.StatusCode,
 0348                    Body = logEntry.ResponseMessage.Body,
 0349                    BodyOriginal = logEntry.ResponseMessage.BodyOriginal,
 0350                    Headers = logEntry.ResponseMessage.Headers,
 0351                    BodyEncoding = logEntry.ResponseMessage.BodyEncoding != null ? new EncodingModel
 0352                    {
 0353                        EncodingName = logEntry.ResponseMessage.BodyEncoding.EncodingName,
 0354                        CodePage = logEntry.ResponseMessage.BodyEncoding.CodePage,
 0355                        WebName = logEntry.ResponseMessage.BodyEncoding.WebName
 0356                    } : null
 0357                },
 0358                MappingGuid = logEntry.MappingGuid,
 0359                MappingTitle = logEntry.MappingTitle,
 0360                RequestMatchResult = logEntry.RequestMatchResult != null ? new LogRequestMatchModel
 0361                {
 0362                    TotalScore = logEntry.RequestMatchResult.TotalScore,
 0363                    TotalNumber = logEntry.RequestMatchResult.TotalNumber,
 0364                    IsPerfectMatch = logEntry.RequestMatchResult.IsPerfectMatch,
 0365                    AverageTotalScore = logEntry.RequestMatchResult.AverageTotalScore
 0366                } : null
 0367            };
 311
 312        private ResponseMessage MappingDelete(RequestMessage requestMessage)
 0313        {
 0314            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminMappings.Length + 1));
 315
 0316             if (DeleteMapping(guid))
 0317            {
 0318                return new ResponseMessage { Body = "Mapping removed" };
 319            }
 320
 0321            return new ResponseMessage { Body = "Mapping not found" };
 0322        }
 323        #endregion Mapping/{guid}
 324
 325        #region Mappings
 326        private ResponseMessage MappingsSave(RequestMessage requestMessage)
 0327        {
 0328            foreach (var mapping in Mappings.Where(m => !m.IsAdminInterface))
 0329            {
 0330                SaveMappingToFile(mapping);
 0331            }
 332
 0333            return new ResponseMessage { Body = "Mappings saved to disk" };
 0334        }
 335
 336        private void SaveMappingToFile(Mapping mapping)
 0337        {
 0338            string folder = Path.Combine(Directory.GetCurrentDirectory(), AdminMappingsFolder);
 0339             if (!Directory.Exists(folder))
 0340            {
 0341                Directory.CreateDirectory(folder);
 0342            }
 343
 0344            var model = MappingConverter.ToMappingModel(mapping);
 0345            string filename = !string.IsNullOrEmpty(mapping.Title) ? SanitizeFileName(mapping.Title) : mapping.Guid.ToSt
 346
 0347            string filePath = Path.Combine(folder, filename + ".json");
 0348            _logger.Info("Saving Mapping to file {0}", filePath);
 349
 0350            File.WriteAllText(filePath, JsonConvert.SerializeObject(model, _settings));
 0351        }
 352
 353        private static string SanitizeFileName(string name, char replaceChar = '_')
 0354        {
 0355            return Path.GetInvalidFileNameChars().Aggregate(name, (current, c) => current.Replace(c, replaceChar));
 0356        }
 357
 358        private ResponseMessage MappingsGet(RequestMessage requestMessage)
 0359        {
 0360            var result = new List<MappingModel>();
 0361            foreach (var mapping in Mappings.Where(m => !m.IsAdminInterface))
 0362            {
 0363                var model = MappingConverter.ToMappingModel(mapping);
 0364                result.Add(model);
 0365            }
 366
 0367            return ToJson(result);
 0368        }
 369
 370        private ResponseMessage RequestsDelete(RequestMessage requestMessage)
 0371        {
 0372            ResetLogEntries();
 373
 0374            return new ResponseMessage { Body = "Requests deleted" };
 0375        }
 376        #endregion Requests
 377
 378        #region Requests/find
 379        private ResponseMessage RequestsFind(RequestMessage requestMessage)
 0380        {
 0381            var requestModel = JsonConvert.DeserializeObject<RequestModel>(requestMessage.Body);
 382
 0383            var request = (Request)InitRequestBuilder(requestModel);
 384
 0385            var dict = new Dictionary<LogEntry, RequestMatchResult>();
 0386            foreach (var logEntry in LogEntries.Where(le => !le.RequestMessage.Path.StartsWith("/__admin/")))
 0387            {
 0388                var requestMatchResult = new RequestMatchResult();
 0389                 if (request.GetMatchingScore(logEntry.RequestMessage, requestMatchResult) > 0.99)
 0390                    dict.Add(logEntry, requestMatchResult);
 0391            }
 392
 0393            var result = dict.OrderBy(x => x.Value.AverageTotalScore).Select(x => x.Key);
 394
 0395            return ToJson(result);
 0396        }
 397        #endregion Requests/find
 398
 399        private IRequestBuilder InitRequestBuilder(RequestModel requestModel)
 4400        {
 4401            IRequestBuilder requestBuilder = Request.Create();
 402
 4403             if (requestModel.Path != null)
 4404            {
 4405                string path = requestModel.Path as string;
 4406                 if (path != null)
 0407                    requestBuilder = requestBuilder.WithPath(path);
 408                else
 4409                {
 4410                    var pathModel = JsonUtils.ParseJTokenToObject<PathModel>(requestModel.Path);
 4411                     if (pathModel?.Matchers != null)
 4412                        requestBuilder = requestBuilder.WithPath(pathModel.Matchers.Select(Map).ToArray());
 4413                }
 370        private ResponseMessage MappingsPost(RequestMessage requestMessage)
 1371        {
 372            try
 1373            {
 1374                MappingModel mappingModel = requestMessage.Body != null ? JsonConvert.DeserializeObject<MappingModel>(re
 1375                DeserializeAndAddOrUpdateMapping(mappingModel);
 1376            }
 0377            catch (ArgumentException a)
 0378            {
 0379                _logger.Error("HttpStatusCode set to 400 {0}", a);
 0380                return new ResponseMessage { StatusCode = 400, Body = a.Message };
 381            }
 0382            catch (Exception e)
 0383            {
 0384                _logger.Error("HttpStatusCode set to 500 {0}", e);
 0385                return new ResponseMessage { StatusCode = 500, Body = e.ToString() };
 386            }
 387
 1388            return new ResponseMessage { StatusCode = 201, Body = "Mapping added" };
 1389        }
 390
 391        private void DeserializeAndAddOrUpdateMapping(MappingModel mappingModel, Guid? guid = null, string path = null)
 5392        {
 5393            Check.NotNull(mappingModel, nameof(mappingModel));
 5394            Check.NotNull(mappingModel.Request, nameof(mappingModel.Request));
 5395            Check.NotNull(mappingModel.Response, nameof(mappingModel.Response));
 396
 5397            var requestBuilder = InitRequestBuilder(mappingModel.Request);
 5398            var responseBuilder = InitResponseBuilder(mappingModel.Response);
 399
 5400            IRespondWithAProvider respondProvider = Given(requestBuilder);
 401
 5402             if (guid != null)
 2403            {
 2404                respondProvider = respondProvider.WithGuid(guid.Value);
 2405            }
 3406             else if (mappingModel.Guid != null && mappingModel.Guid != Guid.Empty)
 2407            {
 2408                respondProvider = respondProvider.WithGuid(mappingModel.Guid.Value);
 2409            }
 410
 5411             if (path != null)
 4412            {
 4413                respondProvider = respondProvider.WithPath(path);
 4414            }
 415
 4416             if (requestModel.Url != null)
 0417            {
 0418                string url = requestModel.Url as string;
 0419                 if (url != null)
 0420                    requestBuilder = requestBuilder.WithUrl(url);
 421                else
 0422                {
 0423                    var urlModel = JsonUtils.ParseJTokenToObject<UrlModel>(requestModel.Url);
 0424                     if (urlModel?.Matchers != null)
 0425                        requestBuilder = requestBuilder.WithUrl(urlModel.Matchers.Select(Map).ToArray());
 0426                }
 0427            }
 428
 4429             if (requestModel.Methods != null)
 4430                requestBuilder = requestBuilder.UsingVerb(requestModel.Methods);
 431
 4432             if (requestModel.Headers != null)
 0433            {
 0434                foreach (var headerModel in requestModel.Headers.Where(h => h.Matchers != null))
 0435                {
 0436                    requestBuilder = requestBuilder.WithHeader(headerModel.Name, headerModel.Matchers.Select(Map).ToArra
 0437                }
 0438            }
 5416             if (!string.IsNullOrEmpty(mappingModel.Title))
 3417            {
 3418                respondProvider = respondProvider.WithTitle(mappingModel.Title);
 3419            }
 420
 5421             if (mappingModel.Priority != null)
 5422            {
 5423                respondProvider = respondProvider.AtPriority(mappingModel.Priority.Value);
 5424            }
 425
 5426             if (mappingModel.Scenario != null)
 0427            {
 0428                respondProvider = respondProvider.InScenario(mappingModel.Scenario);
 0429                respondProvider = respondProvider.WhenStateIs(mappingModel.WhenStateIs);
 0430                respondProvider = respondProvider.WillSetStateTo(mappingModel.SetStateTo);
 0431            }
 432
 5433            respondProvider.RespondWith(responseBuilder);
 5434        }
 435
 436        private ResponseMessage MappingsDelete(RequestMessage requestMessage)
 0437        {
 0438            ResetMappings();
 439
 4440             if (requestModel.Cookies != null)
 0441            {
 0442                foreach (var cookieModel in requestModel.Cookies.Where(c => c.Matchers != null))
 0443                {
 0444                    requestBuilder = requestBuilder.WithCookie(cookieModel.Name, cookieModel.Matchers.Select(Map).ToArra
 0445                }
 0446            }
 447
 4448             if (requestModel.Params != null)
 0449            {
 0450                foreach (var paramModel in requestModel.Params.Where(p => p.Values != null))
 0451                {
 0452                    requestBuilder = requestBuilder.WithParam(paramModel.Name, paramModel.Values.ToArray());
 0453                }
 0454            }
 455
 4456             if (requestModel.Body?.Matcher != null)
 2457            {
 2458                var bodyMatcher = Map(requestModel.Body.Matcher);
 2459                requestBuilder = requestBuilder.WithBody(bodyMatcher);
 2460            }
 461
 4462            return requestBuilder;
 4463        }
 464
 465        private IResponseBuilder InitResponseBuilder(ResponseModel responseModel)
 4466        {
 4467            IResponseBuilder responseBuilder = Response.Create();
 468
 4469             if (responseModel.StatusCode.HasValue)
 4470                responseBuilder = responseBuilder.WithStatusCode(responseModel.StatusCode.Value);
 471
 4472             if (responseModel.Headers != null)
 4473                responseBuilder = responseBuilder.WithHeaders(responseModel.Headers);
 0474             else if (responseModel.HeadersRaw != null)
 0475            {
 0476                foreach (string headerLine in responseModel.HeadersRaw.Split(new[] { "\n", "\r\n" }, StringSplitOptions.
 0477                {
 0478                    int indexColon = headerLine.IndexOf(":", StringComparison.Ordinal);
 0479                    string key = headerLine.Substring(0, indexColon).TrimStart(' ', '\t');
 0480                    string value = headerLine.Substring(indexColon + 1).TrimStart(' ', '\t');
 0481                    responseBuilder = responseBuilder.WithHeader(key, value);
 0482                }
 0483            }
 484
 4485             if (responseModel.Body != null)
 4486                responseBuilder = responseBuilder.WithBody(responseModel.Body, ToEncoding(responseModel.BodyEncoding));
 0487             else if (responseModel.BodyAsJson != null)
 0488                responseBuilder = responseBuilder.WithBodyAsJson(responseModel.BodyAsJson, ToEncoding(responseModel.Body
 0489             else if (responseModel.BodyAsBase64 != null)
 0490                responseBuilder = responseBuilder.WithBodyAsBase64(responseModel.BodyAsBase64, ToEncoding(responseModel.
 491
 4492             if (responseModel.UseTransformer)
 0493                responseBuilder = responseBuilder.WithTransformer();
 494
 4495             if (responseModel.Delay > 0)
 0496                responseBuilder = responseBuilder.WithDelay(responseModel.Delay.Value);
 497
 4498            return responseBuilder;
 4499        }
 500
 501        private MappingModel ToMappingModel(Mapping mapping)
 0502        {
 0503            var request = (Request)mapping.RequestMatcher;
 0504            var response = (Response)mapping.Provider;
 505
 0506            var pathMatchers = request.GetRequestMessageMatchers<RequestMessagePathMatcher>();
 0507            var urlMatchers = request.GetRequestMessageMatchers<RequestMessageUrlMatcher>();
 0508            var headerMatchers = request.GetRequestMessageMatchers<RequestMessageHeaderMatcher>();
 0509            var cookieMatchers = request.GetRequestMessageMatchers<RequestMessageCookieMatcher>();
 0510            var paramsMatchers = request.GetRequestMessageMatchers<RequestMessageParamMatcher>();
 0511            var bodyMatcher = request.GetRequestMessageMatcher<RequestMessageBodyMatcher>();
 0512            var methodMatcher = request.GetRequestMessageMatcher<RequestMessageMethodMatcher>();
 513
 0514             return new MappingModel
 0515            {
 0516                Guid = mapping.Guid,
 0517                Title = mapping.Title,
 0518                Priority = mapping.Priority,
 0519                Request = new RequestModel
 0520                {
 0521                    Path = pathMatchers != null && pathMatchers.Any() ? new PathModel
 0522                    {
 0523                        Matchers = Map(pathMatchers.Where(m => m.Matchers != null).SelectMany(m => m.Matchers)),
 0524                        Funcs = Map(pathMatchers.Where(m => m.Funcs != null).SelectMany(m => m.Funcs))
 0525                    } : null,
 0526
 0527                    Url = urlMatchers != null && urlMatchers.Any() ? new UrlModel
 0528                    {
 0529                        Matchers = Map(urlMatchers.Where(m => m.Matchers != null).SelectMany(m => m.Matchers)),
 0530                        Funcs = Map(urlMatchers.Where(m => m.Funcs != null).SelectMany(m => m.Funcs))
 0531                    } : null,
 0532
 0533                    Methods = methodMatcher?.Methods,
 0534
 0535                    Headers = headerMatchers != null && headerMatchers.Any() ? headerMatchers.Select(hm => new HeaderMod
 0536                    {
 0537                        Name = hm.Name,
 0538                        Matchers = Map(hm.Matchers),
 0539                        Funcs = Map(hm.Funcs)
 0540                    }).ToList() : null,
 0541
 0542                    Cookies = cookieMatchers != null && cookieMatchers.Any() ? cookieMatchers.Select(cm => new CookieMod
 0543                    {
 0544                        Name = cm.Name,
 0545                        Matchers = Map(cm.Matchers),
 0546                        Funcs = Map(cm.Funcs)
 0547                    }).ToList() : null,
 0548
 0549                     Params = paramsMatchers != null && paramsMatchers.Any() ? paramsMatchers.Select(pm => new ParamModel
 0550                    {
 0551                        Name = pm.Key,
 0552                        Values = pm.Values?.ToList(),
 0553                        Funcs = Map(pm.Funcs)
 0554                    }).ToList() : null,
 0555
 0556                    Body = methodMatcher?.Methods != null && methodMatcher.Methods.Count(m => m == "get") == 1 ? null : 
 0557                    {
 0558                        Matcher = bodyMatcher != null ? Map(bodyMatcher.Matcher) : null,
 0559                        Func = bodyMatcher != null ? Map(bodyMatcher.Func) : null,
 0560                        DataFunc = bodyMatcher != null ? Map(bodyMatcher.DataFunc) : null
 0561                    }
 0562                },
 0563                Response = new ResponseModel
 0564                {
 0565                    StatusCode = response.ResponseMessage.StatusCode,
 0566                    Headers = response.ResponseMessage.Headers,
 0567                    Body = response.ResponseMessage.Body,
 0568                    UseTransformer = response.UseTransformer,
 0569                    Delay = response.Delay?.Milliseconds,
 0570
 0571                    BodyEncoding = response.ResponseMessage.BodyEncoding != null ? new EncodingModel
 0572                    {
 0573                        EncodingName = response.ResponseMessage.BodyEncoding.EncodingName,
 0574                        CodePage = response.ResponseMessage.BodyEncoding.CodePage,
 0575                        WebName = response.ResponseMessage.BodyEncoding.WebName
 0576                    } : null
 0577                }
 0578            };
 0579        }
 580
 581        private MatcherModel[] Map([CanBeNull] IEnumerable<IMatcher> matchers)
 0582        {
 0583             if (matchers == null || !matchers.Any())
 0584                return null;
 585
 0586            return matchers.Select(Map).Where(x => x != null).ToArray();
 0587        }
 588
 589        private MatcherModel Map([CanBeNull] IMatcher matcher)
 0590        {
 0591             if (matcher == null)
 0592                return null;
 593
 0594            var patterns = matcher.GetPatterns();
 595
 0596             return new MatcherModel
 0597            {
 0598                Name = matcher.GetName(),
 0599                Pattern = patterns.Length == 1 ? patterns.First() : null,
 0600                Patterns = patterns.Length > 1 ? patterns : null
 0601            };
 0602        }
 603
 604        private string[] Map<T>([CanBeNull] IEnumerable<Func<T, bool>> funcs)
 0605        {
 0606             if (funcs == null || !funcs.Any())
 0607                return null;
 608
 0609            return funcs.Select(Map).Where(x => x != null).ToArray();
 0610        }
 611
 612        private string Map<T>([CanBeNull] Func<T, bool> func)
 0613        {
 0614             return func?.ToString();
 0615        }
 616
 617        private IMatcher Map([CanBeNull] MatcherModel matcher)
 6618        {
 6619             if (matcher == null)
 0620                return null;
 621
 6622            var parts = matcher.Name.Split('.');
 6623            string matcherName = parts[0];
 6624             string matcherType = parts.Length > 1 ? parts[1] : null;
 625
 6626            string[] patterns = matcher.Patterns ?? new[] { matcher.Pattern };
 627
 6628             switch (matcherName)
 629            {
 630                case "ExactMatcher":
 4631                    return new ExactMatcher(patterns);
 0440            ResetScenarios();
 441
 0442            return new ResponseMessage { Body = "Mappings deleted" };
 0443        }
 444        #endregion Mappings
 445
 446        #region Request/{guid}
 447        private ResponseMessage RequestGet(RequestMessage requestMessage)
 0448        {
 0449            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminRequests.Length + 1));
 0450            var entry = LogEntries.FirstOrDefault(r => !r.RequestMessage.Path.StartsWith("/__admin/") && r.Guid == guid)
 451
 0452             if (entry == null)
 0453            {
 0454                _logger.Warn("HttpStatusCode set to 404 : Request not found");
 0455                return new ResponseMessage { StatusCode = 404, Body = "Request not found" };
 456            }
 457
 0458            var model = ToLogEntryModel(entry);
 459
 0460            return ToJson(model);
 0461        }
 462
 463        private ResponseMessage RequestDelete(RequestMessage requestMessage)
 0464        {
 0465            Guid guid = Guid.Parse(requestMessage.Path.Substring(AdminRequests.Length + 1));
 466
 0467             if (DeleteLogEntry(guid))
 0468                return new ResponseMessage { Body = "Request removed" };
 469
 0470            return new ResponseMessage { Body = "Request not found" };
 0471        }
 472        #endregion Request/{guid}
 473
 474        #region Requests
 475        private ResponseMessage RequestsGet(RequestMessage requestMessage)
 1476        {
 1477            var result = LogEntries
 2478                .Where(r => !r.RequestMessage.Path.StartsWith("/__admin/"))
 1479                .Select(ToLogEntryModel);
 480
 1481            return ToJson(result);
 1482        }
 483
 484        private LogEntryModel ToLogEntryModel(LogEntry logEntry)
 2485        {
 2486             return new LogEntryModel
 2487            {
 2488                Guid = logEntry.Guid,
 2489                Request = new LogRequestModel
 2490                {
 2491                    DateTime = logEntry.RequestMessage.DateTime,
 2492                    ClientIP = logEntry.RequestMessage.ClientIP,
 2493                    Path = logEntry.RequestMessage.Path,
 2494                    AbsoluteUrl = logEntry.RequestMessage.Url,
 2495                    Query = logEntry.RequestMessage.Query,
 2496                    Method = logEntry.RequestMessage.Method,
 2497                    Body = logEntry.RequestMessage.Body,
 2498                    BodyAsJson = logEntry.RequestMessage.BodyAsJson,
 2499                    BodyAsBytes = logEntry.RequestMessage.BodyAsBytes,
 2500                    Headers = logEntry.RequestMessage.Headers,
 2501                    Cookies = logEntry.RequestMessage.Cookies,
 2502                    BodyEncoding = logEntry.RequestMessage.BodyEncoding != null ? new EncodingModel
 2503                    {
 2504                        EncodingName = logEntry.RequestMessage.BodyEncoding.EncodingName,
 2505                        CodePage = logEntry.RequestMessage.BodyEncoding.CodePage,
 2506                        WebName = logEntry.RequestMessage.BodyEncoding.WebName
 2507                    } : null
 2508                },
 2509                Response = new LogResponseModel
 2510                {
 2511                    StatusCode = logEntry.ResponseMessage.StatusCode,
 2512                    BodyDestination = logEntry.ResponseMessage.BodyDestination,
 2513                    Body = logEntry.ResponseMessage.Body,
 2514                    BodyAsJson = logEntry.ResponseMessage.BodyAsJson,
 2515                    BodyAsBytes = logEntry.ResponseMessage.BodyAsBytes,
 2516                    BodyOriginal = logEntry.ResponseMessage.BodyOriginal,
 2517                    BodyAsFile = logEntry.ResponseMessage.BodyAsFile,
 2518                    BodyAsFileIsCached = logEntry.ResponseMessage.BodyAsFileIsCached,
 2519                    Headers = logEntry.ResponseMessage.Headers,
 2520                    BodyEncoding = logEntry.ResponseMessage.BodyEncoding != null ? new EncodingModel
 2521                    {
 2522                        EncodingName = logEntry.ResponseMessage.BodyEncoding.EncodingName,
 2523                        CodePage = logEntry.ResponseMessage.BodyEncoding.CodePage,
 2524                        WebName = logEntry.ResponseMessage.BodyEncoding.WebName
 2525                    } : null
 2526                },
 2527                MappingGuid = logEntry.MappingGuid,
 2528                MappingTitle = logEntry.MappingTitle,
 2529                RequestMatchResult = logEntry.RequestMatchResult != null ? new LogRequestMatchModel
 2530                {
 2531                    TotalScore = logEntry.RequestMatchResult.TotalScore,
 2532                    TotalNumber = logEntry.RequestMatchResult.TotalNumber,
 2533                    IsPerfectMatch = logEntry.RequestMatchResult.IsPerfectMatch,
 2534                    AverageTotalScore = logEntry.RequestMatchResult.AverageTotalScore,
 2535                    MatchDetails = logEntry.RequestMatchResult.MatchDetails.Select(x => new
 2536                    {
 2537                        Name = x.Key.Name.Replace("RequestMessage", string.Empty),
 2538                        Score = x.Value
 2539                    } as object).ToList()
 2540                } : null
 2541            };
 2542        }
 543
 544        private ResponseMessage RequestsDelete(RequestMessage requestMessage)
 0545        {
 0546            ResetLogEntries();
 547
 0548            return new ResponseMessage { Body = "Requests deleted" };
 0549        }
 550        #endregion Requests
 551
 552        #region Requests/find
 553        private ResponseMessage RequestsFind(RequestMessage requestMessage)
 1554        {
 1555            var requestModel = requestMessage.Body != null ? JsonConvert.DeserializeObject<RequestModel>(requestMessage.
 556
 1557            var request = (Request)InitRequestBuilder(requestModel);
 558
 1559            var dict = new Dictionary<LogEntry, RequestMatchResult>();
 6560            foreach (var logEntry in LogEntries.Where(le => !le.RequestMessage.Path.StartsWith("/__admin/")))
 1561            {
 1562                var requestMatchResult = new RequestMatchResult();
 1563                 if (request.GetMatchingScore(logEntry.RequestMessage, requestMatchResult) > MatchScores.AlmostPerfect)
 1564                {
 1565                    dict.Add(logEntry, requestMatchResult);
 1566                }
 1567            }
 568
 3569            var result = dict.OrderBy(x => x.Value.AverageTotalScore).Select(x => x.Key).Select(ToLogEntryModel);
 570
 1571            return ToJson(result);
 1572        }
 573        #endregion Requests/find
 574
 575        #region Scenarios
 576        private ResponseMessage ScenariosGet(RequestMessage requestMessage)
 0577        {
 0578            var scenarios = Scenarios.Select(s => new
 0579            {
 0580                Name = s.Key,
 0581                Started = s.Value != null,
 0582                NextState = s.Value
 0583            });
 0584            return ToJson(scenarios);
 0585        }
 586
 587        private ResponseMessage ScenariosReset(RequestMessage requestMessage)
 0588        {
 0589            ResetScenarios();
 590
 0591            return new ResponseMessage { Body = "Scenarios reset" };
 0592        }
 593        #endregion
 594
 595        private IRequestBuilder InitRequestBuilder(RequestModel requestModel)
 6596        {
 6597            IRequestBuilder requestBuilder = Request.Create();
 598
 6599             if (requestModel.ClientIP != null)
 0600            {
 0601                string clientIP = requestModel.ClientIP as string;
 0602                 if (clientIP != null)
 0603                {
 0604                    requestBuilder = requestBuilder.WithClientIP(clientIP);
 0605                }
 606                else
 0607                {
 0608                    var clientIPModel = JsonUtils.ParseJTokenToObject<ClientIPModel>(requestModel.ClientIP);
 0609                     if (clientIPModel?.Matchers != null)
 0610                    {
 0611                        requestBuilder = requestBuilder.WithPath(clientIPModel.Matchers.Select(MatcherModelMapper.Map).C
 0612                    }
 0613                }
 0614            }
 615
 6616             if (requestModel.Path != null)
 5617            {
 5618                string path = requestModel.Path as string;
 5619                 if (path != null)
 1620                {
 1621                    requestBuilder = requestBuilder.WithPath(path);
 1622                }
 623                else
 4624                {
 4625                    var pathModel = JsonUtils.ParseJTokenToObject<PathModel>(requestModel.Path);
 4626                     if (pathModel?.Matchers != null)
 4627                    {
 4628                        requestBuilder = requestBuilder.WithPath(pathModel.Matchers.Select(MatcherModelMapper.Map).Cast<
 4629                    }
 4630                }
 5631            }
 632
 633                case "RegexMatcher":
 0634                    return new RegexMatcher(patterns);
 635
 636                case "JsonPathMatcher":
 0637                    return new JsonPathMatcher(patterns);
 638
 639                case "XPathMatcher":
 0640                    return new XPathMatcher(matcher.Pattern);
 641
 642                case "WildcardMatcher":
 2643                     return new WildcardMatcher(patterns, matcher.IgnoreCase == true);
 644
 645                case "SimMetricsMatcher":
 0646                    SimMetricType type = SimMetricType.Levenstein;
 0647                     if (!string.IsNullOrEmpty(matcherType) && !Enum.TryParse(matcherType, out type))
 0648                        throw new NotSupportedException($"Matcher '{matcherName}' with Type '{matcherType}' is not suppo
 6633             if (requestModel.Url != null)
 0634            {
 0635                string url = requestModel.Url as string;
 0636                 if (url != null)
 0637                {
 0638                    requestBuilder = requestBuilder.WithUrl(url);
 0639                }
 640                else
 0641                {
 0642                    var urlModel = JsonUtils.ParseJTokenToObject<UrlModel>(requestModel.Url);
 0643                     if (urlModel?.Matchers != null)
 0644                    {
 0645                        requestBuilder = requestBuilder.WithUrl(urlModel.Matchers.Select(MatcherModelMapper.Map).Cast<IS
 0646                    }
 0647                }
 0648            }
 649
 0650                    return new SimMetricsMatcher(matcher.Pattern, type);
 651
 652                default:
 0653                    throw new NotSupportedException($"Matcher '{matcherName}' is not supported.");
 654            }
 6655        }
 656
 657        private ResponseMessage ToJson<T>(T result)
 0658        {
 0659            return new ResponseMessage
 0660            {
 0661                Body = JsonConvert.SerializeObject(result, _settings),
 0662                StatusCode = 200,
 0663                Headers = new Dictionary<string, string> { { "Content-Type", "application/json" } }
 0664            };
 0665        }
 666
 667        private Encoding ToEncoding(EncodingModel encodingModel)
 4668        {
 4669             return encodingModel != null ? Encoding.GetEncoding(encodingModel.CodePage) : null;
 4670        }
 671    }
 672}
 6650             if (requestModel.Methods != null)
 5651            {
 5652                requestBuilder = requestBuilder.UsingVerb(requestModel.Methods);
 5653            }
 654
 6655             if (requestModel.Headers != null)
 0656            {
 0657                foreach (var headerModel in requestModel.Headers.Where(h => h.Matchers != null))
 0658                {
 0659                    requestBuilder = requestBuilder.WithHeader(headerModel.Name, headerModel.Matchers.Select(MatcherMode
 0660                }
 0661            }
 662
 6663             if (requestModel.Cookies != null)
 0664            {
 0665                foreach (var cookieModel in requestModel.Cookies.Where(c => c.Matchers != null))
 0666                {
 0667                    requestBuilder = requestBuilder.WithCookie(cookieModel.Name, cookieModel.Matchers.Select(MatcherMode
 0668                }
 0669            }
 670
 6671             if (requestModel.Params != null)
 0672            {
 0673                foreach (var paramModel in requestModel.Params)
 0674                {
 0675                    requestBuilder = paramModel.Values == null ? requestBuilder.WithParam(paramModel.Name) : requestBuil
 0676                }
 0677            }
 678
 6679             if (requestModel.Body?.Matcher != null)
 2680            {
 2681                var bodyMatcher = MatcherModelMapper.Map(requestModel.Body.Matcher);
 2682                requestBuilder = requestBuilder.WithBody(bodyMatcher);
 2683            }
 684
 6685            return requestBuilder;
 6686        }
 687
 688        private IResponseBuilder InitResponseBuilder(ResponseModel responseModel)
 5689        {
 5690            IResponseBuilder responseBuilder = Response.Create();
 691
 5692             if (responseModel.Delay > 0)
 0693            {
 0694                responseBuilder = responseBuilder.WithDelay(responseModel.Delay.Value);
 0695            }
 696
 5697             if (!string.IsNullOrEmpty(responseModel.ProxyUrl))
 0698            {
 0699                 if (string.IsNullOrEmpty(responseModel.X509Certificate2ThumbprintOrSubjectName))
 0700                {
 0701                    return responseBuilder.WithProxy(responseModel.ProxyUrl);
 702                }
 703
 0704                return responseBuilder.WithProxy(responseModel.ProxyUrl, responseModel.X509Certificate2ThumbprintOrSubje
 705            }
 706
 5707             if (responseModel.StatusCode.HasValue)
 5708            {
 5709                responseBuilder = responseBuilder.WithStatusCode(responseModel.StatusCode.Value);
 5710            }
 711
 5712             if (responseModel.Headers != null)
 4713            {
 116714                foreach (var entry in responseModel.Headers)
 52715                {
 52716                    responseBuilder = entry.Value is string value ?
 52717                        responseBuilder.WithHeader(entry.Key, value) :
 52718                        responseBuilder.WithHeader(entry.Key, JsonUtils.ParseJTokenToObject<string[]>(entry.Value));
 52719                }
 4720            }
 1721             else if (responseModel.HeadersRaw != null)
 0722            {
 0723                foreach (string headerLine in responseModel.HeadersRaw.Split(new[] { "\n", "\r\n" }, StringSplitOptions.
 0724                {
 0725                    int indexColon = headerLine.IndexOf(":", StringComparison.Ordinal);
 0726                    string key = headerLine.Substring(0, indexColon).TrimStart(' ', '\t');
 0727                    string value = headerLine.Substring(indexColon + 1).TrimStart(' ', '\t');
 0728                    responseBuilder = responseBuilder.WithHeader(key, value);
 0729                }
 0730            }
 731
 5732             if (responseModel.BodyAsBytes != null)
 0733            {
 0734                responseBuilder = responseBuilder.WithBody(responseModel.BodyAsBytes, responseModel.BodyDestination, ToE
 0735            }
 5736             else if (responseModel.Body != null)
 5737            {
 5738                responseBuilder = responseBuilder.WithBody(responseModel.Body, responseModel.BodyDestination, ToEncoding
 5739            }
 0740             else if (responseModel.BodyAsJson != null)
 0741            {
 0742                responseBuilder = responseBuilder.WithBodyAsJson(responseModel.BodyAsJson, ToEncoding(responseModel.Body
 0743            }
 0744             else if (responseModel.BodyFromBase64 != null)
 0745            {
 0746                responseBuilder = responseBuilder.WithBodyFromBase64(responseModel.BodyFromBase64, ToEncoding(responseMo
 0747            }
 748
 5749             if (responseModel.UseTransformer)
 0750            {
 0751                responseBuilder = responseBuilder.WithTransformer();
 0752            }
 753
 5754            return responseBuilder;
 5755        }
 756
 757        private ResponseMessage ToJson<T>(T result)
 2758        {
 2759            return new ResponseMessage
 2760            {
 2761                Body = JsonConvert.SerializeObject(result, _settings),
 2762                StatusCode = 200,
 2763                Headers = new Dictionary<string, WireMockList<string>> { { HttpKnownHeaderNames.ContentType, new WireMoc
 2764            };
 2765        }
 766
 767        private Encoding ToEncoding(EncodingModel encodingModel)
 5768        {
 5769             return encodingModel != null ? Encoding.GetEncoding(encodingModel.CodePage) : null;
 5770        }
 771    }
 772}
-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.cs

- + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections;
 2using System.Collections.Concurrent;
 3using System.Collections.Generic;
 4using System.Collections.ObjectModel;
 5using System.Linq;
 6using System.Text;
 7using System.Threading;
 8using System.Threading.Tasks;
 9using JetBrains.Annotations;
 10using WireMock.Http;
 11using WireMock.Logging;
 12using WireMock.Matchers;
 13using WireMock.Matchers.Request;
 14using WireMock.RequestBuilders;
 4using System.Linq;
 5using System.Text;
 6using System.Threading.Tasks;
 7using JetBrains.Annotations;
 8using Newtonsoft.Json;
 9using WireMock.Http;
 10using WireMock.Logging;
 11using WireMock.Matchers;
 12using WireMock.Matchers.Request;
 13using WireMock.RequestBuilders;
 14using WireMock.Settings;
 15using WireMock.Validation;
 16using WireMock.Owin;
 17
 18namespace WireMock.Server
 19{
 20    /// <summary>
 21    /// The fluent mock server.
 22    /// </summary>
 23    public partial class FluentMockServer : IDisposable
 24    {
 25        private readonly IOwinSelfHost _httpServer;
 26
 1827        private readonly object _syncRoot = new object();
 28
 1829        private readonly WireMockMiddlewareOptions _options = new WireMockMiddlewareOptions();
 17using WireMock.ResponseProviders;
 18
 19namespace WireMock.Server
 20{
 21    /// <summary>
 22    /// The fluent mock server.
 23    /// </summary>
 24    public partial class FluentMockServer : IDisposable
 25    {
 26        private readonly IWireMockLogger _logger;
 27        private const int ServerStartDelay = 100;
 28        private readonly IOwinSelfHost _httpServer;
 4729        private readonly WireMockMiddlewareOptions _options = new WireMockMiddlewareOptions();
 30
 31        /// <summary>
 32        /// Gets the ports.
 32        /// Gets a value indicating whether this server is started.
 33        /// </summary>
 34        /// <value>
 35        /// The ports.
 36        /// </value>
 37        [PublicAPI]
 1338        public List<int> Ports { get; }
 39
 40        /// <summary>
 41        /// Gets the urls.
 42        /// </summary>
 43        [PublicAPI]
 1844        public string[] Urls { get; }
 45
 46        /// <summary>
 47        /// Gets the request logs.
 48        /// </summary>
 49        [PublicAPI]
 50        public IEnumerable<LogEntry> LogEntries
 51        {
 52            get
 353            {
 354                lock (((ICollection)_options.LogEntries).SyncRoot)
 355                {
 356                    return new ReadOnlyCollection<LogEntry>(_options.LogEntries);
 57                }
 358            }
 59        }
 34        [PublicAPI]
 035        public bool IsStarted { get; }
 36
 37        /// <summary>
 38        /// Gets the ports.
 39        /// </summary>
 40        [PublicAPI]
 2941        public List<int> Ports { get; }
 42
 43        /// <summary>
 44        /// Gets the urls.
 45        /// </summary>
 46        [PublicAPI]
 7447        public string[] Urls { get; }
 48
 49        /// <summary>
 50        /// Gets the mappings.
 51        /// </summary>
 52        [PublicAPI]
 1253        public IEnumerable<Mapping> Mappings => _options.Mappings.Values.ToArray();
 54
 55        /// <summary>
 56        /// Gets the scenarios.
 57        /// </summary>
 58        [PublicAPI]
 059        public IDictionary<string, object> Scenarios => new ConcurrentDictionary<string, object>(_options.Scenarios);
 60
 61        /// <summary>
 62        /// The search log-entries based on matchers.
 63        /// </summary>
 64        /// <param name="matchers">The matchers.</param>
 65        /// <returns>The <see cref="IEnumerable"/>.</returns>
 66        [PublicAPI]
 67        public IEnumerable<LogEntry> FindLogEntries([NotNull] params IRequestMatcher[] matchers)
 168        {
 169            lock (((ICollection)_options.LogEntries).SyncRoot)
 170            {
 171                var results = new Dictionary<LogEntry, RequestMatchResult>();
 72
 773                foreach (var log in _options.LogEntries)
 274                {
 275                    var requestMatchResult = new RequestMatchResult();
 1076                    foreach (var matcher in matchers)
 277                    {
 278                        matcher.GetMatchingScore(log.RequestMessage, requestMatchResult);
 279                    }
 80
 281                     if (requestMatchResult.AverageTotalScore > 0.99)
 182                        results.Add(log, requestMatchResult);
 283                }
 84
 385                return new ReadOnlyCollection<LogEntry>(results.OrderBy(x => x.Value).Select(x => x.Key).ToList());
 86            }
 187        }
 88
 89        /// <summary>
 90        /// Gets the mappings.
 91        /// </summary>
 92        [PublicAPI]
 93        public IEnumerable<Mapping> Mappings
 94        {
 95            get
 796            {
 797                lock (((ICollection)_options.Mappings).SyncRoot)
 798                {
 799                    return new ReadOnlyCollection<Mapping>(_options.Mappings);
 100                }
 7101            }
 102        }
 103
 104        /// <summary>
 105        /// Starts the specified settings.
 106        /// </summary>
 107        /// <param name="settings">The FluentMockServerSettings.</param>
 108        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 109        [PublicAPI]
 110        public static FluentMockServer Start(FluentMockServerSettings settings)
 0111        {
 0112            Check.NotNull(settings, nameof(settings));
 113
 0114            return new FluentMockServer(settings);
 0115        }
 116
 117        /// <summary>
 118        /// Start this FluentMockServer.
 119        /// </summary>
 120        /// <param name="port">The port.</param>
 121        /// <param name="ssl">The SSL support.</param>
 122        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 123        [PublicAPI]
 124        public static FluentMockServer Start([CanBeNull] int? port = 0, bool ssl = false)
 16125        {
 16126            return new FluentMockServer(new FluentMockServerSettings
 16127            {
 16128                Port = port,
 16129                UseSSL = ssl
 16130            });
 16131        }
 132
 133        /// <summary>
 134        /// Start this FluentMockServer.
 135        /// </summary>
 136        /// <param name="urls">The urls to listen on.</param>
 137        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 138        [PublicAPI]
 139        public static FluentMockServer Start(params string[] urls)
 2140        {
 2141            Check.NotEmpty(urls, nameof(urls));
 142
 2143            return new FluentMockServer(new FluentMockServerSettings
 2144            {
 2145                Urls = urls
 2146            });
 2147        }
 148
 149        /// <summary>
 150        /// Start this FluentMockServer with the admin interface.
 151        /// </summary>
 152        /// <param name="port">The port.</param>
 153        /// <param name="ssl">The SSL support.</param>
 154        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 155        [PublicAPI]
 156        public static FluentMockServer StartWithAdminInterface(int? port = 0, bool ssl = false)
 0157        {
 0158            return new FluentMockServer(new FluentMockServerSettings
 0159            {
 0160                Port = port,
 0161                UseSSL = ssl,
 0162                StartAdminInterface = true
 0163            });
 0164        }
 61        #region Start/Stop
 62        /// <summary>
 63        /// Starts the specified settings.
 64        /// </summary>
 65        /// <param name="settings">The FluentMockServerSettings.</param>
 66        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 67        [PublicAPI]
 68        public static FluentMockServer Start(IFluentMockServerSettings settings)
 469        {
 470            Check.NotNull(settings, nameof(settings));
 71
 472            return new FluentMockServer(settings);
 473        }
 74
 75        /// <summary>
 76        /// Start this FluentMockServer.
 77        /// </summary>
 78        /// <param name="port">The port.</param>
 79        /// <param name="ssl">The SSL support.</param>
 80        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 81        [PublicAPI]
 82        public static FluentMockServer Start([CanBeNull] int? port = 0, bool ssl = false)
 4083        {
 4084            return new FluentMockServer(new FluentMockServerSettings
 4085            {
 4086                Port = port,
 4087                UseSSL = ssl
 4088            });
 4089        }
 90
 91        /// <summary>
 92        /// Start this FluentMockServer.
 93        /// </summary>
 94        /// <param name="urls">The urls to listen on.</param>
 95        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 96        [PublicAPI]
 97        public static FluentMockServer Start(params string[] urls)
 298        {
 299            Check.NotNullOrEmpty(urls, nameof(urls));
 100
 2101            return new FluentMockServer(new FluentMockServerSettings
 2102            {
 2103                Urls = urls
 2104            });
 2105        }
 106
 107        /// <summary>
 108        /// Start this FluentMockServer with the admin interface.
 109        /// </summary>
 110        /// <param name="port">The port.</param>
 111        /// <param name="ssl">The SSL support.</param>
 112        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 113        [PublicAPI]
 114        public static FluentMockServer StartWithAdminInterface(int? port = 0, bool ssl = false)
 1115        {
 1116            return new FluentMockServer(new FluentMockServerSettings
 1117            {
 1118                Port = port,
 1119                UseSSL = ssl,
 1120                StartAdminInterface = true
 1121            });
 1122        }
 123
 124        /// <summary>
 125        /// Start this FluentMockServer with the admin interface.
 126        /// </summary>
 127        /// <param name="urls">The urls.</param>
 128        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 129        [PublicAPI]
 130        public static FluentMockServer StartWithAdminInterface(params string[] urls)
 0131        {
 0132            Check.NotNullOrEmpty(urls, nameof(urls));
 133
 0134            return new FluentMockServer(new FluentMockServerSettings
 0135            {
 0136                Urls = urls,
 0137                StartAdminInterface = true
 0138            });
 0139        }
 140
 141        /// <summary>
 142        /// Start this FluentMockServer with the admin interface and read static mappings.
 143        /// </summary>
 144        /// <param name="urls">The urls.</param>
 145        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 146        [PublicAPI]
 147        public static FluentMockServer StartWithAdminInterfaceAndReadStaticMappings(params string[] urls)
 0148        {
 0149            Check.NotNullOrEmpty(urls, nameof(urls));
 150
 0151            return new FluentMockServer(new FluentMockServerSettings
 0152            {
 0153                Urls = urls,
 0154                StartAdminInterface = true,
 0155                ReadStaticMappings = true
 0156            });
 0157        }
 158
 47159        private FluentMockServer(IFluentMockServerSettings settings)
 47160        {
 47161             settings.Logger = settings.Logger ?? new WireMockConsoleLogger();
 47162            _logger = settings.Logger;
 163
 47164            _logger.Debug("WireMock.Net server settings {0}", JsonConvert.SerializeObject(settings, Formatting.Indented)
 165
 166        /// <summary>
 167        /// Start this FluentMockServer with the admin interface.
 168        /// </summary>
 169        /// <param name="urls">The urls.</param>
 170        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 171        [PublicAPI]
 172        public static FluentMockServer StartWithAdminInterface(params string[] urls)
 0173        {
 0174            Check.NotEmpty(urls, nameof(urls));
 47166             if (settings.Urls != null)
 2167            {
 4168                Urls = settings.Urls.Select(u => u.EndsWith("/") ? u : $"{u}/").ToArray();
 2169            }
 170            else
 45171            {
 45172                 int port = settings.Port > 0 ? settings.Port.Value : PortUtil.FindFreeTcpPort();
 45173                 Urls = new[] { (settings.UseSSL == true ? "https" : "http") + "://localhost:" + port + "/" };
 45174            }
 175
 0176            return new FluentMockServer(new FluentMockServerSettings
 0177            {
 0178                Urls = urls,
 0179                StartAdminInterface = true
 0180            });
 0181        }
 182
 183        /// <summary>
 184        /// Start this FluentMockServer with the admin interface and read static mappings.
 185        /// </summary>
 186        /// <param name="urls">The urls.</param>
 187        /// <returns>The <see cref="FluentMockServer"/>.</returns>
 188        [PublicAPI]
 189        public static FluentMockServer StartWithAdminInterfaceAndReadStaticMappings(params string[] urls)
 0190        {
 0191            Check.NotEmpty(urls, nameof(urls));
 192
 0193            return new FluentMockServer(new FluentMockServerSettings
 0194            {
 0195                Urls = urls,
 0196                StartAdminInterface = true,
 0197                ReadStaticMappings = true
 0198            });
 0199        }
 200
 18201        private FluentMockServer(FluentMockServerSettings settings)
 18202        {
 18203             if (settings.Urls != null)
 2204            {
 2205                Urls = settings.Urls;
 2206            }
 207            else
 16208            {
 16209                 int port = settings.Port > 0 ? settings.Port.Value : PortUtil.FindFreeTcpPort();
 16210                 Urls = new[] { (settings.UseSSL == true ? "https" : "http") + "://localhost:" + port + "/" };
 16211            }
 212
 213#if NET45
 18214            _httpServer = new OwinSelfHost(_options, Urls);
 215#else
 216            _httpServer = new AspNetCoreSelfHost(_options, Urls);
 217#endif
 18218            Ports = _httpServer.Ports;
 219
 18220            _httpServer.StartAsync();
 221
 18222             if (settings.StartAdminInterface == true)
 0223            {
 0224                InitAdmin();
 0225            }
 226
 18227             if (settings.ReadStaticMappings == true)
 0228            {
 0229                ReadStaticMappings();
 0230            }
 18231        }
 232
 233        /// <summary>
 234        /// Adds the catch all mapping.
 235        /// </summary>
 236        [PublicAPI]
 237        public void AddCatchAllMapping()
 0238        {
 0239            Given(Request.Create().WithPath("/*").UsingAnyVerb())
 0240                .WithGuid(Guid.Parse("90008000-0000-4444-a17e-669cd84f1f05"))
 0241                .AtPriority(1000)
 0242                .RespondWith(new DynamicResponseProvider(request => new ResponseMessage { StatusCode = 404, Body = "No m
 0243        }
 244
 245        /// <summary>
 246        /// Stop this server.
 247        /// </summary>
 248        [PublicAPI]
 249        public void Stop()
 18250        {
 18251             _httpServer?.StopAsync();
 252
 253            //while (_httpServer != null && _httpServer.IsStarted)
 254            //{
 255            //    Task.Delay(999).Wait();
 256            //}
 18257        }
 258
 259        /// <summary>
 260        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 261        /// </summary>
 262        public void Dispose()
 0263        {
 0264             if (_httpServer != null && _httpServer.IsStarted)
 0265            {
 0266                _httpServer.StopAsync();
 267
 268                //while (_httpServer != null && _httpServer.IsStarted)
 269                //{
 270                //    Task.Delay(999).Wait();
 271                //}
 0272            }
 0273        }
 274
 275        /// <summary>
 276        /// Resets LogEntries and Mappings.
 277        /// </summary>
 278        [PublicAPI]
 279        public void Reset()
 0280        {
 0281            ResetLogEntries();
 282
 0283            ResetMappings();
 0284        }
 47176            _options.PreWireMockMiddlewareInit = settings.PreWireMockMiddlewareInit;
 47177            _options.PostWireMockMiddlewareInit = settings.PostWireMockMiddlewareInit;
 47178            _options.Logger = _logger;
 179
 180#if NETSTANDARD
 181            _httpServer = new AspNetCoreSelfHost(_options, Urls);
 182#else
 47183            _httpServer = new OwinSelfHost(_options, Urls);
 184#endif
 47185            Ports = _httpServer.Ports;
 186
 47187            _httpServer.StartAsync();
 188
 189            // Fix for 'Bug: Server not listening after Start() returns (on macOS)'
 47190            Task.Delay(ServerStartDelay).Wait();
 191
 47192            IsStarted = _httpServer.IsStarted;
 193
 47194             if (settings.AllowPartialMapping == true)
 0195            {
 0196                AllowPartialMapping();
 0197            }
 198
 47199             if (settings.StartAdminInterface == true)
 3200            {
 3201                 if (!string.IsNullOrEmpty(settings.AdminUsername) && !string.IsNullOrEmpty(settings.AdminPassword))
 0202                {
 0203                    SetBasicAuthentication(settings.AdminUsername, settings.AdminPassword);
 0204                }
 205
 3206                InitAdmin();
 3207            }
 208
 47209             if (settings.ReadStaticMappings == true)
 0210            {
 0211                ReadStaticMappings();
 0212            }
 213
 47214             if (settings.WatchStaticMappings == true)
 0215            {
 0216                WatchStaticMappings();
 0217            }
 218
 47219             if (settings.ProxyAndRecordSettings != null)
 2220            {
 2221                InitProxyAndRecord(settings.ProxyAndRecordSettings);
 2222            }
 223
 47224             if (settings.MaxRequestLogCount != null)
 0225            {
 0226                SetMaxRequestLogCount(settings.MaxRequestLogCount);
 0227            }
 47228        }
 229
 230        /// <summary>
 231        /// Stop this server.
 232        /// </summary>
 233        [PublicAPI]
 234        public void Stop()
 42235        {
 42236             _httpServer?.StopAsync();
 42237        }
 238        #endregion
 239
 240        /// <summary>
 241        /// Adds the catch all mapping.
 242        /// </summary>
 243        [PublicAPI]
 244        public void AddCatchAllMapping()
 0245        {
 0246            Given(Request.Create().WithPath("/*").UsingAnyVerb())
 0247                .WithGuid(Guid.Parse("90008000-0000-4444-a17e-669cd84f1f05"))
 0248                .AtPriority(1000)
 0249                .RespondWith(new DynamicResponseProvider(request => new ResponseMessage { StatusCode = 404, Body = "No m
 0250        }
 251
 252        /// <summary>
 253        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 254        /// </summary>
 255        public void Dispose()
 5256        {
 5257             if (_httpServer != null && _httpServer.IsStarted)
 5258            {
 5259                _httpServer.StopAsync();
 5260            }
 5261        }
 262
 263        /// <summary>
 264        /// Resets LogEntries and Mappings.
 265        /// </summary>
 266        [PublicAPI]
 267        public void Reset()
 0268        {
 0269            ResetLogEntries();
 270
 0271            ResetMappings();
 0272        }
 273
 274        /// <summary>
 275        /// Resets the Mappings.
 276        /// </summary>
 277        [PublicAPI]
 278        public void ResetMappings()
 1279        {
 6280            foreach (var nonAdmin in _options.Mappings.Where(m => !m.Value.IsAdminInterface))
 1281            {
 1282                _options.Mappings.Remove(nonAdmin);
 1283            }
 1284        }
 285
 286        /// <summary>
 287        /// Resets the LogEntries.
 287        /// Deletes the mapping.
 288        /// </summary>
 289        [PublicAPI]
 290        public void ResetLogEntries()
 1291        {
 1292            lock (((ICollection)_options.LogEntries).SyncRoot)
 1293            {
 1294                _options.LogEntries.Clear();
 1295            }
 1296        }
 297
 298        /// <summary>
 299        /// Deletes the mapping.
 300        /// </summary>
 301        /// <param name="guid">The unique identifier.</param>
 302        [PublicAPI]
 303        public bool DeleteLogEntry(Guid guid)
 0304        {
 0305            lock (((ICollection)_options.LogEntries).SyncRoot)
 0306            {
 307                // Check a logentry exists with the same GUID, if so, remove it.
 0308                var existing = _options.LogEntries.FirstOrDefault(m => m.Guid == guid);
 0309                 if (existing != null)
 0310                {
 0311                    _options.LogEntries.Remove(existing);
 0312                    return true;
 313                }
 314
 0315                return false;
 316            }
 0317        }
 289        /// <param name="guid">The unique identifier.</param>
 290        [PublicAPI]
 291        public bool DeleteMapping(Guid guid)
 0292        {
 293            // Check a mapping exists with the same GUID, if so, remove it.
 0294             if (_options.Mappings.ContainsKey(guid))
 0295            {
 0296                return _options.Mappings.Remove(guid);
 297            }
 298
 0299            return false;
 0300        }
 301
 302        private bool DeleteMapping(string path)
 0303        {
 304            // Check a mapping exists with the same path, if so, remove it.
 0305            var mapping = _options.Mappings.FirstOrDefault(entry => string.Equals(entry.Value.Path, path, StringComparis
 0306            return DeleteMapping(mapping.Key);
 0307        }
 308
 309        /// <summary>
 310        /// The add request processing delay.
 311        /// </summary>
 312        /// <param name="delay">The delay.</param>
 313        [PublicAPI]
 314        public void AddGlobalProcessingDelay(TimeSpan delay)
 1315        {
 1316            _options.RequestProcessingDelay = delay;
 1317        }
 318
 319        /// <summary>
 320        /// Resets the Mappings.
 320        /// Allows the partial mapping.
 321        /// </summary>
 322        [PublicAPI]
 323        public void ResetMappings()
 1324        {
 1325            lock (((ICollection)_options.Mappings).SyncRoot)
 1326            {
 2327                _options.Mappings = _options.Mappings.Where(m => m.Provider is DynamicResponseProvider).ToList();
 1328            }
 1329        }
 330
 331        /// <summary>
 332        /// Deletes the mapping.
 333        /// </summary>
 334        /// <param name="guid">The unique identifier.</param>
 335        [PublicAPI]
 336        public bool DeleteMapping(Guid guid)
 17337        {
 17338            lock (((ICollection)_options.Mappings).SyncRoot)
 17339            {
 340                // Check a mapping exists with the same GUID, if so, remove it.
 22341                var existingMapping = _options.Mappings.FirstOrDefault(m => m.Guid == guid);
 17342                 if (existingMapping != null)
 1343                {
 1344                    _options.Mappings.Remove(existingMapping);
 1345                    return true;
 346                }
 347
 16348                return false;
 349            }
 17350        }
 351
 352        /// <summary>
 353        /// The add request processing delay.
 354        /// </summary>
 355        /// <param name="delay">
 356        /// The delay.
 357        /// </param>
 358        [PublicAPI]
 359        public void AddGlobalProcessingDelay(TimeSpan delay)
 1360        {
 1361            lock (_syncRoot)
 1362            {
 1363                _options.RequestProcessingDelay = delay;
 1364            }
 1365        }
 366
 367        /// <summary>
 368        /// Allows the partial mapping.
 369        /// </summary>
 370        [PublicAPI]
 371        public void AllowPartialMapping()
 0372        {
 0373            lock (_syncRoot)
 0374            {
 0375                _options.AllowPartialMapping = true;
 0376            }
 0377        }
 378
 379        /// <summary>
 380        /// Sets the basic authentication.
 381        /// </summary>
 382        /// <param name="username">The username.</param>
 383        /// <param name="password">The password.</param>
 384        [PublicAPI]
 385        public void SetBasicAuthentication([NotNull] string username, [NotNull] string password)
 0386        {
 0387            Check.NotNull(username, nameof(username));
 0388            Check.NotNull(password, nameof(password));
 389
 0390            string authorization = Convert.ToBase64String(Encoding.GetEncoding("ISO-8859-1").GetBytes(username + ":" + p
 0391            _options.AuthorizationMatcher = new RegexMatcher("^(?i)BASIC " + authorization + "$");
 0392        }
 323        public void AllowPartialMapping(bool allow = true)
 0324        {
 0325            _logger.Info("AllowPartialMapping is set to {0}", allow);
 0326            _options.AllowPartialMapping = allow;
 0327        }
 328
 329        /// <summary>
 330        /// Sets the basic authentication.
 331        /// </summary>
 332        /// <param name="username">The username.</param>
 333        /// <param name="password">The password.</param>
 334        [PublicAPI]
 335        public void SetBasicAuthentication([NotNull] string username, [NotNull] string password)
 0336        {
 0337            Check.NotNull(username, nameof(username));
 0338            Check.NotNull(password, nameof(password));
 339
 0340            string authorization = Convert.ToBase64String(Encoding.GetEncoding("ISO-8859-1").GetBytes(username + ":" + p
 0341            _options.AuthorizationMatcher = new RegexMatcher("^(?i)BASIC " + authorization + "$");
 0342        }
 343
 344        /// <summary>
 345        /// Removes the basic authentication.
 346        /// </summary>
 347        [PublicAPI]
 348        public void RemoveBasicAuthentication()
 0349        {
 0350            _options.AuthorizationMatcher = null;
 0351        }
 352
 353        /// <summary>
 354        /// Sets the maximum RequestLog count.
 355        /// </summary>
 356        /// <param name="maxRequestLogCount">The maximum RequestLog count.</param>
 357        [PublicAPI]
 358        public void SetMaxRequestLogCount([CanBeNull] int? maxRequestLogCount)
 1359        {
 1360            _options.MaxRequestLogCount = maxRequestLogCount;
 361
 1362        }
 363
 364        /// <summary>
 365        /// Sets RequestLog expiration in hours.
 366        /// </summary>
 367        /// <param name="requestLogExpirationDuration">The RequestLog expiration in hours.</param>
 368        [PublicAPI]
 369        public void SetRequestLogExpirationDuration([CanBeNull] int? requestLogExpirationDuration)
 0370        {
 0371            _options.RequestLogExpirationDuration = requestLogExpirationDuration;
 0372        }
 373
 374        /// <summary>
 375        /// Resets the Scenarios.
 376        /// </summary>
 377        [PublicAPI]
 378        public void ResetScenarios()
 0379        {
 0380            _options.Scenarios.Clear();
 0381        }
 382
 383        /// <summary>
 384        /// The given.
 385        /// </summary>
 386        /// <param name="requestMatcher">The request matcher.</param>
 387        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 388        [PublicAPI]
 389        public IRespondWithAProvider Given(IRequestMatcher requestMatcher)
 103390        {
 103391            return new RespondWithAProvider(RegisterMapping, requestMatcher);
 103392        }
 393
 394        /// <summary>
 395        /// The given.
 396        /// </summary>
 397        /// <param name="requestMatcher">The request matcher.</param>
 398        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 399        [PublicAPI]
 400        public IRespondWithAProvider Given(IRequestMatcher requestMatcher)
 17401        {
 17402            return new RespondWithAProvider(RegisterMapping, requestMatcher);
 17403        }
 404
 405        /// <summary>
 406        /// The register mapping.
 407        /// </summary>
 408        /// <param name="mapping">
 409        /// The mapping.
 410        /// </param>
 411        private void RegisterMapping(Mapping mapping)
 17412        {
 17413            lock (((ICollection)_options.Mappings).SyncRoot)
 17414            {
 415                // Check a mapping exists with the same GUID, if so, remove it first.
 17416                DeleteMapping(mapping.Guid);
 417
 17418                _options.Mappings.Add(mapping);
 17419            }
 17420        }
 421
 422        //private async void HandleRequestOld(IOwinContext ctx)
 423        //{
 424        //    if (_requestProcessingDelay > TimeSpan.Zero)
 425        //    {
 426        //        lock (_syncRoot)
 427        //        {
 428        //            Task.Delay(_requestProcessingDelay.Value).Wait();
 429        //        }
 430        //    }
 431
 432        //    var request = _requestMapper.MapAsync(ctx.Request);
 433
 434        //    ResponseMessage response = null;
 435        //    Mapping targetMapping = null;
 436        //    RequestMatchResult requestMatchResult = null;
 437        //    try
 438        //    {
 439        //        var mappings = _mappings
 440        //            .Select(m => new { Mapping = m, MatchResult = m.IsRequestHandled(request) })
 441        //            .ToList();
 442
 443        //        if (_allowPartialMapping)
 444        //        {
 445        //            var partialMappings = mappings
 446        //                .Where(pm => pm.Mapping.IsAdminInterface && pm.MatchResult.IsPerfectMatch || !pm.Mapping.IsAdm
 447        //                .OrderBy(m => m.MatchResult)
 448        //                .ThenBy(m => m.Mapping.Priority)
 449        //                .ToList();
 450
 451        //            var bestPartialMatch = partialMappings.FirstOrDefault(pm => pm.MatchResult.AverageTotalScore > 0.0
 452
 453        //            targetMapping = bestPartialMatch?.Mapping;
 454        //            requestMatchResult = bestPartialMatch?.MatchResult;
 455        //        }
 456        //        else
 457        //        {
 458        //            var perfectMatch = mappings
 459        //                .OrderBy(m => m.Mapping.Priority)
 460        //                .FirstOrDefault(m => m.MatchResult.IsPerfectMatch);
 461
 462        //            targetMapping = perfectMatch?.Mapping;
 463        //            requestMatchResult = perfectMatch?.MatchResult;
 464        //        }
 465
 466        //        if (targetMapping == null)
 467        //        {
 468        //            response = new ResponseMessage { StatusCode = 404, Body = "No matching mapping found" };
 469        //            return;
 470        //        }
 471
 472        //        if (targetMapping.IsAdminInterface && _authorizationMatcher != null)
 473        //        {
 474        //            string authorization;
 475        //            bool present = request.Headers.TryGetValue("Authorization", out authorization);
 476        //            if (!present || _authorizationMatcher.IsMatch(authorization) < 1.0)
 477        //            {
 478        //                response = new ResponseMessage { StatusCode = 401 };
 479        //                return;
 480        //            }
 481        //        }
 482
 483        //        response = await targetMapping.ResponseTo(request);
 484        //    }
 485        //    catch (Exception ex)
 486        //    {
 487        //        response = new ResponseMessage { StatusCode = 500, Body = ex.ToString() };
 488        //    }
 489        //    finally
 490        //    {
 491        //        var log = new LogEntry
 492        //        {
 493        //            Guid = Guid.NewGuid(),
 494        //            RequestMessage = request,
 495        //            ResponseMessage = response,
 496        //            MappingGuid = targetMapping?.Guid,
 497        //            MappingTitle = targetMapping?.Title,
 498        //            RequestMatchResult = requestMatchResult
 499        //        };
 500
 501        //        LogRequest(log);
 502
 503        //        _responseMapper.MapAsync(response, ctx.Response);
 504        //        ctx.Response.Close();
 505        //    }
 506        //}
 507    }
 508}
 394        private void RegisterMapping(Mapping mapping)
 103395        {
 396            // Check a mapping exists with the same Guid, if so, replace it.
 103397             if (_options.Mappings.ContainsKey(mapping.Guid))
 1398            {
 1399                _options.Mappings[mapping.Guid] = mapping;
 1400            }
 401            else
 102402            {
 102403                _options.Mappings.Add(mapping.Guid, mapping);
 102404            }
 103405        }
 406    }
 407}
- +

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\FluentMockServer.LogEntries.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections;
 3using System.Collections.Generic;
 4using System.Collections.ObjectModel;
 5using System.Collections.Specialized;
 6using JetBrains.Annotations;
 7using WireMock.Logging;
 8using WireMock.Matchers.Request;
 9using System.Linq;
 10using WireMock.Matchers;
 11
 12namespace WireMock.Server
 13{
 14    public partial class FluentMockServer
 15    {
 16        /// <summary>
 17        /// Occurs when [log entries changed].
 18        /// </summary>
 19        [PublicAPI]
 20        public event NotifyCollectionChangedEventHandler LogEntriesChanged
 21        {
 222            add => _options.LogEntries.CollectionChanged += value;
 023            remove => _options.LogEntries.CollectionChanged -= value;
 24        }
 25
 26        /// <summary>
 27        /// Gets the request logs.
 28        /// </summary>
 29        [PublicAPI]
 1430        public IEnumerable<LogEntry> LogEntries => new ReadOnlyCollection<LogEntry>(_options.LogEntries);
 31
 32        /// <summary>
 33        /// The search log-entries based on matchers.
 34        /// </summary>
 35        /// <param name="matchers">The matchers.</param>
 36        /// <returns>The <see cref="IEnumerable"/>.</returns>
 37        [PublicAPI]
 38        public IEnumerable<LogEntry> FindLogEntries([NotNull] params IRequestMatcher[] matchers)
 139        {
 140            var results = new Dictionary<LogEntry, RequestMatchResult>();
 41
 742            foreach (var log in _options.LogEntries)
 243            {
 244                var requestMatchResult = new RequestMatchResult();
 1045                foreach (var matcher in matchers)
 246                {
 247                    matcher.GetMatchingScore(log.RequestMessage, requestMatchResult);
 248                }
 49
 250                 if (requestMatchResult.AverageTotalScore > MatchScores.AlmostPerfect)
 151                {
 152                    results.Add(log, requestMatchResult);
 153                }
 254            }
 55
 356            return new ReadOnlyCollection<LogEntry>(results.OrderBy(x => x.Value).Select(x => x.Key).ToList());
 157        }
 58
 59        /// <summary>
 60        /// Resets the LogEntries.
 61        /// </summary>
 62        [PublicAPI]
 63        public void ResetLogEntries()
 164        {
 165            _options.LogEntries.Clear();
 166        }
 67
 68        /// <summary>
 69        /// Deletes a LogEntry.
 70        /// </summary>
 71        /// <param name="guid">The unique identifier.</param>
 72        [PublicAPI]
 73        public bool DeleteLogEntry(Guid guid)
 074        {
 75            // Check a logentry exists with the same GUID, if so, remove it.
 076            var existing = _options.LogEntries.FirstOrDefault(m => m.Guid == guid);
 077             if (existing != null)
 078            {
 079                _options.LogEntries.Remove(existing);
 080                return true;
 81            }
 82
 083            return false;
 084        }
 85    }
 86}
+

Methods/Properties

-.cctor()
-.ctor(WireMock.Server.FluentMockServerSettings)
-ReadStaticMappings(System.String)
-ReadStaticMapping(System.String)
-InitAdmin()
-SettingsGet(WireMock.RequestMessage)
-SettingsUpdate(WireMock.RequestMessage)
-MappingGet(WireMock.RequestMessage)
-MappingPut(WireMock.RequestMessage)
-MappingDelete(WireMock.RequestMessage)
-MappingsSave(WireMock.RequestMessage)
-SanitizeFileName(System.String,System.Char)
-MappingsGet(WireMock.RequestMessage)
-MappingsPost(WireMock.RequestMessage)
-DeserializeAndAddMapping(System.String,System.Nullable`1<System.Guid>)
-MappingsDelete(WireMock.RequestMessage)
-RequestGet(WireMock.RequestMessage)
-RequestDelete(WireMock.RequestMessage)
-RequestsGet(WireMock.RequestMessage)
-ToLogEntryModel(WireMock.Logging.LogEntry)
-RequestsDelete(WireMock.RequestMessage)
-RequestsFind(WireMock.RequestMessage)
-InitRequestBuilder(WireMock.Admin.Mappings.RequestModel)
-InitResponseBuilder(WireMock.Admin.Mappings.ResponseModel)
-ToMappingModel(WireMock.Mapping)
-Map(System.Collections.Generic.IEnumerable`1<WireMock.Matchers.IMatcher>)
-Map(WireMock.Matchers.IMatcher)
-Map(System.Collections.Generic.IEnumerable`1<System.Func`2<T,System.Boolean>>)
-Map(System.Func`2<T,System.Boolean>)
-Map(WireMock.Admin.Mappings.MatcherModel)
-ToJson(T)
-ToEncoding(WireMock.Admin.Mappings.EncodingModel)
-Ports()
-Urls()
-LogEntries()
-FindLogEntries(WireMock.Matchers.Request.IRequestMatcher[])
-Mappings()
-Start(WireMock.Server.FluentMockServerSettings)
-Start(System.Nullable`1<System.Int32>,System.Boolean)
-Start(System.String[])
-StartWithAdminInterface(System.Nullable`1<System.Int32>,System.Boolean)
-StartWithAdminInterface(System.String[])
-StartWithAdminInterfaceAndReadStaticMappings(System.String[])
-AddCatchAllMapping()
-Stop()
-Dispose()
-Reset()
-ResetLogEntries()
-DeleteLogEntry(System.Guid)
-ResetMappings()
-DeleteMapping(System.Guid)
-AddGlobalProcessingDelay(System.TimeSpan)
-AllowPartialMapping()
-SetBasicAuthentication(System.String,System.String)
-Given(WireMock.Matchers.Request.IRequestMatcher)
-RegisterMapping(WireMock.Mapping)
+.cctor()
+.ctor(WireMock.Settings.IFluentMockServerSettings)
+InitAdmin()
+ReadStaticMappings(System.String)
+WatchStaticMappings(System.String)
+ReadStaticMappingAndAddOrUpdate(System.String)
+InitProxyAndRecord(WireMock.Settings.IProxyAndRecordSettings)
+ProxyAndRecordAsync()
+ToMapping(WireMock.RequestMessage,WireMock.ResponseMessage,System.String[])
+SettingsGet(WireMock.RequestMessage)
+SettingsUpdate(WireMock.RequestMessage)
+MappingGet(WireMock.RequestMessage)
+MappingPut(WireMock.RequestMessage)
+MappingDelete(WireMock.RequestMessage)
+MappingsSave(WireMock.RequestMessage)
+SaveMappingToFile(WireMock.Mapping)
+SanitizeFileName(System.String,System.Char)
+MappingsGet(WireMock.RequestMessage)
+MappingsPost(WireMock.RequestMessage)
+DeserializeAndAddOrUpdateMapping(WireMock.Admin.Mappings.MappingModel,System.Nullable`1<System.Guid>,System.String)
+MappingsDelete(WireMock.RequestMessage)
+RequestGet(WireMock.RequestMessage)
+RequestDelete(WireMock.RequestMessage)
+RequestsGet(WireMock.RequestMessage)
+ToLogEntryModel(WireMock.Logging.LogEntry)
+RequestsDelete(WireMock.RequestMessage)
+RequestsFind(WireMock.RequestMessage)
+ScenariosGet(WireMock.RequestMessage)
+ScenariosReset(WireMock.RequestMessage)
+InitRequestBuilder(WireMock.Admin.Mappings.RequestModel)
+InitResponseBuilder(WireMock.Admin.Mappings.ResponseModel)
+ToJson(T)
+ToEncoding(WireMock.Admin.Mappings.EncodingModel)
+IsStarted()
+Ports()
+Urls()
+Mappings()
+Scenarios()
+Start(WireMock.Settings.IFluentMockServerSettings)
+Start(System.Nullable`1<System.Int32>,System.Boolean)
+Start(System.String[])
+StartWithAdminInterface(System.Nullable`1<System.Int32>,System.Boolean)
+StartWithAdminInterface(System.String[])
+StartWithAdminInterfaceAndReadStaticMappings(System.String[])
+Stop()
+AddCatchAllMapping()
+Dispose()
+Reset()
+ResetMappings()
+DeleteMapping(System.Guid)
+DeleteMapping(System.String)
+AddGlobalProcessingDelay(System.TimeSpan)
+AllowPartialMapping(System.Boolean)
+SetBasicAuthentication(System.String,System.String)
+RemoveBasicAuthentication()
+SetMaxRequestLogCount(System.Nullable`1<System.Int32>)
+SetRequestLogExpirationDuration(System.Nullable`1<System.Int32>)
+ResetScenarios()
+Given(WireMock.Matchers.Request.IRequestMatcher)
+RegisterMapping(WireMock.Mapping)
+add_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler)
+remove_LogEntriesChanged(System.Collections.Specialized.NotifyCollectionChangedEventHandler)
+LogEntries()
+FindLogEntries(WireMock.Matchers.Request.IRequestMatcher[])
+ResetLogEntries()
+DeleteLogEntry(System.Guid)

diff --git a/report/WireMock.Net_FluentMockServerSettings.htm b/report/WireMock.Net_FluentMockServerSettings.htm index 9e6fdcb9..7303fb37 100644 --- a/report/WireMock.Net_FluentMockServerSettings.htm +++ b/report/WireMock.Net_FluentMockServerSettings.htm @@ -3,7 +3,7 @@ -WireMock.Server.FluentMockServerSettings - Coverage Report +WireMock.Settings.FluentMockServerSettings - Coverage Report

Summary

@@ -13,13 +13,13 @@ -Class:WireMock.Server.FluentMockServerSettings +Class:WireMock.Settings.FluentMockServerSettings Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServerSettings.cs -Covered lines:6 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\FluentMockServerSettings.cs +Covered lines:16 Uncovered lines:0 -Coverable lines:6 -Total lines:54 +Coverable lines:16 +Total lines:81 Line coverage:100% @@ -27,87 +27,134 @@ - +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100
.ctor()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\FluentMockServerSettings.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\FluentMockServerSettings.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1namespace WireMock.Server
 2{
 3    /// <summary>
 4    /// FluentMockServerSettings
 5    /// </summary>
 6    public class FluentMockServerSettings
 7    {
 8        /// <summary>
 9        /// Gets or sets the port.
 10        /// </summary>
 11        /// <value>
 12        /// The port.
 13        /// </value>
 3214        public int? Port { get; set; }
 15
 16        /// <summary>
 17        /// Gets or sets the use SSL.
 18        /// </summary>
 19        /// <value>
 20        /// The use SSL.
 21        /// </value>
 22        // ReSharper disable once InconsistentNaming
 3223        public bool? UseSSL { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the start admin interface.
 27        /// </summary>
 28        /// <value>
 29        /// The start admin interface.
 30        /// </value>
 1831        public bool? StartAdminInterface { get; set; }
 32
 33        /// <summary>
 34        /// Gets or sets the read static mappings.
 35        /// </summary>
 36        /// <value>
 37        /// The read static mappings.
 38        /// </value>
 1839        public bool? ReadStaticMappings { get; set; }
 40
 41        /// <summary>
 42        /// Gets or sets the urls.
 43        /// </summary>
 44        /// <value>
 45        /// The urls.
 46        /// </value>
 2247        public string[] Urls { get; set; }
 48
 49        /// <summary>
 50        /// StartTimeout
 51        /// </summary>
 1852        public int StartTimeout { get; set; } = 10000;
 53    }
 54}
 1using System;
 2using JetBrains.Annotations;
 3using Newtonsoft.Json;
 4using WireMock.Logging;
 5
 6namespace WireMock.Settings
 7{
 8    /// <summary>
 9    /// FluentMockServerSettings
 10    /// </summary>
 11    public class FluentMockServerSettings : IFluentMockServerSettings
 12    {
 13        /// <inheritdoc cref="IFluentMockServerSettings.Port"/>
 14        [PublicAPI]
 13315        public int? Port { get; set; }
 16
 17        /// <inheritdoc cref="IFluentMockServerSettings.UseSSL"/>
 18        [PublicAPI]
 19        // ReSharper disable once InconsistentNaming
 13320        public bool? UseSSL { get; set; }
 21
 22        /// <inheritdoc cref="IFluentMockServerSettings.StartAdminInterface"/>
 23        [PublicAPI]
 9724        public bool? StartAdminInterface { get; set; }
 25
 26        /// <inheritdoc cref="IFluentMockServerSettings.ReadStaticMappings"/>
 27        [PublicAPI]
 9428        public bool? ReadStaticMappings { get; set; }
 29
 30        /// <inheritdoc cref="IFluentMockServerSettings.WatchStaticMappings"/>
 31        [PublicAPI]
 9432        public bool? WatchStaticMappings { get; set; }
 33
 34        /// <inheritdoc cref="IFluentMockServerSettings.ProxyAndRecordSettings"/>
 35        [PublicAPI]
 9836        public IProxyAndRecordSettings ProxyAndRecordSettings { get; set; }
 37
 38        /// <inheritdoc cref="IFluentMockServerSettings.Urls"/>
 39        [PublicAPI]
 9840        public string[] Urls { get; set; }
 41
 42        /// <inheritdoc cref="IFluentMockServerSettings.StartTimeout"/>
 43        [PublicAPI]
 9444        public int StartTimeout { get; set; } = 10000;
 45
 46        /// <inheritdoc cref="IFluentMockServerSettings.AllowPartialMapping"/>
 47        [PublicAPI]
 9448        public bool? AllowPartialMapping { get; set; }
 49
 50        /// <inheritdoc cref="IFluentMockServerSettings.AdminUsername"/>
 51        [PublicAPI]
 5052        public string AdminUsername { get; set; }
 53
 54        /// <inheritdoc cref="IFluentMockServerSettings.AdminPassword"/>
 55        [PublicAPI]
 4756        public string AdminPassword { get; set; }
 57
 58        /// <inheritdoc cref="IFluentMockServerSettings.RequestLogExpirationDuration"/>
 59        [PublicAPI]
 4760        public int? RequestLogExpirationDuration { get; set; }
 61
 62        /// <inheritdoc cref="IFluentMockServerSettings.MaxRequestLogCount"/>
 63        [PublicAPI]
 9464        public int? MaxRequestLogCount { get; set; }
 65
 66        /// <inheritdoc cref="IFluentMockServerSettings.PreWireMockMiddlewareInit"/>
 67        [PublicAPI]
 68        [JsonIgnore]
 4769        public Action<object> PreWireMockMiddlewareInit { get; set; }
 70
 71        /// <inheritdoc cref="IFluentMockServerSettings.PostWireMockMiddlewareInit"/>
 72        [PublicAPI]
 73        [JsonIgnore]
 4774        public Action<object> PostWireMockMiddlewareInit { get; set; }
 75
 76        /// <inheritdoc cref="IFluentMockServerSettings.Logger"/>
 77        [PublicAPI]
 78        [JsonIgnore]
 19079        public IWireMockLogger Logger { get; set; } = new WireMockNullLogger();
 80    }
 81}
-
+
diff --git a/report/WireMock.Net_GlobalExceptionMiddleware.htm b/report/WireMock.Net_GlobalExceptionMiddleware.htm new file mode 100644 index 00000000..002195bb --- /dev/null +++ b/report/WireMock.Net_GlobalExceptionMiddleware.htm @@ -0,0 +1,107 @@ + + + + + +WireMock.Owin.GlobalExceptionMiddleware - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Owin.GlobalExceptionMiddleware
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\GlobalExceptionMiddleware.cs
Covered lines:10
Uncovered lines:4
Coverable lines:14
Total lines:56
Line coverage:71.4%
Branch coverage:66.6%
+

Metrics

+ + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
Invoke()9855.5671.43
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\GlobalExceptionMiddleware.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Threading.Tasks;
 3using Newtonsoft.Json;
 4#if !NETSTANDARD
 5using Microsoft.Owin;
 6#else
 7using Microsoft.AspNetCore.Http;
 8#endif
 9
 10namespace WireMock.Owin
 11{
 12#if !NETSTANDARD
 13    internal class GlobalExceptionMiddleware : OwinMiddleware
 14#else
 15    internal class GlobalExceptionMiddleware
 16#endif
 17    {
 18        private readonly WireMockMiddlewareOptions _options;
 19
 20#if !NETSTANDARD
 4721        public GlobalExceptionMiddleware(OwinMiddleware next, WireMockMiddlewareOptions options) : base(next)
 4722        {
 4723            _options = options;
 4724        }
 25#else
 26        public GlobalExceptionMiddleware(RequestDelegate next, WireMockMiddlewareOptions options)
 27        {
 28            Next = next;
 29            _options = options;
 30        }
 31#endif
 32
 33#if NETSTANDARD
 34        public RequestDelegate Next { get; }
 35#endif
 36
 4737        private readonly OwinResponseMapper _responseMapper = new OwinResponseMapper();
 38
 39#if !NETSTANDARD
 40        public override async Task Invoke(IOwinContext ctx)
 41#else
 42        public async Task Invoke(HttpContext ctx)
 43#endif
 5844         {
 45            try
 5846            {
 5847                 await Next?.Invoke(ctx);
 5848            }
 049             catch (Exception ex)
 050            {
 051                _options.Logger.Error("HttpStatusCode set to 500 {0}", ex);
 052                await _responseMapper.MapAsync(new ResponseMessage { StatusCode = 500, Body = JsonConvert.SerializeObjec
 53            }
 5854        }
 55    }
 56}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_HeaderModel.htm b/report/WireMock.Net_HeaderModel.htm index 2e9b3ff2..572bdd28 100644 --- a/report/WireMock.Net_HeaderModel.htm +++ b/report/WireMock.Net_HeaderModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.HeaderModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\HeaderModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\HeaderModel.cs Covered lines:0 Uncovered lines:3 Coverable lines:3 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\HeaderModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\HeaderModel.cs

@@ -64,7 +64,7 @@
#LineLine coverage
 34}
- +

Methods/Properties

diff --git a/report/WireMock.Net_HttpClientHelper.htm b/report/WireMock.Net_HttpClientHelper.htm new file mode 100644 index 00000000..3ed3193a --- /dev/null +++ b/report/WireMock.Net_HttpClientHelper.htm @@ -0,0 +1,129 @@ + + + + + +WireMock.Http.HttpClientHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Http.HttpClientHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpClientHelper.cs
Covered lines:23
Uncovered lines:5
Coverable lines:28
Total lines:78
Line coverage:82.1%
Branch coverage:50%
+

Metrics

+ + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
CreateHttpClient(...)3266.6766.67
SendAsync()50100100
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpClientHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Net;
 3using System.Net.Http;
 4using System.Threading.Tasks;
 5using JetBrains.Annotations;
 6using WireMock.HttpsCertificate;
 7using WireMock.Validation;
 8
 9namespace WireMock.Http
 10{
 11    internal static class HttpClientHelper
 12    {
 13        public static HttpClient CreateHttpClient(string clientX509Certificate2ThumbprintOrSubjectName = null)
 814        {
 15#if NETSTANDARD
 16            var handler = new HttpClientHandler
 17            {
 18                CheckCertificateRevocationList = false,
 19                SslProtocols = System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslPro
 20                ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true,
 21                AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
 22            };
 23#elif NET46
 24            var handler = new HttpClientHandler
 25            {
 26                ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true,
 27                AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
 28            };
 29            ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;
 30#else
 831            var handler = new WebRequestHandler
 832            {
 833                ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true,
 834                AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
 835            };
 836            ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;
 37#endif
 38
 839             if (!string.IsNullOrEmpty(clientX509Certificate2ThumbprintOrSubjectName))
 040            {
 041                handler.ClientCertificateOptions = ClientCertificateOption.Manual;
 42
 043                var x509Certificate2 = ClientCertificateHelper.GetCertificate(clientX509Certificate2ThumbprintOrSubjectN
 044                handler.ClientCertificates.Add(x509Certificate2);
 045            }
 46
 47            // For proxy we shouldn't follow auto redirects
 848            handler.AllowAutoRedirect = false;
 49
 50            // If UseCookies enabled, httpClient ignores Cookie header
 851            handler.UseCookies = false;
 52
 853            var client = new HttpClient(handler);
 54#if NET452 || NET46
 855            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityPro
 56#endif
 857            return client;
 858        }
 59
 60        public static async Task<ResponseMessage> SendAsync([NotNull] HttpClient client, [NotNull] RequestMessage reques
 861        {
 862            Check.NotNull(client, nameof(client));
 863            Check.NotNull(requestMessage, nameof(requestMessage));
 64
 865            var originalUri = new Uri(requestMessage.Url);
 866            var requiredUri = new Uri(url);
 67
 68            // Create HttpRequestMessage
 869            var httpRequestMessage = HttpRequestMessageHelper.Create(requestMessage, url);
 70
 71            // Call the URL
 872            var httpResponseMessage = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseContentRea
 73
 74            // Parse httpResponseMessage
 875            return await HttpResponseMessageHelper.Create(httpResponseMessage, requiredUri, originalUri);
 876        }
 77    }
 78}
+
+
+ +
+ + \ No newline at end of file diff --git a/report/WireMock.Net_HttpKnownHeaderNames.htm b/report/WireMock.Net_HttpKnownHeaderNames.htm new file mode 100644 index 00000000..51f106ce --- /dev/null +++ b/report/WireMock.Net_HttpKnownHeaderNames.htm @@ -0,0 +1,30 @@ + + + + + +WireMock.Http.HttpKnownHeaderNames - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Http.HttpKnownHeaderNames
Assembly:WireMock.Net
File(s):
Covered lines:0
Uncovered lines:0
Coverable lines:0
Total lines:0
Line coverage:
+

File(s)

+

No files found. This usually happens if a file isn't covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).

+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_HttpRequestMessageHelper.htm b/report/WireMock.Net_HttpRequestMessageHelper.htm new file mode 100644 index 00000000..53bd1204 --- /dev/null +++ b/report/WireMock.Net_HttpRequestMessageHelper.htm @@ -0,0 +1,135 @@ + + + + + +WireMock.Http.HttpRequestMessageHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Http.HttpRequestMessageHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpRequestMessageHelper.cs
Covered lines:50
Uncovered lines:5
Coverable lines:55
Total lines:86
Line coverage:90.9%
Branch coverage:87.5%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Create(...)20409691.3888
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpRequestMessageHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Net.Http;
 5using System.Text;
 6using MimeKit;
 7using Newtonsoft.Json;
 8
 9namespace WireMock.Http
 10{
 11    internal static class HttpRequestMessageHelper
 12    {
 13        public static HttpRequestMessage Create(RequestMessage requestMessage, string url)
 1514        {
 1515            var httpRequestMessage = new HttpRequestMessage(new HttpMethod(requestMessage.Method), url);
 16
 1517            ContentType contentType = null;
 1518             if (requestMessage.Headers != null && requestMessage.Headers.ContainsKey(HttpKnownHeaderNames.ContentType))
 719            {
 720                var value = requestMessage.Headers[HttpKnownHeaderNames.ContentType].FirstOrDefault();
 721                ContentType.TryParse(value, out contentType);
 722            }
 23
 24            // Set Body if present
 1525             if (requestMessage.BodyAsBytes != null)
 126            {
 127                httpRequestMessage.Content = new ByteArrayContent(requestMessage.BodyAsBytes);
 128            }
 1429             else if (requestMessage.BodyAsJson != null)
 230            {
 231                 if (contentType != null)
 132                {
 133                     var encoding = requestMessage.BodyEncoding ?? Encoding.GetEncoding(contentType.Charset ?? "UTF-8");
 134                    httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(requestMessage.BodyAsJson
 135                }
 36                else
 137                {
 138                    httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(requestMessage.BodyAsJson
 139                }
 240            }
 1241             else if (requestMessage.Body != null)
 742            {
 743                 if (contentType != null)
 644                {
 645                     var encoding = requestMessage.BodyEncoding ?? Encoding.GetEncoding(contentType.Charset ?? "UTF-8");
 646                    httpRequestMessage.Content = new StringContent(requestMessage.Body, encoding, contentType.MimeType);
 647                }
 48                else
 149                {
 150                    httpRequestMessage.Content = new StringContent(requestMessage.Body, requestMessage.BodyEncoding);
 151                }
 752            }
 53
 54            // Overwrite the host header
 1555            httpRequestMessage.Headers.Host = new Uri(url).Authority;
 56
 57            // Set other headers if present and if not excluded
 1558             if (requestMessage.Headers == null || requestMessage.Headers.Count == 0)
 259            {
 260                return httpRequestMessage;
 61            }
 62
 1363            var excludeHeaders = new List<string> { HttpKnownHeaderNames.Host, HttpKnownHeaderNames.ContentLength };
 1364             if (contentType != null)
 765            {
 766                excludeHeaders.Add(HttpKnownHeaderNames.ContentType);
 767            }
 68
 10269            foreach (var header in requestMessage.Headers.Where(h => !excludeHeaders.Contains(h.Key, StringComparer.Ordi
 1570            {
 71                // Try to add to request headers. If failed - try to add to content headers
 1572                 if (httpRequestMessage.Headers.Contains(header.Key))
 073                {
 074                    continue;
 75                }
 76
 1577                 if (!httpRequestMessage.Headers.TryAddWithoutValidation(header.Key, header.Value))
 078                {
 079                    httpRequestMessage.Content.Headers.TryAddWithoutValidation(header.Key, header.Value);
 080                }
 1581            }
 82
 1383            return httpRequestMessage;
 1584        }
 85    }
 86}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_HttpResponseMessageHelper.htm b/report/WireMock.Net_HttpResponseMessageHelper.htm new file mode 100644 index 00000000..e7a58912 --- /dev/null +++ b/report/WireMock.Net_HttpResponseMessageHelper.htm @@ -0,0 +1,102 @@ + + + + + +WireMock.Http.HttpResponseMessageHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Http.HttpResponseMessageHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpResponseMessageHelper.cs
Covered lines:31
Uncovered lines:0
Coverable lines:31
Total lines:53
Line coverage:100%
Branch coverage:75%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Create()186410076.92
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\HttpResponseMessageHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Net.Http;
 5using System.Threading.Tasks;
 6using WireMock.Util;
 7
 8namespace WireMock.Http
 9{
 10    internal static class HttpResponseMessageHelper
 11    {
 12        public static async Task<ResponseMessage> Create(HttpResponseMessage httpResponseMessage, Uri requiredUri, Uri o
 813        {
 814            var responseMessage = new ResponseMessage { StatusCode = (int)httpResponseMessage.StatusCode };
 15
 16            // Set both content and response headers, replacing URLs in values
 817             var headers = (httpResponseMessage.Content?.Headers.Union(httpResponseMessage.Headers) ?? Enumerable.Empty<K
 818             if (httpResponseMessage.Content != null)
 819            {
 820                var stream = await httpResponseMessage.Content.ReadAsStreamAsync();
 821                IEnumerable<string> contentTypeHeader = null;
 2822                 if (headers.Any(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentType, StringComparison.O
 323                {
 724                    contentTypeHeader = headers.First(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentTy
 325                }
 26
 827                 var body = await BodyParser.Parse(stream, contentTypeHeader?.FirstOrDefault());
 828                responseMessage.Body = body.BodyAsString;
 829                responseMessage.BodyAsJson = body.BodyAsJson;
 830                responseMessage.BodyAsBytes = body.BodyAsBytes;
 831            }
 32
 9233            foreach (var header in headers)
 3434            {
 35                // If Location header contains absolute redirect URL, and base URL is one that we proxy to,
 36                // we need to replace it to original one.
 3437                 if (string.Equals(header.Key, HttpKnownHeaderNames.Location, StringComparison.OrdinalIgnoreCase)
 3438                    && Uri.TryCreate(header.Value.First(), UriKind.Absolute, out Uri absoluteLocationUri)
 3439                    && string.Equals(absoluteLocationUri.Host, requiredUri.Host, StringComparison.OrdinalIgnoreCase))
 140                {
 141                    var replacedLocationUri = new Uri(originalUri, absoluteLocationUri.PathAndQuery);
 142                    responseMessage.AddHeader(header.Key, replacedLocationUri.ToString());
 143                }
 44                else
 3345                {
 3346                    responseMessage.AddHeader(header.Key, header.Value.ToArray());
 3347                }
 3448            }
 49
 850            return responseMessage;
 851        }
 52    }
 53}
+
+
+
+

Methods/Properties

+Create()
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_JsonPathMatcher.htm b/report/WireMock.Net_JsonPathMatcher.htm index 8c0119a8..b0867207 100644 --- a/report/WireMock.Net_JsonPathMatcher.htm +++ b/report/WireMock.Net_JsonPathMatcher.htm @@ -15,12 +15,12 @@ Class:WireMock.Matchers.JsonPathMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\JSONPathMatcher.cs -Covered lines:11 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\JsonPathMatcher.cs +Covered lines:23 Uncovered lines:10 -Coverable lines:21 -Total lines:68 -Line coverage:52.3% +Coverable lines:33 +Total lines:88 +Line coverage:69.6% Branch coverage:50% @@ -29,13 +29,14 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -IsMatch(...)226066.67 -GetPatterns()1000 -GetName()1000 +IsMatch(...)2254.5566.67 +IsMatch(...)3454.5560 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\JSONPathMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\JsonPathMatcher.cs

@@ -51,72 +52,93 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 10    /// JSONPathMatcher
 11    /// </summary>
 12    /// <seealso cref="IMatcher" />
 13    public class JsonPathMatcher : IMatcher
 13    public class JsonPathMatcher : IStringMatcher, IObjectMatcher
 14    {
 15        private readonly string[] _patterns;
 16
 17        /// <summary>
 18        /// Initializes a new instance of the <see cref="JsonPathMatcher"/> class.
 19        /// </summary>
 20        /// <param name="patterns">The patterns.</param>
 221        public JsonPathMatcher([NotNull] params string[] patterns)
 222        {
 223            Check.NotNull(patterns, nameof(patterns));
 24
 225            _patterns = patterns;
 226        }
 27
 28        /// <summary>
 29        /// Determines whether the specified input is match.
 30        /// </summary>
 31        /// <param name="input">The input string</param>
 32        /// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
 33        public double IsMatch(string input)
 234        {
 235             if (input == null)
 036                return MatchScores.Mismatch;
 37
 38            try
 239            {
 240                JObject o = JObject.Parse(input);
 41
 442                return MatchScores.ToScore(_patterns.Select(p => o.SelectToken(p) != null));
 43            }
 044            catch (Exception)
 045            {
 046                return MatchScores.Mismatch;
 47            }
 248        }
 49
 50        /// <summary>
 51        /// Gets the patterns.
 52        /// </summary>
 53        /// <returns>Pattern</returns>
 54        public string[] GetPatterns()
 055        {
 056            return _patterns;
 057        }
 58
 59        /// <summary>
 60        /// Gets the name.
 61        /// </summary>
 62        /// <returns>Name</returns>
 63        public string GetName()
 064        {
 065            return "JsonPathMatcher";
 066        }
 67    }
 68}
 15        // private readonly object _jsonPattern;
 16        private readonly string[] _patterns;
 17
 18        /// <summary>
 19        /// Initializes a new instance of the <see cref="JsonPathMatcher"/> class.
 20        /// </summary>
 21        /// <param name="patterns">The patterns.</param>
 722        public JsonPathMatcher([NotNull] params string[] patterns)
 723        {
 724            Check.NotNull(patterns, nameof(patterns));
 25
 726            _patterns = patterns;
 727        }
 28
 29        //public JsonPathMatcher([NotNull] object jsonPattern)
 30        //{
 31        //    Check.NotNull(jsonPattern, nameof(jsonPattern));
 32
 33        //    _jsonPattern = jsonPattern;
 34        //}
 35
 36        /// <inheritdoc cref="IStringMatcher.IsMatch"/>
 37        public double IsMatch(string input)
 238        {
 239             if (input == null)
 040            {
 041                return MatchScores.Mismatch;
 42            }
 43
 44            try
 245            {
 246                JObject o = JObject.Parse(input);
 47
 648                return MatchScores.ToScore(_patterns.Select(p => o.SelectToken(p) != null));
 49            }
 050            catch (Exception)
 051            {
 052                return MatchScores.Mismatch;
 53            }
 254        }
 55
 56        /// <inheritdoc cref="IObjectMatcher.IsMatch"/>
 57        public double IsMatch(object input)
 358        {
 359             if (input == null)
 060            {
 061                return MatchScores.Mismatch;
 62            }
 63
 64            try
 365            {
 366                 var o = input as JObject ?? JObject.FromObject(input);
 67
 968                return MatchScores.ToScore(_patterns.Select(p => o.SelectToken(p) != null));
 69            }
 070            catch (Exception)
 071            {
 072                return MatchScores.Mismatch;
 73            }
 374        }
 75
 76        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 77        public string[] GetPatterns()
 178        {
 179            return _patterns;
 180        }
 81
 82        /// <inheritdoc cref="IMatcher.GetName"/>
 83        public string GetName()
 184        {
 185            return "JsonPathMatcher";
 186        }
 87    }
 88}
-
+
diff --git a/report/WireMock.Net_JsonUtils.htm b/report/WireMock.Net_JsonUtils.htm index c521451c..6963984c 100644 --- a/report/WireMock.Net_JsonUtils.htm +++ b/report/WireMock.Net_JsonUtils.htm @@ -15,12 +15,12 @@ Class:WireMock.Util.JsonUtils Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Util\JsonUtils.cs -Covered lines:6 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\JsonUtils.cs +Covered lines:5 Uncovered lines:2 -Coverable lines:8 -Total lines:19 -Line coverage:75% +Coverable lines:7 +Total lines:18 +Line coverage:71.4% Branch coverage:50% @@ -28,11 +28,11 @@ - +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
ParseJTokenToObject(...)347560
ParseJTokenToObject(...)3471.4360

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Util\JsonUtils.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\JsonUtils.cs

@@ -45,19 +45,18 @@ - - - - - - - - - - + + + + + + + + +
#LineLine coverage
 7        public static T ParseJTokenToObject<T>(object value)
 48        {
 49             if (value == null)
 010                return default(T);
 11
 412            JToken token = value as JToken;
 413             if (token == null)
 014                return default(T);
 15
 416            return token.ToObject<T>();
 417        }
 18    }
 19}
 010            {
 011                return default(T);
 12            }
 13
 414            var token = value as JToken;
 415             return token == null ? default(T) : token.ToObject<T>();
 416        }
 17    }
 18}
- +

Methods/Properties

diff --git a/report/WireMock.Net_LogEntry.htm b/report/WireMock.Net_LogEntry.htm index 943663aa..a734e9f3 100644 --- a/report/WireMock.Net_LogEntry.htm +++ b/report/WireMock.Net_LogEntry.htm @@ -15,7 +15,7 @@ Class:WireMock.Logging.LogEntry Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Logging\LogEntry.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\LogEntry.cs Covered lines:6 Uncovered lines:0 Coverable lines:6 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Logging\LogEntry.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\LogEntry.cs

@@ -44,7 +44,7 @@ - + @@ -52,7 +52,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -84,12 +84,12 @@ - +
#LineLine coverage
 14        /// <value>
 15        /// The unique identifier.
 16        /// </value>
 1317        public Guid Guid { get; set; }
 6017        public Guid Guid { get; set; }
 18
 19        /// <summary>
 20        /// Gets or sets the request message.
 22        /// <value>
 23        /// The request message.
 24        /// </value>
 1925        public RequestMessage RequestMessage { get; set; }
 10025        public RequestMessage RequestMessage { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the response message.
 30        /// <value>
 31        /// The response message.
 32        /// </value>
 1333        public ResponseMessage ResponseMessage { get; set; }
 8433        public ResponseMessage ResponseMessage { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the request match result.
 38        /// <value>
 39        /// The request match result.
 40        /// </value>
 1341        public RequestMatchResult RequestMatchResult { get; set; }
 6041        public RequestMatchResult RequestMatchResult { get; set; }
 42
 43        /// <summary>
 44        /// Gets or sets the mapping unique identifier.
 46        /// <value>
 47        /// The mapping unique identifier.
 48        /// </value>
 1349        public Guid? MappingGuid { get; set; }
 6049        public Guid? MappingGuid { get; set; }
 50
 51        /// <summary>
 52        /// Gets or sets the mapping unique title.
 54        /// <value>
 55        /// The mapping unique title.
 56        /// </value>
 1357        public string MappingTitle { get; set; }
 6057        public string MappingTitle { get; set; }
 58    }
 59}
-
+

Methods/Properties

diff --git a/report/WireMock.Net_LogEntryModel.htm b/report/WireMock.Net_LogEntryModel.htm index 0996743b..2f3ec426 100644 --- a/report/WireMock.Net_LogEntryModel.htm +++ b/report/WireMock.Net_LogEntryModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Requests.LogEntryModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogEntryModel.cs -Covered lines:0 -Uncovered lines:6 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogEntryModel.cs +Covered lines:6 +Uncovered lines:0 Coverable lines:6 -Total lines:58 -Line coverage:0% +Total lines:40 +Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogEntryModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogEntryModel.cs

@@ -38,72 +38,54 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 8    public class LogEntryModel
 9    {
 10        /// <summary>
 11        /// Gets or sets the unique identifier.
 11        /// The unique identifier.
 12        /// </summary>
 13        /// <value>
 14        /// The unique identifier.
 15        /// </value>
 016        public Guid Guid { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the request.
 20        /// </summary>
 21        /// <value>
 22        /// The request.
 23        /// </value>
 024        public LogRequestModel Request { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the response.
 28        /// </summary>
 29        /// <value>
 30        /// The response.
 31        /// </value>
 032        public LogResponseModel Response { get; set; }
 33
 34        /// <summary>
 35        /// Gets or sets the mapping unique identifier.
 36        /// </summary>
 37        /// <value>
 38        /// The mapping unique identifier.
 39        /// </value>
 040        public Guid? MappingGuid { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the mapping unique title.
 44        /// </summary>
 45        /// <value>
 46        /// The mapping unique title.
 47        /// </value>
 048        public string MappingTitle { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets the request match result.
 52        /// </summary>
 53        /// <value>
 54        /// The request match result.
 55        /// </value>
 056        public LogRequestMatchModel RequestMatchResult { get; set; }
 57    }
 58}
 613        public Guid Guid { get; set; }
 14
 15        /// <summary>
 16        /// The request.
 17        /// </summary>
 1418        public LogRequestModel Request { get; set; }
 19
 20        /// <summary>
 21        /// The response.
 22        /// </summary>
 823        public LogResponseModel Response { get; set; }
 24
 25        /// <summary>
 26        /// The mapping unique identifier.
 27        /// </summary>
 428        public Guid? MappingGuid { get; set; }
 29
 30        /// <summary>
 31        /// The mapping unique title.
 32        /// </summary>
 433        public string MappingTitle { get; set; }
 34
 35        /// <summary>
 36        /// The request match result.
 37        /// </summary>
 438        public LogRequestMatchModel RequestMatchResult { get; set; }
 39    }
 40}
-
+
diff --git a/report/WireMock.Net_LogRequestMatchModel.htm b/report/WireMock.Net_LogRequestMatchModel.htm index 5bcda715..bd3362e3 100644 --- a/report/WireMock.Net_LogRequestMatchModel.htm +++ b/report/WireMock.Net_LogRequestMatchModel.htm @@ -15,73 +15,85 @@ Class:WireMock.Admin.Requests.LogRequestMatchModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestMatchModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestMatchModel.cs Covered lines:0 -Uncovered lines:4 -Coverable lines:4 -Total lines:40 +Uncovered lines:5 +Coverable lines:5 +Total lines:50 Line coverage:0%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestMatchModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestMatchModel.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1namespace WireMock.Admin.Requests
 2{
 3    /// <summary>
 4    /// LogRequestMatchModel
 5    /// </summary>
 6    public class LogRequestMatchModel
 7    {
 8        /// <summary>
 9        /// Gets or sets the match-score.
 10        /// </summary>
 11        /// <value>
 12        /// The match-score.
 13        /// </value>
 014        public double TotalScore { get; set; }
 15
 16        /// <summary>
 17        /// Gets or sets the total number of matches.
 18        /// </summary>
 19        /// <value>
 20        /// The total number of matches.
 21        /// </value>
 022        public int TotalNumber { get; set; }
 23
 24        /// <summary>
 25        /// Gets or sets a value indicating whether this instance is perfect match.
 26        /// </summary>
 27        /// <value>
 28        /// <c>true</c> if this instance is perfect match; otherwise, <c>false</c>.
 29        /// </value>
 030        public bool IsPerfectMatch { get; set; }
 31
 32        /// <summary>
 33        /// Gets the match percentage.
 34        /// </summary>
 35        /// <value>
 36        /// The match percentage.
 37        /// </value>
 038        public double AverageTotalScore { get; set; }
 39    }
 40}
 1using System.Collections.Generic;
 2
 3namespace WireMock.Admin.Requests
 4{
 5    /// <summary>
 6    /// LogRequestMatchModel
 7    /// </summary>
 8    public class LogRequestMatchModel
 9    {
 10        /// <summary>
 11        /// Gets or sets the match-score.
 12        /// </summary>
 13        /// <value>
 14        /// The match-score.
 15        /// </value>
 016        public double TotalScore { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the total number of matches.
 20        /// </summary>
 21        /// <value>
 22        /// The total number of matches.
 23        /// </value>
 024        public int TotalNumber { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets a value indicating whether this instance is perfect match.
 28        /// </summary>
 29        /// <value>
 30        /// <c>true</c> if this instance is perfect match; otherwise, <c>false</c>.
 31        /// </value>
 032        public bool IsPerfectMatch { get; set; }
 33
 34        /// <summary>
 35        /// Gets the match percentage.
 36        /// </summary>
 37        /// <value>
 38        /// The match percentage.
 39        /// </value>
 040        public double AverageTotalScore { get; set; }
 41
 42        /// <summary>
 43        /// Gets the match details.
 44        /// </summary>
 45        /// <value>
 46        /// The match details.
 47        /// </value>
 048        public IList<object> MatchDetails { get; set; }
 49    }
 50}
- + diff --git a/report/WireMock.Net_LogRequestModel.htm b/report/WireMock.Net_LogRequestModel.htm index 2e0aee7f..5c188407 100644 --- a/report/WireMock.Net_LogRequestModel.htm +++ b/report/WireMock.Net_LogRequestModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Requests.LogRequestModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs -Covered lines:0 -Uncovered lines:9 -Coverable lines:9 -Total lines:79 -Line coverage:0% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs +Covered lines:12 +Uncovered lines:0 +Coverable lines:12 +Total lines:73 +Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs

@@ -41,96 +41,96 @@ - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - + + + + + + + +
#LineLine coverage
 11    public class LogRequestModel
 12    {
 13        /// <summary>
 14        /// Gets the DateTime.
 14        /// The Client IP Address.
 15        /// </summary>
 016        public DateTime DateTime { get; set; }
 616        public string ClientIP { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the Path.
 19        /// The DateTime.
 20        /// </summary>
 21        /// <value>
 22        /// The Path.
 23        /// </value>
 024        public string Path { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the absolete URL.
 28        /// </summary>
 29        /// <value>
 30        /// The absolute URL.
 31        /// </value>
 032        public string AbsoluteUrl { get; set; }
 33
 34        /// <summary>
 35        /// Gets the query.
 36        /// </summary>
 037        public IDictionary<string, WireMockList<string>> Query { get; set; }
 38
 39        /// <summary>
 40        /// Gets or sets the method.
 41        /// </summary>
 42        /// <value>
 43        /// The method.
 44        /// </value>
 045        public string Method { get; set; }
 46
 47        /// <summary>
 48        /// Gets or sets the Headers.
 49        /// </summary>
 50        /// <value>
 51        /// The Headers.
 52        /// </value>
 053        public IDictionary<string, string> Headers { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets the Cookies.
 57        /// </summary>
 58        /// <value>
 59        /// The Cookies.
 60        /// </value>
 061        public IDictionary<string, string> Cookies { get; set; }
 621        public DateTime DateTime { get; set; }
 22
 23        /// <summary>
 24        /// The Path.
 25        /// </summary>
 826        public string Path { get; set; }
 27
 28        /// <summary>
 29        ///The absolete URL.
 30        /// </summary>
 631        public string AbsoluteUrl { get; set; }
 32
 33        /// <summary>
 34        /// The query.
 35        /// </summary>
 436        public IDictionary<string, WireMockList<string>> Query { get; set; }
 37
 38        /// <summary>
 39        /// The method.
 40        /// </summary>
 841        public string Method { get; set; }
 42
 43        /// <summary>
 44        /// The Headers.
 45        /// </summary>
 846        public IDictionary<string, WireMockList<string>> Headers { get; set; }
 47
 48        /// <summary>
 49        /// Tthe Cookies.
 50        /// </summary>
 451        public IDictionary<string, string> Cookies { get; set; }
 52
 53        /// <summary>
 54        /// The body (as string).
 55        /// </summary>
 656        public string Body { get; set; }
 57
 58        /// <summary>
 59        /// The body (as JSON object).
 60        /// </summary>
 461        public object BodyAsJson { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the body.
 64        /// The body (as bytearray).
 65        /// </summary>
 66        /// <value>
 67        /// The body.
 68        /// </value>
 069        public string Body { get; set; }
 70
 71        /// <summary>
 72        /// Gets or sets the body encoding.
 73        /// </summary>
 74        /// <value>
 75        /// The body encoding.
 76        /// </value>
 077        public EncodingModel BodyEncoding { get; set; }
 78    }
 79}
 466        public byte[] BodyAsBytes { get; set; }
 67
 68        /// <summary>
 69        /// The body encoding.
 70        /// </summary>
 471        public EncodingModel BodyEncoding { get; set; }
 72    }
 73}
- + diff --git a/report/WireMock.Net_LogResponseModel.htm b/report/WireMock.Net_LogResponseModel.htm index 7620cf73..446d5dd4 100644 --- a/report/WireMock.Net_LogResponseModel.htm +++ b/report/WireMock.Net_LogResponseModel.htm @@ -15,79 +15,115 @@ Class:WireMock.Admin.Requests.LogResponseModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogResponseModel.cs -Covered lines:0 -Uncovered lines:5 -Coverable lines:5 -Total lines:36 -Line coverage:0% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogResponseModel.cs +Covered lines:10 +Uncovered lines:0 +Coverable lines:10 +Total lines:62 +Line coverage:100%

Metrics

- +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()1000
.ctor()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogResponseModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogResponseModel.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections.Generic;
 2using WireMock.Admin.Mappings;
 3
 4namespace WireMock.Admin.Requests
 5{
 6    /// <summary>
 7    /// Response MessageModel
 8    /// </summary>
 9    public class LogResponseModel
 10    {
 11        /// <summary>
 12        /// Gets or sets the status code.
 13        /// </summary>
 014        public int StatusCode { get; set; } = 200;
 15
 16        /// <summary>
 17        /// Gets the headers.
 18        /// </summary>
 019        public IDictionary<string, string> Headers { get; set; }
 20
 21        /// <summary>
 22        /// Gets or sets the body.
 23        /// </summary>
 024        public string Body { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the original body.
 28        /// </summary>
 029        public string BodyOriginal { get; set; }
 30
 31        /// <summary>
 32        /// Gets or sets the body.
 33        /// </summary>
 034        public EncodingModel BodyEncoding { get; set; }
 35    }
 36}
 3using WireMock.Util;
 4
 5namespace WireMock.Admin.Requests
 6{
 7    /// <summary>
 8    /// Response MessageModel
 9    /// </summary>
 10    public class LogResponseModel
 11    {
 12        /// <summary>
 13        /// Gets or sets the status code.
 14        /// </summary>
 1015        public int StatusCode { get; set; } = 200;
 16
 17        /// <summary>
 18        /// Gets the headers.
 19        /// </summary>
 820        public IDictionary<string, WireMockList<string>> Headers { get; set; }
 21
 22        /// <summary>
 23        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 24        /// </summary>
 425        public string BodyDestination { get; set; }
 26
 27        /// <summary>
 28        /// The body (as string).
 29        /// </summary>
 630        public string Body { get; set; }
 31
 32        /// <summary>
 33        /// The body (as JSON object).
 34        /// </summary>
 435        public object BodyAsJson { get; set; }
 36
 37        /// <summary>
 38        /// The body (as bytearray).
 39        /// </summary>
 440        public byte[] BodyAsBytes { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the body as file.
 44        /// </summary>
 445        public string BodyAsFile { get; set; }
 46
 47        /// <summary>
 48        /// Is the body as file cached?
 49        /// </summary>
 450        public bool? BodyAsFileIsCached { get; set; }
 51
 52        /// <summary>
 53        /// Gets or sets the original body.
 54        /// </summary>
 455        public string BodyOriginal { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the body.
 59        /// </summary>
 860        public EncodingModel BodyEncoding { get; set; }
 61    }
 62}
- + diff --git a/report/WireMock.Net_Mapping.htm b/report/WireMock.Net_Mapping.htm index 76634860..2f137fe8 100644 --- a/report/WireMock.Net_Mapping.htm +++ b/report/WireMock.Net_Mapping.htm @@ -15,25 +15,26 @@ Class:WireMock.Mapping Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Mapping.cs -Covered lines:22 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Mapping.cs +Covered lines:36 Uncovered lines:0 -Coverable lines:22 -Total lines:96 +Coverable lines:36 +Total lines:140 Line coverage:100% +Branch coverage:100%

Metrics

- - - + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
IsRequestHandled(...)10100100
ResponseTo()30100100
.ctor(...)10100100
GetRequestMatchResult(...)22100100
ResponseToAsync()30100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Mapping.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Mapping.cs

@@ -41,113 +42,163 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 2using System.Threading.Tasks;
 3using JetBrains.Annotations;
 4using WireMock.Matchers.Request;
 5
 6namespace WireMock
 7{
 8    /// <summary>
 9    /// The Mapping.
 10    /// </summary>
 11    public class Mapping
 12    {
 13        /// <summary>
 14        /// Gets the unique identifier.
 15        /// </summary>
 16        /// <value>
 17        /// The unique identifier.
 18        /// </value>
 3519        public Guid Guid { get; }
 20
 21        /// <summary>
 22        /// Gets the unique title.
 23        /// </summary>
 24        /// <value>
 25        /// The unique title.
 26        /// </value>
 927        public string Title { get; }
 5using WireMock.ResponseProviders;
 6
 7namespace WireMock
 8{
 9    /// <summary>
 10    /// The Mapping.
 11    /// </summary>
 12    public class Mapping
 13    {
 14        /// <summary>
 15        /// Gets the unique identifier.
 16        /// </summary>
 25917        public Guid Guid { get; }
 18
 19        /// <summary>
 20        /// Gets the unique title.
 21        /// </summary>
 5022        public string Title { get; }
 23
 24        /// <summary>
 25        /// The full filename path for this mapping (only defined for static mappings).
 26        /// </summary>
 10627        public string Path { get; set; }
 28
 29        /// <summary>
 30        /// Gets the priority.
 31        /// </summary>
 32        /// <value>
 33        /// The priority.
 34        /// </value>
 1235        public int Priority { get; }
 36
 37        /// <summary>
 38        /// The Request matcher.
 39        /// </summary>
 1340        public IRequestMatcher RequestMatcher { get; }
 41
 42        /// <summary>
 43        /// The Provider.
 44        /// </summary>
 1845        public IResponseProvider Provider { get; }
 46
 47        /// <summary>
 48        /// Initializes a new instance of the <see cref="Mapping"/> class.
 17132        public int Priority { get; }
 33
 34        /// <summary>
 35        /// Scenario.
 36        /// </summary>
 37        [CanBeNull]
 55138        public string Scenario { get; }
 39
 40        /// <summary>
 41        /// Execution state condition for the current mapping.
 42        /// </summary>
 43        [CanBeNull]
 1744        public object ExecutionConditionState { get; }
 45
 46        /// <summary>
 47        /// The next state which will be signaled after the current mapping execution.
 48        /// In case the value is null state will not be changed.
 49        /// </summary>
 50        /// <param name="guid">The unique identifier.</param>
 51        /// <param name="title">The unique title (can be null_.</param>
 52        /// <param name="requestMatcher">The request matcher.</param>
 53        /// <param name="provider">The provider.</param>
 54        /// <param name="priority">The priority for this mapping.</param>
 1755        public Mapping(Guid guid, [CanBeNull] string title, IRequestMatcher requestMatcher, IResponseProvider provider, 
 1756        {
 1757            Priority = priority;
 1758            Guid = guid;
 1759            Title = title;
 1760            RequestMatcher = requestMatcher;
 1761            Provider = provider;
 1762        }
 63
 64        /// <summary>
 65        /// The response to.
 66        /// </summary>
 67        /// <param name="requestMessage">The request message.</param>
 68        /// <returns>The <see cref="Task"/>.</returns>
 69        public async Task<ResponseMessage> ResponseTo(RequestMessage requestMessage)
 770        {
 771            return await Provider.ProvideResponse(requestMessage);
 772        }
 73
 74        /// <summary>
 75        /// Determines whether the RequestMessage is handled.
 76        /// </summary>
 77        /// <param name="requestMessage">The request message.</param>
 78        /// <returns>The <see cref="RequestMatchResult"/>.</returns>
 79        public RequestMatchResult IsRequestHandled(RequestMessage requestMessage)
 1080        {
 1081            var result = new RequestMatchResult();
 82
 1083            RequestMatcher.GetMatchingScore(requestMessage, result);
 84
 1085            return result;
 1086        }
 87
 88        /// <summary>
 89        /// Gets a value indicating whether this mapping is an Admin Interface.
 90        /// </summary>
 91        /// <value>
 92        /// <c>true</c> if this mapping is an Admin Interface; otherwise, <c>false</c>.
 93        /// </value>
 794        public bool IsAdminInterface => Provider is DynamicResponseProvider;
 95    }
 96}
 50        [CanBeNull]
 951        public object NextState { get; }
 52
 53        /// <summary>
 54        /// The Request matcher.
 55        /// </summary>
 15356        public IRequestMatcher RequestMatcher { get; }
 57
 58        /// <summary>
 59        /// The Provider.
 60        /// </summary>
 44961        public IResponseProvider Provider { get; }
 62
 63        /// <summary>
 64        /// Is State started ?
 65        /// </summary>
 366        public bool IsStartState => Scenario == null || Scenario != null && NextState != null && ExecutionConditionState
 67
 68        /// <summary>
 69        /// Initializes a new instance of the <see cref="Mapping"/> class.
 70        /// </summary>
 71        /// <param name="guid">The unique identifier.</param>
 72        /// <param name="title">The unique title (can be null).</param>
 73        /// <param name="path">The full file path from this mapping title (can be null).</param>
 74        /// <param name="requestMatcher">The request matcher.</param>
 75        /// <param name="provider">The provider.</param>
 76        /// <param name="priority">The priority for this mapping.</param>
 77        /// <param name="scenario">The scenario. [Optional]</param>
 78        /// <param name="executionConditionState">State in which the current mapping can occur. [Optional]</param>
 79        /// <param name="nextState">The next state which will occur after the current mapping execution. [Optional]</par
 10680        public Mapping(Guid guid, [CanBeNull] string title, [CanBeNull] string path, IRequestMatcher requestMatcher, IRe
 10681        {
 10682            Guid = guid;
 10683            Title = title;
 10684            Path = path;
 10685            RequestMatcher = requestMatcher;
 10686            Provider = provider;
 10687            Priority = priority;
 10688            Scenario = scenario;
 10689            ExecutionConditionState = executionConditionState;
 10690            NextState = nextState;
 10691        }
 92
 93        /// <summary>
 94        /// The response to.
 95        /// </summary>
 96        /// <param name="requestMessage">The request message.</param>
 97        /// <returns>The <see cref="ResponseMessage"/>.</returns>
 98        public async Task<ResponseMessage> ResponseToAsync(RequestMessage requestMessage)
 4699        {
 46100            return await Provider.ProvideResponseAsync(requestMessage);
 46101        }
 102
 103        /// <summary>
 104        /// Gets the RequestMatchResult based on the RequestMessage.
 105        /// </summary>
 106        /// <param name="requestMessage">The request message.</param>
 107        /// <param name="nextState">The Next State.</param>
 108        /// <returns>The <see cref="RequestMatchResult"/>.</returns>
 109        public RequestMatchResult GetRequestMatchResult(RequestMessage requestMessage, [CanBeNull] object nextState)
 150110        {
 150111            var result = new RequestMatchResult();
 112
 150113            RequestMatcher.GetMatchingScore(requestMessage, result);
 114
 115            // Only check state if Scenario is defined
 150116             if (Scenario != null)
 14117            {
 14118                var matcher = new RequestMessageScenarioAndStateMatcher(nextState, ExecutionConditionState);
 14119                matcher.GetMatchingScore(requestMessage, result);
 120                //// If ExecutionConditionState is null, this means that request is the start from a scenario. So just r
 121                //if (ExecutionConditionState != null)
 122                //{
 123                //    // ExecutionConditionState is not null, so get score for matching with the nextState.
 124                //    var matcher = new RequestMessageScenarioAndStateMatcher(nextState, ExecutionConditionState);
 125                //    matcher.GetMatchingScore(requestMessage, result);
 126                //}
 14127            }
 128
 150129            return result;
 150130        }
 131
 132        /// <summary>
 133        /// Gets a value indicating whether this mapping is an Admin Interface.
 134        /// </summary>
 135        /// <value>
 136        /// <c>true</c> if this mapping is an Admin Interface; otherwise, <c>false</c>.
 137        /// </value>
 139138        public bool IsAdminInterface => Provider is DynamicResponseProvider || Provider is DynamicAsyncResponseProvider 
 139    }
 140}
- + diff --git a/report/WireMock.Net_MappingConverter.htm b/report/WireMock.Net_MappingConverter.htm new file mode 100644 index 00000000..c1e0c2fd --- /dev/null +++ b/report/WireMock.Net_MappingConverter.htm @@ -0,0 +1,217 @@ + + + + + +WireMock.Serialization.MappingConverter - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Serialization.MappingConverter
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MappingConverter.cs
Covered lines:103
Uncovered lines:25
Coverable lines:128
Total lines:162
Line coverage:80.4%
Branch coverage:41.6%
+

Metrics

+ + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
ToMappingModel(...)5152428869.7751.28
Map(...)5453.3340
Map(...)4200
Map(...)3200
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MappingConverter.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using JetBrains.Annotations;
 5using WireMock.Admin.Mappings;
 6using WireMock.Matchers.Request;
 7using WireMock.RequestBuilders;
 8using WireMock.ResponseBuilders;
 9using WireMock.Util;
 10
 11namespace WireMock.Serialization
 12{
 13    internal static class MappingConverter
 14    {
 15        public static MappingModel ToMappingModel(Mapping mapping)
 116        {
 117            var request = (Request)mapping.RequestMatcher;
 118            var response = (Response)mapping.Provider;
 19
 120            var clientIPMatchers = request.GetRequestMessageMatchers<RequestMessageClientIPMatcher>();
 121            var pathMatchers = request.GetRequestMessageMatchers<RequestMessagePathMatcher>();
 122            var urlMatchers = request.GetRequestMessageMatchers<RequestMessageUrlMatcher>();
 123            var headerMatchers = request.GetRequestMessageMatchers<RequestMessageHeaderMatcher>();
 124            var cookieMatchers = request.GetRequestMessageMatchers<RequestMessageCookieMatcher>();
 125            var paramsMatchers = request.GetRequestMessageMatchers<RequestMessageParamMatcher>();
 126            var bodyMatcher = request.GetRequestMessageMatcher<RequestMessageBodyMatcher>();
 127            var methodMatcher = request.GetRequestMessageMatcher<RequestMessageMethodMatcher>();
 28
 129             var mappingModel = new MappingModel
 130            {
 131                Guid = mapping.Guid,
 132                Title = mapping.Title,
 133                Priority = mapping.Priority,
 134                Scenario = mapping.Scenario,
 135                WhenStateIs = mapping.ExecutionConditionState,
 136                SetStateTo = mapping.NextState,
 137                Request = new RequestModel
 138                {
 139                    ClientIP = clientIPMatchers != null && clientIPMatchers.Any() ? new ClientIPModel
 140                    {
 141                        Matchers = MatcherMapper.Map(clientIPMatchers.Where(m => m.Matchers != null).SelectMany(m => m.M
 142                        Funcs = Map(clientIPMatchers.Where(m => m.Funcs != null).SelectMany(m => m.Funcs))
 143                    } : null,
 144
 145                    Path = pathMatchers != null && pathMatchers.Any() ? new PathModel
 146                    {
 147                        Matchers = MatcherMapper.Map(pathMatchers.Where(m => m.Matchers != null).SelectMany(m => m.Match
 148                        Funcs = Map(pathMatchers.Where(m => m.Funcs != null).SelectMany(m => m.Funcs))
 149                    } : null,
 150
 151                    Url = urlMatchers != null && urlMatchers.Any() ? new UrlModel
 152                    {
 153                        Matchers = MatcherMapper.Map(urlMatchers.Where(m => m.Matchers != null).SelectMany(m => m.Matche
 154                        Funcs = Map(urlMatchers.Where(m => m.Funcs != null).SelectMany(m => m.Funcs))
 155                    } : null,
 156
 157                    Methods = methodMatcher?.Methods,
 158
 159                    Headers = headerMatchers != null && headerMatchers.Any() ? headerMatchers.Select(hm => new HeaderMod
 160                    {
 161                        Name = hm.Name,
 162                        Matchers = MatcherMapper.Map(hm.Matchers),
 163                        Funcs = Map(hm.Funcs)
 164                    }).ToList() : null,
 165
 166                    Cookies = cookieMatchers != null && cookieMatchers.Any() ? cookieMatchers.Select(cm => new CookieMod
 167                    {
 168                        Name = cm.Name,
 169                        Matchers = MatcherMapper.Map(cm.Matchers),
 170                        Funcs = Map(cm.Funcs)
 171                    }).ToList() : null,
 172
 173                     Params = paramsMatchers != null && paramsMatchers.Any() ? paramsMatchers.Select(pm => new ParamModel
 174                    {
 175                        Name = pm.Key,
 176                        Values = pm.Values?.ToList(),
 177                        Funcs = Map(pm.Funcs)
 178                    }).ToList() : null,
 179
 180                    Body = methodMatcher?.Methods != null && methodMatcher.Methods.Any(m => m == "get") ? null : new Bod
 181                    {
 182                        Matcher = bodyMatcher != null ? MatcherMapper.Map(bodyMatcher.Matcher) : null,
 183                        Func = bodyMatcher != null ? Map(bodyMatcher.Func) : null,
 184                        DataFunc = bodyMatcher != null ? Map(bodyMatcher.DataFunc) : null
 185                    }
 186                },
 187                Response = new ResponseModel
 188                {
 189                    Delay = response.Delay?.Milliseconds
 190                }
 191            };
 92
 193             if (!string.IsNullOrEmpty(response.ProxyUrl))
 094            {
 095                mappingModel.Response.StatusCode = null;
 096                mappingModel.Response.Headers = null;
 097                mappingModel.Response.BodyDestination = null;
 098                mappingModel.Response.BodyAsJson = null;
 099                mappingModel.Response.Body = null;
 0100                mappingModel.Response.BodyAsBytes = null;
 0101                mappingModel.Response.BodyAsFile = null;
 0102                mappingModel.Response.BodyAsFileIsCached = null;
 0103                mappingModel.Response.UseTransformer = false;
 0104                mappingModel.Response.BodyEncoding = null;
 0105                mappingModel.Response.ProxyUrl = response.ProxyUrl;
 0106            }
 107            else
 1108            {
 1109                mappingModel.Response.BodyDestination = response.ResponseMessage.BodyDestination;
 1110                mappingModel.Response.StatusCode = response.ResponseMessage.StatusCode;
 1111                mappingModel.Response.Headers = Map(response.ResponseMessage.Headers);
 1112                mappingModel.Response.BodyAsJson = response.ResponseMessage.BodyAsJson;
 1113                mappingModel.Response.Body = response.ResponseMessage.Body;
 1114                mappingModel.Response.BodyAsBytes = response.ResponseMessage.BodyAsBytes;
 1115                mappingModel.Response.BodyAsFile = response.ResponseMessage.BodyAsFile;
 1116                mappingModel.Response.BodyAsFileIsCached = response.ResponseMessage.BodyAsFileIsCached;
 1117                mappingModel.Response.UseTransformer = response.UseTransformer;
 118
 1119                 if (response.ResponseMessage.BodyEncoding != null)
 1120                {
 1121                    mappingModel.Response.BodyEncoding = new EncodingModel
 1122                    {
 1123                        EncodingName = response.ResponseMessage.BodyEncoding.EncodingName,
 1124                        CodePage = response.ResponseMessage.BodyEncoding.CodePage,
 1125                        WebName = response.ResponseMessage.BodyEncoding.WebName
 1126                    };
 1127                }
 1128            }
 129
 1130            return mappingModel;
 1131        }
 132
 133        private static IDictionary<string, object> Map(IDictionary<string, WireMockList<string>> dictionary)
 1134        {
 1135             if (dictionary == null)
 0136            {
 0137                return null;
 138            }
 139
 1140            var newDictionary = new Dictionary<string, object>();
 3141            foreach (var entry in dictionary)
 0142            {
 0143                 object value = entry.Value.Count == 1 ? (object)entry.Value.ToString() : entry.Value;
 0144                newDictionary.Add(entry.Key, value);
 0145            }
 146
 1147            return newDictionary;
 1148        }
 149
 150
 151
 152        private static string[] Map<T>([CanBeNull] IEnumerable<Func<T, bool>> funcs)
 0153        {
 0154             return funcs?.Select(Map).Where(x => x != null).ToArray();
 0155        }
 156
 157        private static string Map<T>([CanBeNull] Func<T, bool> func)
 0158        {
 0159             return func?.ToString();
 0160        }
 161    }
 162}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_MappingModel.htm b/report/WireMock.Net_MappingModel.htm index ba795ca0..3e983bc8 100644 --- a/report/WireMock.Net_MappingModel.htm +++ b/report/WireMock.Net_MappingModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Mappings.MappingModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\MappingModel.cs -Covered lines:5 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\MappingModel.cs +Covered lines:8 Uncovered lines:0 -Coverable lines:5 -Total lines:50 +Coverable lines:8 +Total lines:51 Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\MappingModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\MappingModel.cs

@@ -40,60 +40,67 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 10        /// <summary>
 11        /// Gets or sets the unique identifier.
 12        /// </summary>
 13        /// <value>
 14        /// The unique identifier.
 15        /// </value>
 1016        public Guid? Guid { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the unique title.
 20        /// </summary>
 21        /// <value>
 22        /// The unique title.
 23        /// </value>
 824        public string Title { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the priority.
 28        /// </summary>
 29        /// <value>
 30        /// The priority.
 31        /// </value>
 1232        public int? Priority { get; set; }
 33
 34        /// <summary>
 35        /// Gets or sets the request.
 36        /// </summary>
 37        /// <value>
 38        /// The request.
 39        /// </value>
 1640        public RequestModel Request { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the response.
 44        /// </summary>
 45        /// <value>
 46        /// The response.
 47        /// </value>
 1648        public ResponseModel Response { get; set; }
 49    }
 50}
 1413        public Guid? Guid { get; set; }
 14
 15        /// <summary>
 16        /// The unique title.
 17        /// </summary>
 1418        public string Title { get; set; }
 19
 20        /// <summary>
 21        /// The priority.
 22        /// </summary>
 1823        public int? Priority { get; set; }
 24
 25        /// <summary>
 26        /// The Scenario.
 27        /// </summary>
 828        public string Scenario { get; set; }
 29
 30        /// <summary>
 31        /// Execution state condition for the current mapping.
 32        /// </summary>
 333        public object WhenStateIs { get; set; }
 34
 35        /// <summary>
 36        /// The next state which will be signaled after the current mapping execution.
 37        /// In case the value is null state will not be changed.
 38        /// </summary>
 339        public object SetStateTo { get; set; }
 40
 41        /// <summary>
 42        /// The request.
 43        /// </summary>
 2344        public RequestModel Request { get; set; }
 45
 46        /// <summary>
 47        /// The response.
 48        /// </summary>
 3349        public ResponseModel Response { get; set; }
 50    }
 51}
- + diff --git a/report/WireMock.Net_MatchScores.htm b/report/WireMock.Net_MatchScores.htm index f0795101..b1580547 100644 --- a/report/WireMock.Net_MatchScores.htm +++ b/report/WireMock.Net_MatchScores.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.MatchScores Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\MatchScores.cs -Covered lines:11 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\MatchScores.cs +Covered lines:9 Uncovered lines:0 -Coverable lines:11 -Total lines:58 +Coverable lines:9 +Total lines:61 Line coverage:100% -Branch coverage:100% +Branch coverage:66.6%

Metrics

@@ -29,12 +29,12 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   ToScore(...)32100100 -ToScore(...)10100100 -ToScore(...)10100100 +ToScore(...)3210066.67 +ToScore(...)3210066.67

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\MatchScores.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\MatchScores.cs

@@ -64,47 +64,50 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 24        public const double Perfect = 1.0;
 25
 26        /// <summary>
 27        /// Convert a bool to the score.
 27        /// The almost perfect match score
 28        /// </summary>
 29        /// <param name="value">if set to <c>true</c> [value].</param>
 30        /// <returns>score</returns>
 31        public static double ToScore(bool value)
 8832        {
 8833             return value ? Perfect : Mismatch;
 8834        }
 35
 36        /// <summary>
 37        /// Calculates the score from multiple funcs.
 38        /// </summary>
 39        /// <param name="values">The values.</param>
 40        /// <returns>score</returns>
 41        public static double ToScore(IEnumerable<bool> values)
 6742        {
 6743            var list = values.Select(ToScore).ToList();
 6744            return list.Sum() / list.Count;
 6745        }
 46
 47        /// <summary>
 48        /// Calculates the score from multiple funcs.
 49        /// </summary>
 50        /// <param name="values">The values.</param>
 51        /// <returns>score</returns>
 52        public static double ToScore(IEnumerable<double> values)
 453        {
 454            var list = values.ToList();
 455            return list.Sum() / list.Count;
 456        }
 57    }
 58}
 29        public const double AlmostPerfect = 0.99;
 30
 31        /// <summary>
 32        /// Convert a bool to the score.
 33        /// </summary>
 34        /// <param name="value">if set to <c>true</c> [value].</param>
 35        /// <returns>score</returns>
 36        public static double ToScore(bool value)
 39137        {
 39138             return value ? Perfect : Mismatch;
 39139        }
 40
 41        /// <summary>
 42        /// Calculates the score from multiple funcs.
 43        /// </summary>
 44        /// <param name="values">The values.</param>
 45        /// <returns>average score</returns>
 46        public static double ToScore(IEnumerable<bool> values)
 23147        {
 23148             return values.Any() ? values.Select(ToScore).Average() : Mismatch;
 23149        }
 50
 51        /// <summary>
 52        /// Calculates the score from multiple funcs.
 53        /// </summary>
 54        /// <param name="values">The values.</param>
 55        /// <returns>average score</returns>
 56        public static double ToScore(IEnumerable<double> values)
 457        {
 458             return values.Any() ? values.Average() : Mismatch;
 459        }
 60    }
 61}
- + diff --git a/report/WireMock.Net_MatcherMapper.htm b/report/WireMock.Net_MatcherMapper.htm new file mode 100644 index 00000000..8f6429b3 --- /dev/null +++ b/report/WireMock.Net_MatcherMapper.htm @@ -0,0 +1,86 @@ + + + + + +WireMock.Serialization.MatcherMapper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Serialization.MatcherMapper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MatcherMapper.cs
Covered lines:17
Uncovered lines:0
Coverable lines:17
Total lines:35
Line coverage:100%
Branch coverage:90%
+

Metrics

+ + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Map(...)42100100
Map(...)91610088.89
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MatcherMapper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections.Generic;
 2using System.Linq;
 3using JetBrains.Annotations;
 4using WireMock.Admin.Mappings;
 5using WireMock.Matchers;
 6
 7namespace WireMock.Serialization
 8{
 9    internal static class MatcherMapper
 10    {
 11        public static MatcherModel[] Map([CanBeNull] IEnumerable<IMatcher> matchers)
 212        {
 413             return matchers?.Select(Map).Where(x => x != null).ToArray();
 214        }
 15
 16        public static MatcherModel Map([CanBeNull] IMatcher matcher)
 517        {
 518             if (matcher == null)
 119            {
 120                return null;
 21            }
 22
 423             string[] patterns = matcher is IStringMatcher stringMatcher ? stringMatcher.GetPatterns() : new string[0];
 424            bool? ignorecase = matcher is IIgnoreCaseMatcher ignoreCaseMatcher ? ignoreCaseMatcher.IgnoreCase : (bool?)n
 25
 426             return new MatcherModel
 427            {
 428                IgnoreCase = ignorecase,
 429                Name = matcher.GetName(),
 430                Pattern = patterns.Length == 1 ? patterns.First() : null,
 431                Patterns = patterns.Length > 1 ? patterns : null
 432            };
 533        }
 34    }
 35}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_MatcherModel.htm b/report/WireMock.Net_MatcherModel.htm index 5328696c..6e213fba 100644 --- a/report/WireMock.Net_MatcherModel.htm +++ b/report/WireMock.Net_MatcherModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Mappings.MatcherModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\MatcherModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\MatcherModel.cs Covered lines:4 Uncovered lines:0 Coverable lines:4 -Total lines:40 +Total lines:28 Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\MatcherModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\MatcherModel.cs

@@ -38,50 +38,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
#LineLine coverage
 8        /// <summary>
 9        /// Gets or sets the name.
 10        /// </summary>
 11        /// <value>
 12        /// The name.
 13        /// </value>
 1214        public string Name { get; set; }
 15
 16        /// <summary>
 17        /// Gets or sets the pattern.
 18        /// </summary>
 19        /// <value>
 20        /// The pattern.
 21        /// </value>
 1222        public string Pattern { get; set; }
 23
 24        /// <summary>
 25        /// Gets or sets the patterns.
 26        /// </summary>
 27        /// <value>
 28        /// The patterns.
 29        /// </value>
 630        public string[] Patterns { get; set; }
 31
 32        /// <summary>
 33        /// Gets or sets the ignore case.
 34        /// </summary>
 35        /// <value>
 36        /// The ignore case.
 37        /// </value>
 238        public bool? IgnoreCase { get; set; }
 39    }
 40}
 3311        public string Name { get; set; }
 12
 13        /// <summary>
 14        /// Gets or sets the pattern.
 15        /// </summary>
 2716        public string Pattern { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the patterns.
 20        /// </summary>
 2321        public string[] Patterns { get; set; }
 22
 23        /// <summary>
 24        /// Gets or sets the ignore case.
 25        /// </summary>
 1226        public bool? IgnoreCase { get; set; }
 27    }
 28}
- + diff --git a/report/WireMock.Net_MatcherModelMapper.htm b/report/WireMock.Net_MatcherModelMapper.htm new file mode 100644 index 00000000..fca13f7a --- /dev/null +++ b/report/WireMock.Net_MatcherModelMapper.htm @@ -0,0 +1,104 @@ + + + + + +WireMock.Serialization.MatcherModelMapper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Serialization.MatcherModelMapper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MatcherModelMapper.cs
Covered lines:19
Uncovered lines:2
Coverable lines:21
Total lines:55
Line coverage:90.4%
Branch coverage:86.3%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Map(...)17204890.4886.96
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Serialization\MatcherModelMapper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using JetBrains.Annotations;
 3using SimMetrics.Net;
 4using WireMock.Admin.Mappings;
 5using WireMock.Matchers;
 6
 7namespace WireMock.Serialization
 8{
 9    internal static class MatcherModelMapper
 10    {
 11        public static IMatcher Map([CanBeNull] MatcherModel matcher)
 1512        {
 1513             if (matcher == null)
 114            {
 115                return null;
 16            }
 17
 1418            string[] parts = matcher.Name.Split('.');
 1419            string matcherName = parts[0];
 1420             string matcherType = parts.Length > 1 ? parts[1] : null;
 21
 1422            string[] patterns = matcher.Patterns ?? new[] { matcher.Pattern };
 23
 1424             switch (matcherName)
 25            {
 26                case "ExactMatcher":
 627                    return new ExactMatcher(patterns);
 28
 29                case "RegexMatcher":
 130                     return new RegexMatcher(patterns, matcher.IgnoreCase == true);
 31
 32                case "JsonPathMatcher":
 033                    return new JsonPathMatcher(patterns);
 34
 35                case "XPathMatcher":
 036                    return new XPathMatcher(matcher.Pattern);
 37
 38                case "WildcardMatcher":
 339                     return new WildcardMatcher(patterns, matcher.IgnoreCase == true);
 40
 41                case "SimMetricsMatcher":
 342                    SimMetricType type = SimMetricType.Levenstein;
 343                     if (!string.IsNullOrEmpty(matcherType) && !Enum.TryParse(matcherType, out type))
 144                    {
 145                        throw new NotSupportedException($"Matcher '{matcherName}' with Type '{matcherType}' is not suppo
 46                    }
 47
 248                    return new SimMetricsMatcher(matcher.Pattern, type);
 49
 50                default:
 151                    throw new NotSupportedException($"Matcher '{matcherName}' is not supported.");
 52            }
 1353        }
 54    }
 55}
+
+
+ +
+ + \ No newline at end of file diff --git a/report/WireMock.Net_OwinRequestMapper.htm b/report/WireMock.Net_OwinRequestMapper.htm index a4726abb..3f168a12 100644 --- a/report/WireMock.Net_OwinRequestMapper.htm +++ b/report/WireMock.Net_OwinRequestMapper.htm @@ -15,39 +15,40 @@ Class:WireMock.Owin.OwinRequestMapper Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinRequestMapper.cs -Covered lines:23 -Uncovered lines:1 -Coverable lines:24 -Total lines:70 -Line coverage:95.8% -Branch coverage:50% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinRequestMapper.cs +Covered lines:32 +Uncovered lines:0 +Coverable lines:32 +Total lines:92 +Line coverage:100% +Branch coverage:83.3%

Metrics

- + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
MapAsync()13493.3360
ShouldParseBody(...)10100100
MapAsync()13810085.71

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinRequestMapper.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinRequestMapper.cs

- + - + - - - - - - + + + + + + @@ -55,7 +56,7 @@ - + @@ -63,56 +64,79 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.IO;
 3// using System.IO;
 4using System.Linq;
 5using System.Text;
 5// using System.Text;
 6using System.Threading.Tasks;
 7#if NET45
 8using Microsoft.Owin;
 9#else
 10using Microsoft.AspNetCore.Http;
 11using Microsoft.AspNetCore.Http.Extensions;
 12using Microsoft.AspNetCore.Http.Features;
 7using WireMock.Util;
 8#if !NETSTANDARD
 9using Microsoft.Owin;
 10#else
 11using Microsoft.AspNetCore.Http;
 12using Microsoft.AspNetCore.Http.Extensions;
 13#endif
 14
 15namespace WireMock.Owin
 17    /// <summary>
 18    /// OwinRequestMapper
 19    /// </summary>
 20    public class OwinRequestMapper
 20    internal class OwinRequestMapper
 21    {
 22        /// <summary>
 23        /// MapAsync IOwinRequest to RequestMessage
 25        /// <param name="request"></param>
 26        /// <returns></returns>
 27        public async Task<RequestMessage> MapAsync(
 28#if NET45
 28#if !NETSTANDARD
 29            IOwinRequest request
 30#else
 31            HttpRequest request
 32#endif
 33            )
 1334        {
 35#if NET45
 1336            Uri url = request.Uri;
 37#else
 38            Uri url = new Uri(request.GetEncodedUrl());
 39#endif
 1340            string verb = request.Method;
 41
 1342            string bodyAsString = null;
 1343            byte[] body = null;
 1344            Encoding bodyEncoding = null;
 1345             if (request.Body != null)
 1346            {
 1347                 using (var streamReader = new StreamReader(request.Body))
 1348                {
 1349                    bodyAsString = await streamReader.ReadToEndAsync();
 1350                    bodyEncoding = streamReader.CurrentEncoding;
 1351                }
 52
 1353                body = bodyEncoding.GetBytes(bodyAsString);
 1354            }
 55
 1356            var listenerHeaders = request.Headers;
 57
 1358            var headers = new Dictionary<string, string>();
 8759            foreach (var header in listenerHeaders)
 2460                headers.Add(header.Key, header.Value.FirstOrDefault());
 61
 1362            var cookies = new Dictionary<string, string>();
 63
 3964            foreach (var cookie in request.Cookies)
 065                cookies.Add(cookie.Key, cookie.Value);
 5834        {
 35#if !NETSTANDARD
 5836            Uri url = request.Uri;
 5837            string clientIP = request.RemoteIpAddress;
 38#else
 39            Uri url = new Uri(request.GetEncodedUrl());
 40            var connection = request.HttpContext.Connection;
 41            string clientIP = connection.RemoteIpAddress.IsIPv4MappedToIPv6
 42                ? connection.RemoteIpAddress.MapToIPv4().ToString()
 43                : connection.RemoteIpAddress.ToString();
 44#endif
 5845            string method = request.Method;
 46
 5847            Dictionary<string, string[]> headers = null;
 5848             if (request.Headers.Any())
 5849            {
 5850                headers = new Dictionary<string, string[]>();
 45651                foreach (var header in request.Headers)
 14152                {
 14153                    headers.Add(header.Key, header.Value);
 14154                }
 5855            }
 56
 5857            IDictionary<string, string> cookies = null;
 5858             if (request.Cookies.Any())
 259            {
 260                cookies = new Dictionary<string, string>();
 1061                foreach (var cookie in request.Cookies)
 262                {
 263                    cookies.Add(cookie.Key, cookie.Value);
 264                }
 265            }
 66
 1367            return new RequestMessage(url, verb, body, bodyAsString, bodyEncoding, headers, cookies) { DateTime = DateTi
 1368        }
 69    }
 70}
 5867            BodyData body = null;
 5868             if (request.Body != null && ShouldParseBody(method))
 1069            {
 1070                body = await BodyParser.Parse(request.Body, request.ContentType);
 1071            }
 72
 5873            return new RequestMessage(url, method, clientIP, body, headers, cookies) { DateTime = DateTime.Now };
 5874        }
 75
 76        private bool ShouldParseBody(string method)
 5877        {
 78            /*
 79                HEAD - No defined body semantics.
 80                GET - No defined body semantics.
 81                PUT - Body supported.
 82                POST - Body supported.
 83                DELETE - No defined body semantics.
 84                TRACE - Body not supported.
 85                OPTIONS - Body supported but no semantics on usage (maybe in the future).
 86                CONNECT - No defined body semantics
 87                PATCH - Body supported.
 88            */
 5889            return new[] { "PUT", "POST", "OPTIONS", "PATCH" }.Contains(method.ToUpper());
 5890        }
 91    }
 92}
- + diff --git a/report/WireMock.Net_OwinResponseMapper.htm b/report/WireMock.Net_OwinResponseMapper.htm index 93f43b18..07d9e560 100644 --- a/report/WireMock.Net_OwinResponseMapper.htm +++ b/report/WireMock.Net_OwinResponseMapper.htm @@ -15,13 +15,13 @@ Class:WireMock.Owin.OwinResponseMapper Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinResponseMapper.cs -Covered lines:12 -Uncovered lines:0 -Coverable lines:12 -Total lines:47 -Line coverage:100% -Branch coverage:75% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinResponseMapper.cs +Covered lines:44 +Uncovered lines:4 +Coverable lines:48 +Total lines:105 +Line coverage:91.6% +Branch coverage:81.2%

Metrics

@@ -29,69 +29,129 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor()10100100 -MapAsync()8410080 +.cctor()10100100 +MapAsync()302569082.35

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinResponseMapper.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinResponseMapper.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.IO;
 2using System.Linq;
 3using System.Text;
 4using System.Threading.Tasks;
 5#if NET45
 6using Microsoft.Owin;
 7#else
 8using Microsoft.AspNetCore.Http;
 9#endif
 10
 11namespace WireMock.Owin
 12{
 13    /// <summary>
 14    /// OwinResponseMapper
 15    /// </summary>
 16    public class OwinResponseMapper
 17    {
 1618        private readonly Encoding _utf8NoBom = new UTF8Encoding(false);
 19
 20        /// <summary>
 21        /// MapAsync ResponseMessage to OwinResponse
 22        /// </summary>
 23        /// <param name="responseMessage"></param>
 24        /// <param name="response"></param>
 25        public async Task MapAsync(ResponseMessage responseMessage
 26#if NET45
 27            , IOwinResponse response
 28#else
 29            , HttpResponse response
 30#endif
 31            )
 1332        {
 1333            response.StatusCode = responseMessage.StatusCode;
 34
 1435            responseMessage.Headers.ToList().ForEach(pair => response.Headers.Append(pair.Key, pair.Value));
 1using System;
 2using System.Collections.Generic;
 3using System.IO;
 4using System.Linq;
 5using System.Text;
 6using System.Threading.Tasks;
 7using Newtonsoft.Json;
 8using WireMock.Util;
 9#if !NETSTANDARD
 10using Microsoft.Owin;
 11#else
 12using Microsoft.AspNetCore.Http;
 13#endif
 14
 15namespace WireMock.Owin
 16{
 17    /// <summary>
 18    /// OwinResponseMapper
 19    /// </summary>
 20    public class OwinResponseMapper
 21    {
 9422        private readonly Encoding _utf8NoBom = new UTF8Encoding(false);
 23
 24        // https://stackoverflow.com/questions/239725/cannot-set-some-http-headers-when-using-system-net-webrequest
 25#if !NETSTANDARD
 126        private static readonly IDictionary<string, Action<IOwinResponse, WireMockList<string>>> RestrictedResponseHeade
 127#else
 128        private static readonly IDictionary<string, Action<HttpResponse, WireMockList<string>>> RestrictedResponseHeader
 129#endif
 130            { "Content-Length", null },
 831            { "Content-Type", (r, v) => r.ContentType = v.FirstOrDefault() },
 132            { "Keep-Alive", null },
 133            { "Transfer-Encoding", null },
 134            { "WWW-Authenticate", null }
 135        };
 36
 1337             if (responseMessage.Body == null)
 238                return;
 39
 1140            Encoding encoding = responseMessage.BodyEncoding ?? _utf8NoBom;
 1141             using (var writer = new StreamWriter(response.Body, encoding))
 1142            {
 1143                await writer.WriteAsync(responseMessage.Body);
 1144            }
 1345        }
 46    }
 47}
 37        /// <summary>
 38        /// MapAsync ResponseMessage to OwinResponse
 39        /// </summary>
 40        /// <param name="responseMessage"></param>
 41        /// <param name="response"></param>
 42        public async Task MapAsync(ResponseMessage responseMessage
 43#if !NETSTANDARD
 44            , IOwinResponse response
 45#else
 46            , HttpResponse response
 47#endif
 48            )
 5849        {
 5850            response.StatusCode = responseMessage.StatusCode;
 51
 52            // Set headers
 25453            foreach (var pair in responseMessage.Headers)
 4054            {
 4055                 if (RestrictedResponseHeaders.ContainsKey(pair.Key))
 1556                {
 1557                     RestrictedResponseHeaders[pair.Key]?.Invoke(response, pair.Value);
 1558                }
 59                else
 2560                {
 61#if !NETSTANDARD
 2562                    response.Headers.AppendValues(pair.Key, pair.Value.ToArray());
 63#else
 64                    response.Headers.Append(pair.Key, pair.Value.ToArray());
 65#endif
 2566                }
 4067            }
 68
 5869             if (responseMessage.Body == null && responseMessage.BodyAsBytes == null && responseMessage.BodyAsFile == nul
 1870            {
 1871                return;
 72            }
 73
 4074             if (responseMessage.BodyAsBytes != null)
 775            {
 776                await response.Body.WriteAsync(responseMessage.BodyAsBytes, 0, responseMessage.BodyAsBytes.Length);
 777                return;
 78            }
 79
 3380             if (responseMessage.BodyAsFile != null)
 081            {
 082                byte[] bytes = File.ReadAllBytes(responseMessage.BodyAsFile);
 83
 084                await response.Body.WriteAsync(bytes, 0, bytes.Length);
 085                return;
 86            }
 87
 3388             if (responseMessage.BodyAsJson != null)
 289            {
 290                string jsonBody = JsonConvert.SerializeObject(responseMessage.BodyAsJson, new JsonSerializerSettings { F
 291                 using (var writer = new StreamWriter(response.Body, responseMessage.BodyEncoding ?? _utf8NoBom))
 292                {
 293                    await writer.WriteAsync(jsonBody);
 294                }
 95
 296                return;
 97            }
 98
 3199             using (var writer = new StreamWriter(response.Body, responseMessage.BodyEncoding ?? _utf8NoBom))
 31100            {
 31101                await writer.WriteAsync(responseMessage.Body);
 31102            }
 58103        }
 104    }
 105}
- +

Methods/Properties

-.ctor()
-MapAsync()
+.ctor()
+.cctor()
+MapAsync()

diff --git a/report/WireMock.Net_OwinSelfHost.htm b/report/WireMock.Net_OwinSelfHost.htm index 2a697fe2..d6e06551 100644 --- a/report/WireMock.Net_OwinSelfHost.htm +++ b/report/WireMock.Net_OwinSelfHost.htm @@ -15,13 +15,13 @@ Class:WireMock.Owin.OwinSelfHost Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinSelfHost.cs -Covered lines:54 -Uncovered lines:12 -Coverable lines:66 -Total lines:116 -Line coverage:81.8% -Branch coverage:75% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinSelfHost.cs +Covered lines:51 +Uncovered lines:0 +Coverable lines:51 +Total lines:96 +Line coverage:100% +Branch coverage:66.6%

Metrics

@@ -31,16 +31,15 @@ .ctor(...)20100100 StartAsync()10100100 StopAsync()10100100 -ThreadWorkInternal()1000 StartServers()42100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\OwinSelfHost.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\OwinSelfHost.cs

- + @@ -49,128 +48,107 @@ - - - - - - - - + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1#if NET45
 1#if !NETSTANDARD
 2using System;
 3using System.Collections.Generic;
 4using System.Threading;
 7using WireMock.Validation;
 8using Owin;
 9using Microsoft.Owin.Hosting;
 10
 11namespace WireMock.Owin
 12{
 13    internal class OwinSelfHost : IOwinSelfHost
 14    {
 15        private readonly WireMockMiddlewareOptions _options;
 1816        private readonly CancellationTokenSource _cts = new CancellationTokenSource();
 17        private System.Threading.Thread _internalThread;
 10using WireMock.Http;
 11
 12namespace WireMock.Owin
 13{
 14    internal class OwinSelfHost : IOwinSelfHost
 15    {
 16        private readonly WireMockMiddlewareOptions _options;
 4717        private readonly CancellationTokenSource _cts = new CancellationTokenSource();
 18
 1819        public OwinSelfHost([NotNull] WireMockMiddlewareOptions options, [NotNull] params string[] uriPrefixes)
 1820        {
 1821            Check.NotNull(options, nameof(options));
 1822            Check.NotEmpty(uriPrefixes, nameof(uriPrefixes));
 4719        public OwinSelfHost([NotNull] WireMockMiddlewareOptions options, [NotNull] params string[] uriPrefixes)
 4720        {
 4721            Check.NotNull(options, nameof(options));
 4722            Check.NotNullOrEmpty(uriPrefixes, nameof(uriPrefixes));
 23
 9024            foreach (string uriPrefix in uriPrefixes)
 1825            {
 1826                var uri = new Uri(uriPrefix);
 1827                Urls.Add(uri);
 1828                Ports.Add(uri.Port);
 1829            }
 30
 1831            _options = options;
 1832        }
 33
 2934        public bool IsStarted { get; private set; }
 35
 5236        public List<Uri> Urls { get; } = new List<Uri>();
 37
 5438        public List<int> Ports { get; } = new List<int>();
 39
 40        [PublicAPI]
 41        public Task StartAsync()
 1842        {
 1843            return Task.Run(() =>
 3444            {
 3445                StartServers();
 3146            }, _cts.Token);
 47
 48            //if (_internalThread != null)
 49            //    throw new InvalidOperationException("Cannot start a multiple threads.");
 50
 51            //_internalThread = new Thread(ThreadWorkInternal);
 52            //_internalThread.Start();
 1853        }
 23524            foreach (string uriPrefix in uriPrefixes)
 4725            {
 4726                Urls.Add(uriPrefix);
 27
 4728                PortUtil.TryExtractProtocolAndPort(uriPrefix, out string host, out int port);
 4729                Ports.Add(port);
 4730            }
 31
 4732            _options = options;
 4733        }
 34
 10835        public bool IsStarted { get; private set; }
 36
 14137        public List<string> Urls { get; } = new List<string>();
 38
 14139        public List<int> Ports { get; } = new List<int>();
 40
 41        [PublicAPI]
 42        public Task StartAsync()
 4743        {
 4744            return Task.Run(() =>
 9445            {
 9446                StartServers();
 5747            }, _cts.Token);
 4748        }
 49
 50        [PublicAPI]
 51        public Task StopAsync()
 4752        {
 4753            _cts.Cancel();
 54
 55        [PublicAPI]
 56        public Task StopAsync()
 1857        {
 1858            _cts.Cancel();
 59
 1860            var tcs = new TaskCompletionSource<bool>();
 1861            var timer = new System.Timers.Timer(999);
 1862            timer.Elapsed += (sender, e) =>
 3163            {
 3164                 if (_internalThread == null)
 3165                {
 3166                    timer.Stop();
 3167                    tcs.SetResult(true);
 3168                }
 3169            };
 1870            timer.Start();
 71
 1872            return tcs.Task;
 1873        }
 74
 75        private void ThreadWorkInternal()
 076        {
 77            try
 078            {
 079                StartServers();
 080            }
 081            catch (Exception ex)
 082            {
 083                Console.WriteLine(ex);
 084            }
 85            finally
 086            {
 087                _internalThread = null;
 088            }
 089        }
 90
 91        private void StartServers()
 1692        {
 1693            Action<IAppBuilder> startup = app =>
 3294            {
 3295                app.Use<WireMockMiddleware>(_options);
 3296            };
 97
 1698            var servers = new List<IDisposable>();
 8099            foreach (var url in Urls)
 16100            {
 16101                servers.Add(WebApp.Start(url.ToString(), startup));
 16102            }
 103
 16104            IsStarted = true;
 105
 27106             while (!_cts.IsCancellationRequested)
 14107                Thread.Sleep(1000);
 108
 13109            IsStarted = false;
 110
 65111            foreach (var server in servers)
 13112                server.Dispose();
 13113        }
 114    }
 115}
 116#endif
 4755            return Task.FromResult(true);
 4756        }
 57
 58        private void StartServers()
 4759        {
 60#if NET46
 61            Console.WriteLine("WireMock.Net server using .net 4.6.x or higher");
 62#else
 4763            Console.WriteLine("WireMock.Net server using .net 4.5.x or higher");
 64#endif
 65
 4766            Action<IAppBuilder> startup = app =>
 9467            {
 9468                app.Use<GlobalExceptionMiddleware>(_options);
 9469                 _options.PreWireMockMiddlewareInit?.Invoke(app);
 9470                app.Use<WireMockMiddleware>(_options);
 9471                 _options.PostWireMockMiddlewareInit?.Invoke(app);
 9472            };
 73
 4774            var servers = new List<IDisposable>();
 23475            foreach (var url in Urls)
 4776            {
 4777                servers.Add(WebApp.Start(url, startup));
 4678            }
 79
 4680            IsStarted = true;
 81
 5682             while (!_cts.IsCancellationRequested)
 4683            {
 4684                Thread.Sleep(30000);
 1085            }
 86
 1087            IsStarted = false;
 88
 5089            foreach (var server in servers)
 1090            {
 1091                server.Dispose();
 1092            }
 1093        }
 94    }
 95}
 96#endif
- + diff --git a/report/WireMock.Net_ParamModel.htm b/report/WireMock.Net_ParamModel.htm index a45f1d04..0d6fde02 100644 --- a/report/WireMock.Net_ParamModel.htm +++ b/report/WireMock.Net_ParamModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.ParamModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ParamModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ParamModel.cs Covered lines:0 Uncovered lines:3 Coverable lines:3 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ParamModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ParamModel.cs

@@ -64,7 +64,7 @@
#LineLine coverage
 34}
- +

Methods/Properties

diff --git a/report/WireMock.Net_PathModel.htm b/report/WireMock.Net_PathModel.htm index 6375d637..da062d0d 100644 --- a/report/WireMock.Net_PathModel.htm +++ b/report/WireMock.Net_PathModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.PathModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\PathModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\PathModel.cs Covered lines:1 Uncovered lines:1 Coverable lines:2 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\PathModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\PathModel.cs

@@ -54,7 +54,7 @@
#LineLine coverage
 24}
-
+

Methods/Properties

diff --git a/report/WireMock.Net_PortUtil.htm b/report/WireMock.Net_PortUtil.htm index e0444fff..439ea39a 100644 --- a/report/WireMock.Net_PortUtil.htm +++ b/report/WireMock.Net_PortUtil.htm @@ -15,12 +15,12 @@ Class:WireMock.Http.PortUtil Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Http\PortUtil.cs -Covered lines:10 -Uncovered lines:0 -Coverable lines:10 -Total lines:34 -Line coverage:100% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\PortUtil.cs +Covered lines:20 +Uncovered lines:1 +Coverable lines:21 +Total lines:53 +Line coverage:95.2% Branch coverage:50% @@ -29,54 +29,77 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   FindFreeTcpPort()2210066.67 +TryExtractProtocolAndPort(...)229066.67 +.cctor()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Http\PortUtil.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Http\PortUtil.cs

- - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - + + + - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Net;
 2using System.Net.Sockets;
 3
 4namespace WireMock.Http
 5{
 6    /// <summary>
 7    /// The ports.
 8    /// </summary>
 9    public static class PortUtil
 10    {
 11        /// <summary>
 12        /// The find free TCP port.
 13        /// </summary>
 14        /// <returns>
 15        /// The <see cref="int"/>.
 16        /// </returns>
 3using System.Text.RegularExpressions;
 4
 5namespace WireMock.Http
 6{
 7    /// <summary>
 8    /// Port Utility class
 9    /// </summary>
 10    public static class PortUtil
 11    {
 112        private static readonly Regex UrlDetailsRegex = new Regex(@"^(?<proto>\w+)://[^/]+?(?<port>\d+)?/", RegexOptions
 13
 14        /// <summary>
 15        /// Finds a free TCP port.
 16        /// </summary>
 17        /// <remarks>see http://stackoverflow.com/questions/138043/find-the-next-tcp-port-in-net.</remarks>
 18        public static int FindFreeTcpPort()
 1619        {
 1620            TcpListener tcpListener = null;
 4519        {
 4520            TcpListener tcpListener = null;
 21            try
 1622            {
 1623                tcpListener = new TcpListener(IPAddress.Loopback, 0);
 1624                tcpListener.Start();
 4522            {
 4523                tcpListener = new TcpListener(IPAddress.Loopback, 0);
 4524                tcpListener.Start();
 25
 1626                return ((IPEndPoint)tcpListener.LocalEndpoint).Port;
 4526                return ((IPEndPoint)tcpListener.LocalEndpoint).Port;
 27            }
 28            finally
 1629            {
 1630                 tcpListener?.Stop();
 1631            }
 1632        }
 33    }
 34}
 4529            {
 4530                 tcpListener?.Stop();
 4531            }
 4532        }
 33
 34        /// <summary>
 35        /// Extract a proto and port from a URL.
 36        /// </summary>
 37        public static bool TryExtractProtocolAndPort(string url, out string proto, out int port)
 4738        {
 4739            proto = null;
 4740            port = 0;
 41
 4742            Match m = UrlDetailsRegex.Match(url);
 4743             if (m.Success)
 4744            {
 4745                proto = m.Groups["proto"].Value;
 46
 4747                return int.TryParse(m.Groups["port"].Value, out port);
 48            }
 49
 050            return false;
 4751        }
 52    }
 53}
-
+
diff --git a/report/WireMock.Net_ProxyAndRecordSettings.htm b/report/WireMock.Net_ProxyAndRecordSettings.htm new file mode 100644 index 00000000..feb76683 --- /dev/null +++ b/report/WireMock.Net_ProxyAndRecordSettings.htm @@ -0,0 +1,88 @@ + + + + + +WireMock.Settings.ProxyAndRecordSettings - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Settings.ProxyAndRecordSettings
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\ProxyAndRecordSettings.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:30
Line coverage:100%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\ProxyAndRecordSettings.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace WireMock.Settings
 4{
 5    /// <summary>
 6    /// ProxyAndRecordSettings
 7    /// </summary>
 8    public class ProxyAndRecordSettings : IProxyAndRecordSettings
 9    {
 10        /// <inheritdoc cref="IProxyAndRecordSettings.Url"/>
 11        [PublicAPI]
 612        public string Url { get; set; }
 13
 14        /// <inheritdoc cref="IProxyAndRecordSettings.SaveMapping"/>
 15        [PublicAPI]
 816        public bool SaveMapping { get; set; } = true;
 17
 18        /// <inheritdoc cref="IProxyAndRecordSettings.SaveMappingToFile"/>
 19        [PublicAPI]
 820        public bool SaveMappingToFile { get; set; } = true;
 21
 22        /// <inheritdoc cref="IProxyAndRecordSettings.ClientX509Certificate2ThumbprintOrSubjectName"/>
 23        [PublicAPI]
 424        public string ClientX509Certificate2ThumbprintOrSubjectName { get; set; }
 25
 26        /// <inheritdoc cref="IProxyAndRecordSettings.BlackListedHeaders"/>
 27        [PublicAPI]
 528        public string[] BlackListedHeaders { get; set; }
 29    }
 30}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_ProxyAsyncResponseProvider.htm b/report/WireMock.Net_ProxyAsyncResponseProvider.htm new file mode 100644 index 00000000..e6e1b39e --- /dev/null +++ b/report/WireMock.Net_ProxyAsyncResponseProvider.htm @@ -0,0 +1,78 @@ + + + + + +WireMock.ResponseProviders.ProxyAsyncResponseProvider - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.ResponseProviders.ProxyAsyncResponseProvider
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\ProxyAsyncResponseProvider.cs
Covered lines:10
Uncovered lines:0
Coverable lines:10
Total lines:28
Line coverage:100%
+

Metrics

+ + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
ProvideResponseAsync(...)10100100
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\ProxyAsyncResponseProvider.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Threading.Tasks;
 3using JetBrains.Annotations;
 4using WireMock.Settings;
 5using WireMock.Validation;
 6
 7namespace WireMock.ResponseProviders
 8{
 9    internal class ProxyAsyncResponseProvider : IResponseProvider
 10    {
 11        private readonly Func<RequestMessage, IProxyAndRecordSettings, Task<ResponseMessage>> _responseMessageFunc;
 12        private readonly IProxyAndRecordSettings _settings;
 13
 214        public ProxyAsyncResponseProvider([NotNull] Func<RequestMessage, IProxyAndRecordSettings, Task<ResponseMessage>>
 215        {
 216            Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));
 217            Check.NotNull(settings, nameof(settings));
 18
 219            _responseMessageFunc = responseMessageFunc;
 220            _settings = settings;
 221        }
 22
 23        public Task<ResponseMessage> ProvideResponseAsync(RequestMessage requestMessage)
 224        {
 225            return _responseMessageFunc(requestMessage, _settings);
 226        }
 27    }
 28}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_PublicCertificateHelper.htm b/report/WireMock.Net_PublicCertificateHelper.htm new file mode 100644 index 00000000..73f299bc --- /dev/null +++ b/report/WireMock.Net_PublicCertificateHelper.htm @@ -0,0 +1,139 @@ + + + + + +WireMock.HttpsCertificate.PublicCertificateHelper - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.HttpsCertificate.PublicCertificateHelper
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\HttpsCertificate\PublicCertificateHelper.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:91
Line coverage:0%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
GetX509Certificate2()1000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\HttpsCertificate\PublicCertificateHelper.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Security.Cryptography.X509Certificates;
 3
 4namespace WireMock.HttpsCertificate
 5{
 6    internal static class PublicCertificateHelper
 7    {
 8        // 1] Generate using https://www.pluralsight.com/blog/software-development/selfcert-create-a-self-signed-certifi
 9        // 2] Converted to Base64
 10        private const string Data = @"MIIQMgIBAzCCD+4GCSqGSIb3DQEHAaCCD98Egg/bMIIP1zCCCogGCSqGSIb3DQEHAaCCCnkEggp1
 11MIIKcTCCCm0GCyqGSIb3DQEMCgECoIIJfjCCCXowHAYKKoZIhvcNAQwBAzAOBAi1j9x1jTfUewIC
 12B9AEgglYa48lP16+isiGEVT7zwN3XwaPwPOHZcQ7tRA/DA8LZnZbwU7XhtPObF5bZcHn4engX2An
 13ISFpe2S5XJ7BfHmsGOO7Bxj6C2IcZIPTefvAd9vWE0WUAGN11SLhJ3fB/ZRt3Nys7JCJzywQCkYK
 14dCA35V7WfETCLT6+ArtRU4qsjop2YXyUzcLw3OuumBAoRsazgUKz8rkZJbifkSikbdxs+Hupcf2I
 15NOOuKStKoqouqCO/vmRi8u8g0KQhf2LcQBSqLk6OZ8TQuv07W5tVO2Ky5qCYu6aXBBlHhGSY9fGL
 16vqaYcxMcVJQpXUUL6nSWCoaLdaAAB+Anw1Tpbd47W7ieTK5Yq2IROPQIr1mk8nvFbxoTcBuIQ6oU
 17RiiLX+mb3hYgbTL3LqDmmm9FFI8enJu6pUxP8iKKROtCqhYXhF1i3EwReBzJzpDGZ+y4rJxb0Es4
 18sPVc/TaVPSJCTmgcKzwps7M12uxm8G9Dv3lKgZVmgDRivovCJFxHdCdgCYB08FvNWuFtXO+schsE
 19N0nY2i07A2joaJC18yvoNGZ+ySBTBPOBN+5XbiQs0vsQ4MfLETb2O2dFjwE/tErgo6RWYg2qQNAe
 20DSh2wHzI0YJM3PqaUR0Q9KnjEWc92hsLI34KnuNkNkVk4NEjPOetxeIBcYN7CDD6tTxp42sU++bT
 21o9zyjy1BPS+LuEblxDTSlVPb0dxvkwNBXBi0RXIOWfD15BWcV1Uv972jB6To1XPDIOc+eq7fa5yn
 22HRW/GYdGPmOYKietdw6V3t2Et9cPlw4v08IelucF06Ju2a73QtidtkA89vxjn7qOEVACAXpsiMsM
 234JCcAzF7jh0U2mskSB14I9HcZh1Sei0J2ZULcXNyuIw9nsWp8vrH04OOoUDe7/UpX7c8+A+tqDUy
 241W2V1dJDhlwu2SXL5jJFBK4P9p2e+XyHJ+AcYXrHQIKxqoCgvnywT4HnI2bvZ1+lmIR99mp1Cvzj
 25RUgJaqhI7u6WH3i6fmkA92hF8MP5WDYTGwjsHPrCg6Xkqykuvub4osu+gLq5t+JC9rOczgrRNYXg
 2654FMzlCyQxTfgY6IRwPH/xYHKGbViFF+jA4ksLMRjI2XOV4swbI232SxMoQQDNsjx1la2nZM3P5z
 27g7zpmaiyzY44q3kU1viMMR7qM/w1S6nTW0ZkzTXk8Gttor/0JWT1K8KgwK02B6Q9zNwfK60a0cQm
 28SbA/dXkWapuIzQLz+ZUPyG/1EP5KuKNnsp0hfVi8TTgOFceoV9kyIhrTQNI0o5O91dqkyWd/bMl2
 29OnrnRnhka6f839zJKUpWPTfRX9RMJTk/5HVcL/qsHYcJedZyPawJjMU+cxW1ZZjr1Lo6M0fjKuTI
 30Askg0ZKS0FJ60jTKnc1DmldQLtieHh1UTdty+yn1A0rGnrFEyN7if2/d1EduWJaf6bvWzfH+d/36
 311gDwp4OXi0qWu7c5zByGZi2j2sFo4v0cGgjPZUJvF5z0V8OkE15DiA4xtTSkIjCnEmOhODViwrfc
 32ONvHB+inBW9wLp26qFgNcYrYxP2FC54pPCxO+KJaAJrtfE3A4lkboB7V0xFu23ecOy4n2gho39tg
 33Bxkt1Xj3GCLgeKvcYLzOPytZldXDTtoCcsm5uhCmBHEmPUsnLc7Tt1cFflFtWTOjtyv0Lk8Qu2BU
 34B/hSSgjZRpqE+hzjtghjXdFOT5wKULvtUz5eu+lH7kjGghQbF962vLcRCsr+tMPba6MFqhy5Q+dM
 35NcHc+HIx2WiuRZ6jdCZSUpH3f1+kH6XYj2P3/F0kLBRAMPGKbXpIi9Px4AVDEDClL77mDpVgeEoh
 36kkVh5zvk2PsEPonmTFK0kQE8Q4cYFWTKa9lAE4Wc35EzvpKFdTwQKhr5kN7tEq17n5wJt/499164
 37ho0+LjzYy62JI/fv3RPISL0gXr2INLW7fgZ5KNjcnu/AITJu3ycw/XH8BKsx4dcbBgBdrKY8afEn
 38IZ1EIv/TuNvmifmAEGX/DWuVmZIOU6pTystzTQwfz0wko3lUKjkPM40RLN9o6lddV6fM3QNtK0ac
 39hqOOmG68LzI1U33nvUBol/FeEV0DLvGjvsIRC/TCtDu5Vk2tKS13p9kNj4owJK8d343PZ/eyi/Oe
 40sNZCCJJuj4iIodekm1hzj7zc6ZLNudgab/WkF7TbWDOhDPwG1gE/McffGNWPFlwsaopoZaH8E8tl
 41QSOnHqAiNa7B3ifxMrGDWHDlxkWddClbKd9ujL4mgB88Wo8JceLawDOcSVGImvWGxsrK2RX7FK57
 42GQYuc0zcq3NH4jpoOyS+vpMeigTPDOvQdqjGgEUW3aXdA8Ma0KYVEyAhK/rFXw8FelGREM2ku1kN
 43kziOTAe52SWqcrv6NUPfo1/Uc6u7KpwQrcDlFZWxPCKomeRQTm6AmP2QHMgl2gaUbmuBF/C9Ccl2
 441Iqh8vUdDT3lHdf5I5SjRPJJXX2/0/oUFmwIC5AFp8/XXnIG05BER1X2Y+SL15QHW7lYsvd4ZKTv
 45tvYaZNWajgAVZl8gJYFUQG+U+cFYcpHhf6SGzcuwcmQJGxptZAVnRtDzNjJ04vJB616/uoI2Qkp2
 46ysGAjDNlwgeckmU7TSYoYaML29pRupTTQqKItyFDuebUpSKBTxsEFIJBCTErA8TD8I9T5nzT+rTy
 47+Lpp9mqcxQR1RhxgTx5bE7D4igdblobX0IONARg4EIAk8xj1Ba3k4skdjAQcJOHKd+xVo+vsrIqg
 48a+ycemROE5F3D3s21ozMOn1Dy8iIeQusJQTSkP82+wHYWXRg59N0cq/40CaJskK+yp7afOWFoCqY
 49T/D9OGlfeIIiLivwMh8naPZyM4+pd/CFZwcWoGtIno04nWWR/xQVe17jqPMov1xonC2E3AcKxUXl
 50PMdZoOARkR+KHZnoBZ/vjqxeDPARKupijkw5QQI3jNmd5IELjcL8OraHlo+e884mRsa/66J7p94D
 51bidzjiVLUhCsZnVks9eZF6PIEg49eq/+w8ph3X7XBNnZYAbgola/0yy/PlPzgJ3p/AgXMoGr+HXO
 52p2WAs1WRo9mAdeOBMrAMvXKFD04bZPNHke0Ri03O5U7NRRs1T0LnqdZHyF39As8FiktfJl1bn/U0
 53sUjhc4fDNnDaBN8VF8VsEa7UolRC6NqQ1oHaeEZRoq0li6NbXIXdxIIT4bbqwajqFkvvO6qc6SEG
 54iAlUzTGB2zATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IADcAOAA1ADAAZABj
 55ADAAYwAtAGIAZQBmAGIALQA0AGEANQBiAC0AOAA5ADcAMAAtAGIAZAA5ADkAOQAxADEAOQA2AGIA
 56YgA1MGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQA
 57IABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCC
 58BUcGCSqGSIb3DQEHBqCCBTgwggU0AgEAMIIFLQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQI
 59Amt1zAZpKWkCAgfQgIIFAJoBLiXPEZGuUfsyM2ed66sBIirBctHbhyydZsQDT8V2crq6AI3P0dBT
 60Agf/MouK/JcAfdGEEpU6SKxqZBDZoTRbyK7VdW5YiKGUurFGf66L9K3c4MHhVLMWnSkwK+0gwiIB
 61RB82Or4ru0cSQbF32vsuJgJY9Ax4YODKokPFUzZjPrmch4AgZWKxslDFDq4xs3tpLIeZbALWYdrR
 62PUZaReO+NaLfNKwTZsinzjPkCst7R1Jfjf1abikPrOMPgYFUiQL7GNQFbefeJu9SCXlj09u/qw+l
 63uLrwEyMamG0cgjrWbMOohGtvAuHqeZIIWuLnGE2quq7Ah/U55lliZn3IFgs1n6FalW/XGH0T0aRA
 64im6f1EgxtJShBNdG6qNrkzYMyY2Xvpk82qtmvMbhJMDstpovsdT1rZ6OGfsyJAlG94BcCWC2wuvW
 65MYs6H7AirBG/iocNm7JwSBQ7wjl0keH9vuHDQsI+uu9yWGuyZK6MmxDEOEMZRndU0GrlLIp7zQx8
 66gPeagKqSHhPK0ghHhDilMyToE3Euvi5jneh90eofWK6E4E8KtQTWvFeCe9fYRhMaflH9lwfHfXPo
 679J+7GZLRF/MDTlE8jzWoP5csUxV3jnXQkTUOfHvO7QK6POKwLGkCyZ5wKFydyYdTekG+KU2Vml2y
 68s6pZ+kME1VMYiHRF3CaXX1ZYKikEdnuB1Qp8BE2uKQTaYO4Wns0vQIVRWTrk/Gp5RXu1ihzoTiFb
 69YqLFROQTM+dVTUk3C6W82OroNwofW5ErZwpbdgJJ83gbPLr9W4KZ6YegvEWFT1MawnIYDC6RSKtg
 70fI1blSZOo1SIF6+nR0gFPivSEGBJHclIg7TtvGSB1q7TQFS4W5l+AHdgGPqqURnjuJ7/DVFZHqEV
 71jJM1QEvH/RY1rDXP8FZC6CZR/Le7tVm5o8bHnlU4gyStvNyLXHCP6o3gHmaBcfYmqJr/0ZEKnwnd
 72MBmdIgwQ3+JnKvjAeDe8Z/l0U03CbzeyN3TgUolDlUGVDF2FdPZqrVsLKw6VJv3hoFZmgEbb1fDq
 73Jblc82lrYIEW8E7ltRLDyNDmRdyaqkqw0e7SygXXxv6SKerxoJ5E1NyJdHeQXSahRrsj5UZpxlTE
 74ylb3upIF0F006w2D5J7xUDktPetVgM97dN3whbOrzWPPkn5CTZMaUdYGTYQK3/K/jQSKuXcaM04A
 75EWmcQOQ/5Quco/aMYWTTwFI9+bKZayZKHqQjNKuwss+iWTW2b26cA2XAr2XWCL9PEybVRK/5n4km
 765qkGIMjjczZxNy1+H1QoEOwkGVzQd390ktQajJBFcf9wBO+Ar14EgPKvdL4DRvCvXOK3CtrgbAq6
 77GK7uULRrz9t/5lu27ba5wcwxg6bFhgCsJsoSCJnLCR7H+QMB4LhnWA10U4hFWCamCKFoGkiXW6yV
 78OF4x+0D0MmrjrrAGi05KzfrsXNtRG0xbkmvrsjqzmsOKyjvtiBCrR0S6NUtKhyxoiz5bCCm+d8rm
 79jaPk9q01k52pjJAKYW0f+5+r15LamBecnjXtJ07LCl6cMA1Cj4L0mQUSefyFi666GC3TmhzHwhnj
 80SV64nTApS0gBsc6c18fUBsMcUj5nCNclIzfxwnARd/30yg22r09nUY2gtQTwk/W6VCpAH+7yZkH1
 81TLNGa+UmMnPsnBjlAJ6l9VPsa4uJM2DIQKtZXWq4DkhSAYKF6joIP7nKMDswHzAHBgUrDgMCGgQU
 82wTM1Z+CJZG9xAcf1zAVGl4ggYyYEFGBFyJ8VBwijS2zy1qwN1WYGtcWoAgIH0A==
 83";
 84
 85        public static X509Certificate2 GetX509Certificate2()
 086        {
 087            byte[] data = Convert.FromBase64String(Data);
 088            return new X509Certificate2(data);
 089        }
 90    }
 91}
+
+
+
+

Methods/Properties

+GetX509Certificate2()
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_RegexMatcher.htm b/report/WireMock.Net_RegexMatcher.htm index 542b4d37..bedd4043 100644 --- a/report/WireMock.Net_RegexMatcher.htm +++ b/report/WireMock.Net_RegexMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.RegexMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\RegexMatcher.cs -Covered lines:17 -Uncovered lines:10 -Coverable lines:27 -Total lines:85 -Line coverage:62.9% -Branch coverage:75% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\RegexMatcher.cs +Covered lines:28 +Uncovered lines:4 +Coverable lines:32 +Total lines:81 +Line coverage:87.5% +Branch coverage:100%

Metrics

@@ -30,13 +30,13 @@ .ctor(...)10100100 .ctor(...)22100100 -IsMatch(...)2255.5666.67 -GetPatterns()1000 -GetName()1000 +IsMatch(...)2270100 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\RegexMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\RegexMatcher.cs

@@ -51,8 +51,8 @@ - - + + @@ -62,80 +62,77 @@ - - - + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 9    /// <summary>
 10    /// Regular Expression Matcher
 11    /// </summary>
 12    /// <seealso cref="IMatcher" />
 13    public class RegexMatcher : IMatcher
 12    /// <seealso cref="IStringMatcher" />
 13    public class RegexMatcher : IStringMatcher, IIgnoreCaseMatcher
 14    {
 15        private readonly string[] _patterns;
 16        private readonly Regex[] _expressions;
 20        /// </summary>
 21        /// <param name="pattern">The pattern.</param>
 22        /// <param name="ignoreCase">IgnoreCase</param>
 3923        public RegexMatcher([NotNull, RegexPattern] string pattern, bool ignoreCase = false) : this(new [] { pattern }, 
 3924        {
 3925        }
 10123        public RegexMatcher([NotNull, RegexPattern] string pattern, bool ignoreCase = false) : this(new [] { pattern }, 
 10124        {
 10125        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the <see cref="RegexMatcher"/> class.
 29        /// </summary>
 30        /// <param name="patterns">The patterns.</param>
 31        /// <param name="ignoreCase">IgnoreCase</param>
 9832        public RegexMatcher([NotNull, RegexPattern] string[] patterns, bool ignoreCase = false)
 9833        {
 9834            Check.NotNull(patterns, nameof(patterns));
 26332        public RegexMatcher([NotNull, RegexPattern] string[] patterns, bool ignoreCase = false)
 26333        {
 26334            Check.NotNull(patterns, nameof(patterns));
 35
 9836            _patterns = patterns;
 37
 9838            RegexOptions options = RegexOptions.Compiled;
 9839             if (ignoreCase)
 440                options |= RegexOptions.IgnoreCase;
 41
 19642            _expressions = patterns.Select(p => new Regex(p, options)).ToArray();
 9843        }
 26336            _patterns = patterns;
 26337            IgnoreCase = ignoreCase;
 38
 26339            RegexOptions options = RegexOptions.Compiled;
 26340             if (ignoreCase)
 2841            {
 2842                options |= RegexOptions.IgnoreCase;
 2843            }
 44
 45        /// <summary>
 46        /// Determines whether the specified input is match.
 47        /// </summary>
 48        /// <param name="input">The input string</param>
 49        /// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
 50        public double IsMatch(string input)
 6051        {
 6052             if (input == null)
 053                return MatchScores.Mismatch;
 54
 55            try
 6056            {
 12057                return MatchScores.ToScore(_expressions.Select(e => e.IsMatch(input)));
 58            }
 059            catch (Exception)
 060            {
 061                return MatchScores.Mismatch;
 62            }
 6063        }
 64
 65        /// <summary>
 66        /// Gets the patterns.
 67        /// </summary>
 68        /// <returns>Pattern</returns>
 69        public virtual string[] GetPatterns()
 070        {
 071            return _patterns;
 072        }
 73
 74        /// <summary>
 75        /// Gets the name.
 76        /// </summary>
 77        /// <returns>
 78        /// Name
 79        /// </returns>
 80        public virtual string GetName()
 081        {
 082            return "RegexMatcher";
 083        }
 84    }
 85}
 52845            _expressions = patterns.Select(p => new Regex(p, options)).ToArray();
 26346        }
 47
 48        /// <inheritdoc cref="IStringMatcher.IsMatch"/>
 49        public double IsMatch(string input)
 21650        {
 21651             if (input == null)
 152            {
 153                return MatchScores.Mismatch;
 54            }
 55
 56            try
 21557            {
 64758                return MatchScores.ToScore(_expressions.Select(e => e.IsMatch(input)));
 59            }
 060            catch (Exception)
 061            {
 062                return MatchScores.Mismatch;
 63            }
 21664        }
 65
 66        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 67        public virtual string[] GetPatterns()
 268        {
 269            return _patterns;
 270        }
 71
 72        /// <inheritdoc cref="IMatcher.GetName"/>
 73        public virtual string GetName()
 174        {
 175            return "RegexMatcher";
 176        }
 77
 78        /// <inheritdoc cref="IIgnoreCaseMatcher.IgnoreCase"/>
 079        public bool IgnoreCase { get; }
 80    }
 81}
- + diff --git a/report/WireMock.Net_RegistrationCallback.htm b/report/WireMock.Net_RegistrationCallback.htm index 914f9e05..f5c3a356 100644 --- a/report/WireMock.Net_RegistrationCallback.htm +++ b/report/WireMock.Net_RegistrationCallback.htm @@ -25,6 +25,6 @@

File(s)

No files found. This usually happens if a file isn't covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).

- + \ No newline at end of file diff --git a/report/WireMock.Net_Request.htm b/report/WireMock.Net_Request.htm index 2e2a9f17..b6c33953 100644 --- a/report/WireMock.Net_Request.htm +++ b/report/WireMock.Net_Request.htm @@ -15,12 +15,12 @@ Class:WireMock.RequestBuilders.Request Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs -Covered lines:86 -Uncovered lines:54 -Coverable lines:140 -Total lines:407 -Line coverage:61.4% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs +Covered lines:150 +Uncovered lines:29 +Coverable lines:179 +Total lines:409 +Line coverage:83.7%

Metrics

@@ -29,38 +29,46 @@ Create()10100100 .ctor(...)10100100 -GetRequestMessageMatchers()2000 -GetRequestMessageMatcher()2000 -WithPath(...)10100100 +GetRequestMessageMatchers()20100100 +GetRequestMessageMatcher()20100100 +WithClientIP(...)10100100 +WithClientIP(...)10100100 +WithClientIP(...)10100100 +WithPath(...)10100100 WithPath(...)10100100 WithPath(...)10100100 -WithUrl(...)1000 +WithUrl(...)10100100 WithUrl(...)10100100 -WithUrl(...)1000 -UsingGet()10100100 -UsingPost()10100100 -UsingPut()10100100 +WithUrl(...)10100100 UsingDelete()10100100 +UsingGet()10100100 UsingHead()10100100 +UsingPost()10100100 +UsingPatch()10100100 +UsingPut()10100100 UsingAnyVerb()3063.64100 UsingVerb(...)10100100 WithBody(...)10100100 -WithBody(...)1000 -WithBody(...)1000 -WithBody(...)1000 +WithBody(...)10100100 +WithBody(...)10100100 WithBody(...)10100100 +WithBody(...)10100100 +WithBody(...)10100100 +WithBody(...)10100100 +WithParam(...)1000 WithParam(...)10100100 WithParam(...)10100100 WithHeader(...)10100100 -WithHeader(...)1000 -WithHeader(...)1000 +WithHeader(...)10100100 +WithHeader(...)1000 +WithHeader(...)1000 WithCookie(...)10100100 -WithCookie(...)1000 +WithCookie(...)1000 WithCookie(...)1000

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs

@@ -87,18 +95,18 @@ - - - + + + - - - - + + + + @@ -106,9 +114,9 @@ - - - + + + @@ -116,364 +124,366 @@ - - - + + + - + - - - + + + - - - + + + - + - + - - - + + + - - - + + + - + - + - + - + - + - + - - - + + + - - - + + + - + - + - - - + + + - - - + + + - + - + - - - + + + - - - + + + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 21        /// </summary>
 22        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 23        public static IRequestBuilder Create()
 5324        {
 5325            return new Request(new List<IRequestMatcher>());
 5326        }
 15224        {
 15225            return new Request(new List<IRequestMatcher>());
 15226        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the <see cref="Request"/> class.
 30        /// </summary>
 31        /// <param name="requestMatchers">The request matchers.</param>
 5332        private Request(IList<IRequestMatcher> requestMatchers) : base(requestMatchers)
 5333        {
 5334            _requestMatchers = requestMatchers;
 5335        }
 15232        private Request(IList<IRequestMatcher> requestMatchers) : base(requestMatchers)
 15233        {
 15234            _requestMatchers = requestMatchers;
 15235        }
 36
 37        /// <summary>
 38        /// Gets the request message matchers.
 40        /// <typeparam name="T">Type of IRequestMatcher</typeparam>
 41        /// <returns>A List{T}</returns>
 42        public IList<T> GetRequestMessageMatchers<T>() where T : IRequestMatcher
 043        {
 044            return new ReadOnlyCollection<T>(_requestMatchers.Where(rm => rm is T).Cast<T>().ToList());
 045        }
 643        {
 644            return new ReadOnlyCollection<T>(_requestMatchers.Where(rm => rm is T).Cast<T>().ToList());
 645        }
 46
 47        /// <summary>
 48        /// Gets the request message matcher.
 50        /// <typeparam name="T">Type of IRequestMatcher</typeparam>
 51        /// <returns>A RequestMatcher</returns>
 52        public T GetRequestMessageMatcher<T>() where T : IRequestMatcher
 053        {
 054            return _requestMatchers.Where(rm => rm is T).Cast<T>().FirstOrDefault();
 055        }
 253        {
 254            return _requestMatchers.Where(rm => rm is T).Cast<T>().FirstOrDefault();
 255        }
 56
 57        /// <summary>
 58        /// The with path.
 58        /// The with clientIP.
 59        /// </summary>
 60        /// <param name="matchers">The matchers.</param>
 61        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 62        public IRequestBuilder WithPath(params IMatcher[] matchers)
 663        {
 664            Check.NotEmpty(matchers, nameof(matchers));
 62        public IRequestBuilder WithClientIP(params IStringMatcher[] matchers)
 163        {
 164            Check.NotNullOrEmpty(matchers, nameof(matchers));
 65
 666            _requestMatchers.Add(new RequestMessagePathMatcher(matchers));
 667            return this;
 668        }
 166            _requestMatchers.Add(new RequestMessageClientIPMatcher(matchers));
 167            return this;
 168        }
 69
 70        /// <summary>
 71        /// The with path.
 71        /// The with clientIP.
 72        /// </summary>
 73        /// <param name="paths">The paths.</param>
 73        /// <param name="clientIPs">The ClientIPs.</param>
 74        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 75        public IRequestBuilder WithPath(params string[] paths)
 2576        {
 2577            Check.NotEmpty(paths, nameof(paths));
 75        public IRequestBuilder WithClientIP(params string[] clientIPs)
 276        {
 277            Check.NotNullOrEmpty(clientIPs, nameof(clientIPs));
 78
 2579            _requestMatchers.Add(new RequestMessagePathMatcher(paths));
 2580            return this;
 2581        }
 279            _requestMatchers.Add(new RequestMessageClientIPMatcher(clientIPs));
 280            return this;
 281        }
 82
 83        /// <summary>
 84        /// The with path.
 84        /// The with clientIP.
 85        /// </summary>
 86        /// <param name="funcs">The path func.</param>
 86        /// <param name="funcs">The clientIP funcs.</param>
 87        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 88        public IRequestBuilder WithPath(params Func<string, bool>[] funcs)
 88        public IRequestBuilder WithClientIP(params Func<string, bool>[] funcs)
 189        {
 190            Check.NotEmpty(funcs, nameof(funcs));
 190            Check.NotNullOrEmpty(funcs, nameof(funcs));
 91
 192            _requestMatchers.Add(new RequestMessagePathMatcher(funcs));
 192            _requestMatchers.Add(new RequestMessageClientIPMatcher(funcs));
 193            return this;
 194        }
 95
 96        /// <summary>
 97        /// The with url.
 97        /// The with path.
 98        /// </summary>
 99        /// <param name="matchers">The matchers.</param>
 100        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 101        public IRequestBuilder WithUrl(params IMatcher[] matchers)
 0102        {
 0103            Check.NotEmpty(matchers, nameof(matchers));
 101        public IRequestBuilder WithPath(params IStringMatcher[] matchers)
 21102        {
 21103            Check.NotNullOrEmpty(matchers, nameof(matchers));
 104
 0105            _requestMatchers.Add(new RequestMessageUrlMatcher(matchers));
 0106            return this;
 0107        }
 21105            _requestMatchers.Add(new RequestMessagePathMatcher(matchers));
 21106            return this;
 21107        }
 108
 109        /// <summary>
 110        /// The with url.
 110        /// The with path.
 111        /// </summary>
 112        /// <param name="urls">The urls.</param>
 112        /// <param name="paths">The paths.</param>
 113        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 114        public IRequestBuilder WithUrl(params string[] urls)
 1115        {
 1116            Check.NotEmpty(urls, nameof(urls));
 114        public IRequestBuilder WithPath(params string[] paths)
 98115        {
 98116            Check.NotNullOrEmpty(paths, nameof(paths));
 117
 1118            _requestMatchers.Add(new RequestMessageUrlMatcher(urls));
 1119            return this;
 1120        }
 98118            _requestMatchers.Add(new RequestMessagePathMatcher(paths));
 98119            return this;
 98120        }
 121
 122        /// <summary>
 123        /// The with url.
 123        /// The with path.
 124        /// </summary>
 125        /// <param name="funcs">The url func.</param>
 125        /// <param name="funcs">The path func.</param>
 126        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 127        public IRequestBuilder WithUrl(params Func<string, bool>[] funcs)
 0128        {
 0129            Check.NotEmpty(funcs, nameof(funcs));
 127        public IRequestBuilder WithPath(params Func<string, bool>[] funcs)
 1128        {
 1129            Check.NotNullOrEmpty(funcs, nameof(funcs));
 130
 0131            _requestMatchers.Add(new RequestMessageUrlMatcher(funcs));
 0132            return this;
 0133        }
 1131            _requestMatchers.Add(new RequestMessagePathMatcher(funcs));
 1132            return this;
 1133        }
 134
 135        /// <summary>
 136        /// The using get.
 136        /// The with url.
 137        /// </summary>
 138        /// <returns>
 139        /// The <see cref="IRequestBuilder"/>.
 140        /// </returns>
 141        public IRequestBuilder UsingGet()
 12142        {
 12143            _requestMatchers.Add(new RequestMessageMethodMatcher("get"));
 12144            return this;
 12145        }
 146
 147        /// <summary>
 148        /// The using post.
 149        /// </summary>
 150        /// <returns>
 151        /// The <see cref="IRequestBuilder"/>.
 152        /// </returns>
 153        public IRequestBuilder UsingPost()
 138        /// <param name="matchers">The matchers.</param>
 139        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 140        public IRequestBuilder WithUrl(params IStringMatcher[] matchers)
 1141        {
 1142            Check.NotNullOrEmpty(matchers, nameof(matchers));
 143
 1144            _requestMatchers.Add(new RequestMessageUrlMatcher(matchers));
 1145            return this;
 1146        }
 147
 148        /// <summary>
 149        /// The with url.
 150        /// </summary>
 151        /// <param name="urls">The urls.</param>
 152        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 153        public IRequestBuilder WithUrl(params string[] urls)
 1154        {
 1155            _requestMatchers.Add(new RequestMessageMethodMatcher("post"));
 1156            return this;
 1157        }
 158
 159        /// <summary>
 160        /// The using put.
 161        /// </summary>
 162        /// <returns>
 163        /// The <see cref="IRequestBuilder"/>.
 164        /// </returns>
 165        public IRequestBuilder UsingPut()
 3166        {
 3167            _requestMatchers.Add(new RequestMessageMethodMatcher("put"));
 3168            return this;
 3169        }
 170
 171        /// <summary>
 172        /// The using delete.
 173        /// </summary>
 174        /// <returns>
 175        /// The <see cref="IRequestBuilder"/>.
 176        /// </returns>
 177        public IRequestBuilder UsingDelete()
 1178        {
 1179            _requestMatchers.Add(new RequestMessageMethodMatcher("delete"));
 1180            return this;
 1181        }
 182
 183        /// <summary>
 184        /// The using head.
 185        /// </summary>
 186        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 187        public IRequestBuilder UsingHead()
 1188        {
 1189            _requestMatchers.Add(new RequestMessageMethodMatcher("head"));
 1190            return this;
 1191        }
 192
 193        /// <summary>
 194        /// The using any verb.
 195        /// </summary>
 196        /// <returns>
 197        /// The <see cref="IRequestBuilder"/>.
 198        /// </returns>
 199        public IRequestBuilder UsingAnyVerb()
 19200        {
 21201            var matchers = _requestMatchers.Where(m => m is RequestMessageMethodMatcher).ToList();
 57202            foreach (var matcher in matchers)
 0203            {
 0204                _requestMatchers.Remove(matcher);
 0205            }
 206
 19207            return this;
 19208        }
 209
 210        /// <summary>
 211        /// The using verb.
 212        /// </summary>
 213        /// <param name="verbs">The verbs.</param>
 214        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 215        public IRequestBuilder UsingVerb(params string[] verbs)
 4216        {
 4217            Check.NotEmpty(verbs, nameof(verbs));
 218
 4219            _requestMatchers.Add(new RequestMessageMethodMatcher(verbs));
 4220            return this;
 4221        }
 222
 223        /// <summary>
 224        /// The with body.
 225        /// </summary>
 226        /// <param name="body">
 227        /// The body.
 228        /// </param>
 229        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 230        public IRequestBuilder WithBody(string body)
 2231        {
 2232            _requestMatchers.Add(new RequestMessageBodyMatcher(body));
 2233            return this;
 2234        }
 235
 236        /// <summary>
 237        /// The with body byte[].
 238        /// </summary>
 239        /// <param name="body">
 240        /// The body as byte[].
 241        /// </param>
 242        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 243        public IRequestBuilder WithBody(byte[] body)
 0244        {
 0245            _requestMatchers.Add(new RequestMessageBodyMatcher(body));
 0246            return this;
 0247        }
 248
 249        /// <summary>
 250        /// The with body.
 251        /// </summary>
 252        /// <param name="func">
 253        /// The body function.
 254        /// </param>
 255        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 256        public IRequestBuilder WithBody(Func<string, bool> func)
 0257        {
 0258            Check.NotNull(func, nameof(func));
 259
 0260            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 0261            return this;
 0262        }
 263
 264        /// <summary>
 265        /// The with body.
 266        /// </summary>
 267        /// <param name="func">
 268        /// The body function.
 269        /// </param>
 270        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 271        public IRequestBuilder WithBody(Func<byte[], bool> func)
 0272        {
 0273            Check.NotNull(func, nameof(func));
 274
 0275            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 0276            return this;
 0277        }
 278
 279        /// <summary>
 280        /// The with body.
 281        /// </summary>
 282        /// <param name="matcher">The matcher.</param>
 283        /// <returns>The <see cref="IRequestBuilder" />.</returns>
 284        public IRequestBuilder WithBody(IMatcher matcher)
 13285        {
 13286            Check.NotNull(matcher, nameof(matcher));
 287
 13288            _requestMatchers.Add(new RequestMessageBodyMatcher(matcher));
 13289            return this;
 13290        }
 291
 292        /// <summary>
 293        /// The with parameters.
 294        /// </summary>
 295        /// <param name="key">
 296        /// The key.
 297        /// </param>
 298        /// <param name="values">
 299        /// The values.
 300        /// </param>
 301        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 302        public IRequestBuilder WithParam(string key, params string[] values)
 3303        {
 3304            Check.NotNull(key, nameof(key));
 305
 3306            _requestMatchers.Add(new RequestMessageParamMatcher(key, values));
 3307            return this;
 3308        }
 309
 310        /// <summary>
 311        /// The with parameters.
 312        /// </summary>
 313        /// <param name="funcs">The funcs.</param>
 314        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 315        public IRequestBuilder WithParam(params Func<IDictionary<string, WireMockList<string>>, bool>[] funcs)
 1316        {
 1317            Check.NotEmpty(funcs, nameof(funcs));
 318
 1319            _requestMatchers.Add(new RequestMessageParamMatcher(funcs));
 1320            return this;
 1321        }
 322
 323        /// <summary>
 324        /// With header.
 325        /// </summary>
 326        /// <param name="name">The name.</param>
 327        /// <param name="pattern">The pattern.</param>
 328        /// <param name="ignoreCase">if set to <c>true</c> [ignore case].</param>
 329        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 330        public IRequestBuilder WithHeader(string name, string pattern, bool ignoreCase = true)
 4331        {
 4332            Check.NotNull(name, nameof(name));
 4333            Check.NotNull(pattern, nameof(pattern));
 334
 4335            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, pattern, ignoreCase));
 4336            return this;
 4337        }
 338
 339        /// <summary>
 340        /// With header.
 341        /// </summary>
 342        /// <param name="name">The name.</param>
 343        /// <param name="matchers">The matchers.</param>
 344        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 345        public IRequestBuilder WithHeader(string name, params IMatcher[] matchers)
 0346        {
 0347            Check.NotNull(name, nameof(name));
 0348            Check.NotEmpty(matchers, nameof(matchers));
 349
 0350            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, matchers));
 0351            return this;
 0352        }
 353
 354        /// <summary>
 355        /// With header.
 356        /// </summary>
 357        /// <param name="funcs">The funcs.</param>
 358        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 359        public IRequestBuilder WithHeader(params Func<IDictionary<string, string>, bool>[] funcs)
 0360        {
 0361            Check.NotEmpty(funcs, nameof(funcs));
 362
 0363            _requestMatchers.Add(new RequestMessageHeaderMatcher(funcs));
 0364            return this;
 0365        }
 366
 367        /// <summary>
 368        /// With cookie.
 369        /// </summary>
 370        /// <param name="name">The name.</param>
 371        /// <param name="pattern">The pattern.</param>
 372        /// <param name="ignoreCase">if set to <c>true</c> [ignore case].</param>
 373        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 374        public IRequestBuilder WithCookie(string name, string pattern, bool ignoreCase = true)
 1375        {
 1376            _requestMatchers.Add(new RequestMessageCookieMatcher(name, pattern, ignoreCase));
 1377            return this;
 1378        }
 379
 380        /// <summary>
 381        /// With cookie.
 382        /// </summary>
 383        /// <param name="name">The name.</param>
 384        /// <param name="matchers">The matchers.</param>
 385        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 386        public IRequestBuilder WithCookie(string name, params IMatcher[] matchers)
 0387        {
 0388            Check.NotEmpty(matchers, nameof(matchers));
 389
 0390            _requestMatchers.Add(new RequestMessageCookieMatcher(name, matchers));
 0391            return this;
 0392        }
 393
 394        /// <summary>
 395        /// With header.
 396        /// </summary>
 397        /// <param name="funcs">The funcs.</param>
 398        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 399        public IRequestBuilder WithCookie(params Func<IDictionary<string, string>, bool>[] funcs)
 0400        {
 0401            Check.NotEmpty(funcs, nameof(funcs));
 402
 0403            _requestMatchers.Add(new RequestMessageCookieMatcher(funcs));
 0404            return this;
 0405        }
 406    }
 407}
 1155            Check.NotNullOrEmpty(urls, nameof(urls));
 156
 1157            _requestMatchers.Add(new RequestMessageUrlMatcher(urls));
 1158            return this;
 1159        }
 160
 161        /// <summary>
 162        /// The with url.
 163        /// </summary>
 164        /// <param name="funcs">The url func.</param>
 165        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 166        public IRequestBuilder WithUrl(params Func<string, bool>[] funcs)
 1167        {
 1168            Check.NotNullOrEmpty(funcs, nameof(funcs));
 169
 1170            _requestMatchers.Add(new RequestMessageUrlMatcher(funcs));
 1171            return this;
 1172        }
 173
 174        /// <inheritdoc cref="IMethodRequestBuilder.UsingDelete"/>
 175        public IRequestBuilder UsingDelete()
 16176        {
 16177            _requestMatchers.Add(new RequestMessageMethodMatcher("delete"));
 16178            return this;
 16179        }
 180
 181        /// <inheritdoc cref="IMethodRequestBuilder.UsingGet"/>
 182        public IRequestBuilder UsingGet()
 41183        {
 41184            _requestMatchers.Add(new RequestMessageMethodMatcher("get"));
 41185            return this;
 41186        }
 187
 188        /// <inheritdoc cref="IMethodRequestBuilder.UsingHead"/>
 189        public IRequestBuilder UsingHead()
 1190        {
 1191            _requestMatchers.Add(new RequestMessageMethodMatcher("head"));
 1192            return this;
 1193        }
 194
 195        /// <inheritdoc cref="IMethodRequestBuilder.UsingPost"/>
 196        public IRequestBuilder UsingPost()
 20197        {
 20198            _requestMatchers.Add(new RequestMessageMethodMatcher("post"));
 20199            return this;
 20200        }
 201
 202        /// <inheritdoc cref="IMethodRequestBuilder.UsingPatch"/>
 203        public IRequestBuilder UsingPatch()
 1204        {
 1205            _requestMatchers.Add(new RequestMessageMethodMatcher("patch"));
 1206            return this;
 1207        }
 208
 209        /// <inheritdoc cref="IMethodRequestBuilder.UsingPut"/>
 210        public IRequestBuilder UsingPut()
 6211        {
 6212            _requestMatchers.Add(new RequestMessageMethodMatcher("put"));
 6213            return this;
 6214        }
 215
 216        /// <inheritdoc cref="IMethodRequestBuilder.UsingAnyVerb"/>
 217        public IRequestBuilder UsingAnyVerb()
 24218        {
 28219            var matchers = _requestMatchers.Where(m => m is RequestMessageMethodMatcher).ToList();
 72220            foreach (var matcher in matchers)
 0221            {
 0222                _requestMatchers.Remove(matcher);
 0223            }
 224
 24225            return this;
 24226        }
 227
 228        /// <inheritdoc cref="IMethodRequestBuilder.UsingVerb"/>
 229        public IRequestBuilder UsingVerb(params string[] verbs)
 11230        {
 11231            Check.NotNullOrEmpty(verbs, nameof(verbs));
 232
 11233            _requestMatchers.Add(new RequestMessageMethodMatcher(verbs));
 11234            return this;
 11235        }
 236
 237        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(string)"/>
 238        public IRequestBuilder WithBody(string body)
 2239        {
 2240            _requestMatchers.Add(new RequestMessageBodyMatcher(body));
 2241            return this;
 2242        }
 243
 244        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(byte[])"/>
 245        public IRequestBuilder WithBody(byte[] body)
 1246        {
 1247            _requestMatchers.Add(new RequestMessageBodyMatcher(body));
 1248            return this;
 1249        }
 250
 251        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(object)"/>
 252        public IRequestBuilder WithBody(object body)
 1253        {
 1254            _requestMatchers.Add(new RequestMessageBodyMatcher(body));
 1255            return this;
 1256        }
 257
 258        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(IMatcher)"/>
 259        public IRequestBuilder WithBody(IMatcher matcher)
 13260        {
 13261            Check.NotNull(matcher, nameof(matcher));
 262
 13263            _requestMatchers.Add(new RequestMessageBodyMatcher(matcher));
 13264            return this;
 13265        }
 266
 267        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{string, bool})"/>
 268        public IRequestBuilder WithBody(Func<string, bool> func)
 1269        {
 1270            Check.NotNull(func, nameof(func));
 271
 1272            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1273            return this;
 1274        }
 275
 276        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{byte[], bool})"/>
 277        public IRequestBuilder WithBody(Func<byte[], bool> func)
 1278        {
 1279            Check.NotNull(func, nameof(func));
 280
 1281            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1282            return this;
 1283        }
 284
 285        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{object, bool})"/>
 286        public IRequestBuilder WithBody(Func<object, bool> func)
 1287        {
 1288            Check.NotNull(func, nameof(func));
 289
 1290            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1291            return this;
 1292        }
 293
 294        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string)"/>
 295        public IRequestBuilder WithParam(string key)
 0296        {
 0297            Check.NotNull(key, nameof(key));
 298
 0299            _requestMatchers.Add(new RequestMessageParamMatcher(key));
 0300            return this;
 0301        }
 302
 303        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, string[])"/>
 304        public IRequestBuilder WithParam(string key, params string[] values)
 2305        {
 2306            Check.NotNull(key, nameof(key));
 307
 2308            _requestMatchers.Add(new RequestMessageParamMatcher(key, values));
 2309            return this;
 2310        }
 311
 312        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(Func{IDictionary{string, WireMockList{string}}, bool}[])"/
 313        public IRequestBuilder WithParam(params Func<IDictionary<string, WireMockList<string>>, bool>[] funcs)
 1314        {
 1315            Check.NotNullOrEmpty(funcs, nameof(funcs));
 316
 1317            _requestMatchers.Add(new RequestMessageParamMatcher(funcs));
 1318            return this;
 1319        }
 320
 321        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string,string,bool)"/>
 322        public IRequestBuilder WithHeader(string name, string pattern, bool ignoreCase = true)
 13323        {
 13324            Check.NotNull(name, nameof(name));
 13325            Check.NotNull(pattern, nameof(pattern));
 326
 13327            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, pattern, ignoreCase));
 13328            return this;
 13329        }
 330
 331        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string,string[],bool)"/>
 332        public IRequestBuilder WithHeader(string name, string[] patterns, bool ignoreCase = true)
 12333        {
 12334            Check.NotNull(name, nameof(name));
 12335            Check.NotNull(patterns, nameof(patterns));
 336
 12337            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, patterns, ignoreCase));
 12338            return this;
 12339        }
 340
 341        /// <summary>
 342        /// With header.
 343        /// </summary>
 344        /// <param name="name">The name.</param>
 345        /// <param name="matchers">The matchers.</param>
 346        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 347        public IRequestBuilder WithHeader(string name, params IStringMatcher[] matchers)
 0348        {
 0349            Check.NotNull(name, nameof(name));
 0350            Check.NotNullOrEmpty(matchers, nameof(matchers));
 351
 0352            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, matchers));
 0353            return this;
 0354        }
 355
 356        /// <summary>
 357        /// With header.
 358        /// </summary>
 359        /// <param name="funcs">The funcs.</param>
 360        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 361        public IRequestBuilder WithHeader(params Func<IDictionary<string, string[]>, bool>[] funcs)
 0362        {
 0363            Check.NotNullOrEmpty(funcs, nameof(funcs));
 364
 0365            _requestMatchers.Add(new RequestMessageHeaderMatcher(funcs));
 0366            return this;
 0367        }
 368
 369        /// <summary>
 370        /// With cookie.
 371        /// </summary>
 372        /// <param name="name">The name.</param>
 373        /// <param name="pattern">The pattern.</param>
 374        /// <param name="ignoreCase">if set to <c>true</c> [ignore case].</param>
 375        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 376        public IRequestBuilder WithCookie(string name, string pattern, bool ignoreCase = true)
 1377        {
 1378            _requestMatchers.Add(new RequestMessageCookieMatcher(name, pattern, ignoreCase));
 1379            return this;
 1380        }
 381
 382        /// <summary>
 383        /// With cookie.
 384        /// </summary>
 385        /// <param name="name">The name.</param>
 386        /// <param name="matchers">The matchers.</param>
 387        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 388        public IRequestBuilder WithCookie(string name, params IStringMatcher[] matchers)
 0389        {
 0390            Check.NotNullOrEmpty(matchers, nameof(matchers));
 391
 0392            _requestMatchers.Add(new RequestMessageCookieMatcher(name, matchers));
 0393            return this;
 0394        }
 395
 396        /// <summary>
 397        /// With header.
 398        /// </summary>
 399        /// <param name="funcs">The funcs.</param>
 400        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 401        public IRequestBuilder WithCookie(params Func<IDictionary<string, string>, bool>[] funcs)
 0402        {
 0403            Check.NotNullOrEmpty(funcs, nameof(funcs));
 404
 0405            _requestMatchers.Add(new RequestMessageCookieMatcher(funcs));
 0406            return this;
 0407        }
 408    }
 409}
- +

Methods/Properties

@@ -481,32 +491,40 @@ .ctor(System.Collections.Generic.IList`1<WireMock.Matchers.Request.IRequestMatcher>)
GetRequestMessageMatchers()
GetRequestMessageMatcher()
-WithPath(WireMock.Matchers.IMatcher[])
-WithPath(System.String[])
-WithPath(System.Func`2<System.String,System.Boolean>[])
-WithUrl(WireMock.Matchers.IMatcher[])
-WithUrl(System.String[])
-WithUrl(System.Func`2<System.String,System.Boolean>[])
-UsingGet()
-UsingPost()
-UsingPut()
-UsingDelete()
-UsingHead()
-UsingAnyVerb()
-UsingVerb(System.String[])
-WithBody(System.String)
-WithBody(System.Byte[])
-WithBody(System.Func`2<System.String,System.Boolean>)
-WithBody(System.Func`2<System.Byte[],System.Boolean>)
-WithBody(WireMock.Matchers.IMatcher)
-WithParam(System.String,System.String[])
-WithParam(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[])
-WithHeader(System.String,System.String,System.Boolean)
-WithHeader(System.String,WireMock.Matchers.IMatcher[])
-WithHeader(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[])
-WithCookie(System.String,System.String,System.Boolean)
-WithCookie(System.String,WireMock.Matchers.IMatcher[])
-WithCookie(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[])
+WithClientIP(WireMock.Matchers.IStringMatcher[])
+WithClientIP(System.String[])
+WithClientIP(System.Func`2<System.String,System.Boolean>[])
+WithPath(WireMock.Matchers.IStringMatcher[])
+WithPath(System.String[])
+WithPath(System.Func`2<System.String,System.Boolean>[])
+WithUrl(WireMock.Matchers.IStringMatcher[])
+WithUrl(System.String[])
+WithUrl(System.Func`2<System.String,System.Boolean>[])
+UsingDelete()
+UsingGet()
+UsingHead()
+UsingPost()
+UsingPatch()
+UsingPut()
+UsingAnyVerb()
+UsingVerb(System.String[])
+WithBody(System.String)
+WithBody(System.Byte[])
+WithBody(System.Object)
+WithBody(WireMock.Matchers.IMatcher)
+WithBody(System.Func`2<System.String,System.Boolean>)
+WithBody(System.Func`2<System.Byte[],System.Boolean>)
+WithBody(System.Func`2<System.Object,System.Boolean>)
+WithParam(System.String)
+WithParam(System.String,System.String[])
+WithParam(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[])
+WithHeader(System.String,System.String,System.Boolean)
+WithHeader(System.String,System.String[],System.Boolean)
+WithHeader(System.String,WireMock.Matchers.IStringMatcher[])
+WithHeader(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[])
+WithCookie(System.String,System.String,System.Boolean)
+WithCookie(System.String,WireMock.Matchers.IStringMatcher[])
+WithCookie(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[])

diff --git a/report/WireMock.Net_RequestMatchResult.htm b/report/WireMock.Net_RequestMatchResult.htm index 27fa01e0..48857114 100644 --- a/report/WireMock.Net_RequestMatchResult.htm +++ b/report/WireMock.Net_RequestMatchResult.htm @@ -15,96 +15,126 @@ Class:WireMock.Matchers.Request.RequestMatchResult Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMatchResult.cs -Covered lines:4 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMatchResult.cs +Covered lines:12 Uncovered lines:4 -Coverable lines:8 -Total lines:57 -Line coverage:50% +Coverable lines:16 +Total lines:82 +Line coverage:75%

Metrics

+ +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100
AddScore(...)10100100
CompareTo(...)1000

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMatchResult.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMatchResult.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2
 3namespace WireMock.Matchers.Request
 4{
 5    /// <summary>
 6    /// RequestMatchResult
 7    /// </summary>
 8    public class RequestMatchResult : IComparable
 9    {
 10        /// <summary>
 11        /// Gets or sets the match-score.
 12        /// </summary>
 13        /// <value>
 14        /// The match-score.
 15        /// </value>
 14016        public double TotalScore { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the total number of matches.
 20        /// </summary>
 21        /// <value>
 22        /// The total number of matches.
 23        /// </value>
 14224        public int TotalNumber { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets a value indicating whether this instance is perfect match.
 28        /// </summary>
 29        /// <value>
 30        /// <c>true</c> if this instance is perfect match; otherwise, <c>false</c>.
 31        /// </value>
 832        public bool IsPerfectMatch => Math.Abs(TotalScore - TotalNumber) < MatchScores.Tolerance;
 33
 34        /// <summary>
 35        /// Gets the match percentage.
 36        /// </summary>
 37        /// <value>
 38        /// The match percentage.
 39        /// </value>
 240        public double AverageTotalScore => TotalNumber == 0 ? 0.0 : TotalScore / TotalNumber;
 41
 42        /// <summary>
 43        /// Compares the current instance with another object of the same type and returns an integer that indicates whe
 44        /// </summary>
 45        /// <param name="obj">An object to compare with this instance.</param>
 46        /// <returns>
 47        /// A value that indicates the relative order of the objects being compared. The return value has these meanings
 48        /// </returns>
 49        /// <exception cref="System.NotImplementedException"></exception>
 50        public int CompareTo(object obj)
 051        {
 052            var compareObj = (RequestMatchResult)obj;
 53
 054            return compareObj.AverageTotalScore.CompareTo(AverageTotalScore);
 055        }
 56    }
 57}
 2using System.Collections.Generic;
 3
 4namespace WireMock.Matchers.Request
 5{
 6    /// <summary>
 7    /// RequestMatchResult
 8    /// </summary>
 9    public class RequestMatchResult : IComparable
 10    {
 11        /// <summary>
 12        /// Gets or sets the match-score.
 13        /// </summary>
 14        /// <value>
 15        /// The match-score.
 16        /// </value>
 85917        public double TotalScore { get; private set; }
 18
 19        /// <summary>
 20        /// Gets or sets the total number of matches.
 21        /// </summary>
 22        /// <value>
 23        /// The total number of matches.
 24        /// </value>
 86225        public int TotalNumber { get; private set; }
 26
 27        /// <summary>
 28        /// Gets or sets a value indicating whether this instance is perfect match.
 29        /// </summary>
 30        /// <value>
 31        /// <c>true</c> if this instance is perfect match; otherwise, <c>false</c>.
 32        /// </value>
 9833        public bool IsPerfectMatch => Math.Abs(TotalScore - TotalNumber) < MatchScores.Tolerance;
 34
 35        /// <summary>
 36        /// Gets the match percentage.
 37        /// </summary>
 38        /// <value>
 39        /// The match percentage.
 40        /// </value>
 341        public double AverageTotalScore => TotalNumber == 0 ? 0.0 : TotalScore / TotalNumber;
 42
 43        /// <summary>
 44        /// Gets the match details.
 45        /// </summary>
 37946        public IList<KeyValuePair<Type, double>> MatchDetails { get; }
 47
 48        /// <summary>
 49        /// Initializes a new instance of the <see cref="RequestMatchResult"/> class.
 50        /// </summary>
 41851        public RequestMatchResult() => MatchDetails = new List<KeyValuePair<Type, double>>();
 52
 53        /// <summary>
 54        /// Adds the score.
 55        /// </summary>
 56        /// <param name="matcherType">The matcher Type.</param>
 57        /// <param name="score">The score.</param>
 58        /// <returns>The score.</returns>
 59        public double AddScore(Type matcherType, double score)
 37960        {
 37961            TotalScore += score;
 37962            TotalNumber++;
 37963            MatchDetails.Add(new KeyValuePair<Type, double>(matcherType, score));
 64
 37965            return score;
 37966        }
 67
 68        /// <summary>
 69        /// Compares the current instance with another object of the same type and returns an integer that indicates whe
 70        /// </summary>
 71        /// <param name="obj">An object to compare with this instance.</param>
 72        /// <returns>
 73        /// A value that indicates the relative order of the objects being compared. The return value has these meanings
 74        /// </returns>
 75        public int CompareTo(object obj)
 076        {
 077            var compareObj = (RequestMatchResult)obj;
 78
 079            return compareObj.AverageTotalScore.CompareTo(AverageTotalScore);
 080        }
 81    }
 82}
- + diff --git a/report/WireMock.Net_RequestMessage.htm b/report/WireMock.Net_RequestMessage.htm index 4ca45a59..d54cad84 100644 --- a/report/WireMock.Net_RequestMessage.htm +++ b/report/WireMock.Net_RequestMessage.htm @@ -15,174 +15,279 @@ Class:WireMock.RequestMessage Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\RequestMessage.cs -Covered lines:49 -Uncovered lines:1 -Coverable lines:50 -Total lines:127 -Line coverage:98% -Branch coverage:90% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestMessage.cs +Covered lines:94 +Uncovered lines:0 +Coverable lines:94 +Total lines:219 +Line coverage:100% +Branch coverage:91.6%

Metrics

- - + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)4410080
GetParameter(...)32100100
.ctor(...)1332100100
.ctor(...)52100100
ParseQuery(...)4410080
GetParameter(...)4410080

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\RequestMessage.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestMessage.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using JetBrains.Annotations;
 5using WireMock.Util;
 6using WireMock.Validation;
 7using System.Text;
 8
 9namespace WireMock
 10{
 11    /// <summary>
 12    /// The request.
 13    /// </summary>
 14    public class RequestMessage
 15    {
 16        /// <summary>
 17        /// Gets the url.
 18        /// </summary>
 319        public string Url { get; }
 20
 21        /// <summary>
 22        /// Gets the DateTime.
 23        /// </summary>
 1324        public DateTime DateTime { get; set; }
 25
 26        /// <summary>
 27        /// Gets the path.
 28        /// </summary>
 3229        public string Path { get; }
 30
 31        /// <summary>
 32        /// Gets the method.
 33        /// </summary>
 1734        public string Method { get; }
 35
 36        /// <summary>
 37        /// Gets the headers.
 38        /// </summary>
 1339        public IDictionary<string, string> Headers { get; }
 40
 41        /// <summary>
 42        /// Gets the cookies.
 43        /// </summary>
 344        public IDictionary<string, string> Cookies { get; }
 45
 46        /// <summary>
 47        /// Gets the query.
 48        /// </summary>
 7449        public IDictionary<string, WireMockList<string>> Query { get; } = new Dictionary<string, WireMockList<string>>()
 50
 51        /// <summary>
 52        /// Gets the bodyAsBytes.
 53        /// </summary>
 154        public byte[] BodyAsBytes { get; }
 55
 56        /// <summary>
 57        /// Gets the body.
 58        /// </summary>
 1359        public string Body { get; }
 60
 61        /// <summary>
 62        /// Gets the body encoding.
 63        /// </summary>
 064        public Encoding BodyEncoding { get; }
 65
 66        /// <summary>
 67        /// Initializes a new instance of the <see cref="RequestMessage"/> class.
 68        /// </summary>
 69        /// <param name="url">The original url.</param>
 70        /// <param name="verb">The verb.</param>
 71        /// <param name="bodyAsBytes">The bodyAsBytes byte[].</param>
 72        /// <param name="body">The body string.</param>
 73        /// <param name="bodyEncoding">The body encoding</param>
 74        /// <param name="headers">The headers.</param>
 75        /// <param name="cookies">The cookies.</param>
 5676        public RequestMessage([NotNull] Uri url, [NotNull] string verb, [CanBeNull] byte[] bodyAsBytes = null, [CanBeNul
 5677        {
 5678            Check.NotNull(url, nameof(url));
 5679            Check.NotNull(verb, nameof(verb));
 80
 5681            Url = url.ToString();
 5682            Path = url.AbsolutePath;
 5683            Method = verb.ToLower();
 5684            BodyAsBytes = bodyAsBytes;
 5685            Body = body;
 5686            BodyEncoding = bodyEncoding;
 5687            Headers = headers;
 5688            Cookies = cookies;
 89
 5690            string query = url.Query;
 5691             if (!string.IsNullOrEmpty(query))
 592            {
 593                 if (query.StartsWith("?"))
 594                {
 595                    query = query.Substring(1);
 596                }
 97
 598                Query = query.Split('&').Aggregate(
 599                    new Dictionary<string, WireMockList<string>>(),
 5100                    (dict, term) =>
 16101                    {
 16102                        var parts = term.Split('=');
 16103                        var key = parts[0];
 16104                         if (!dict.ContainsKey(key))
 12105                        {
 12106                            dict.Add(key, new WireMockList<string>());
 12107                        }
 5108
 16109                         if (parts.Length == 2)
 15110                            dict[key].Add(parts[1]);
 5111
 16112                        return dict;
 16113                    });
 5114            }
 56115        }
 4using System.Text;
 5using System.Net;
 6using JetBrains.Annotations;
 7using WireMock.Util;
 8using WireMock.Validation;
 9
 10namespace WireMock
 11{
 12    /// <summary>
 13    /// The request.
 14    /// </summary>
 15    public class RequestMessage
 16    {
 17        /// <summary>
 18        /// Gets the Client IP Address.
 19        /// </summary>
 820        public string ClientIP { get; }
 21
 22        /// <summary>
 23        /// Gets the url.
 24        /// </summary>
 2625        public string Url { get; }
 26
 27        /// <summary>
 28        /// Gets the DateTime.
 29        /// </summary>
 6030        public DateTime DateTime { get; set; }
 31
 32        /// <summary>
 33        /// Gets the path.
 34        /// </summary>
 18335        public string Path { get; }
 36
 37        /// <summary>
 38        /// Gets the method.
 39        /// </summary>
 16440        public string Method { get; }
 41
 42        /// <summary>
 43        /// Gets the headers.
 44        /// </summary>
 14245        public IDictionary<string, WireMockList<string>> Headers { get; }
 46
 47        /// <summary>
 48        /// Gets the cookies.
 49        /// </summary>
 1450        public IDictionary<string, string> Cookies { get; }
 51
 52        /// <summary>
 53        /// Gets the query.
 54        /// </summary>
 4855        public IDictionary<string, WireMockList<string>> Query { get; }
 56
 57        /// <summary>
 58        /// Gets the raw query.
 59        /// </summary>
 14360        public string RawQuery { get; }
 61
 62        /// <summary>
 63        /// The body as string.
 64        /// </summary>
 5765        public string Body { get; }
 66
 67        /// <summary>
 68        /// The body (as JSON object).
 69        /// </summary>
 10970        public object BodyAsJson { get; set; }
 71
 72        /// <summary>
 73        /// The body (as bytearray).
 74        /// </summary>
 16675        public byte[] BodyAsBytes { get; set; }
 76
 77        /// <summary>
 78        /// Gets the Host
 79        /// </summary>
 180        public string Host { get; }
 81
 82        /// <summary>
 83        /// Gets the protocol
 84        /// </summary>
 185        public string Protocol { get; }
 86
 87        /// <summary>
 88        /// Gets the port
 89        /// </summary>
 190        public int Port { get; }
 91
 92        /// <summary>
 93        /// Gets the origin
 94        /// </summary>
 195        public string Origin { get; }
 96
 97        /// <summary>
 98        /// The body encoding.
 99        /// </summary>
 11100        public Encoding BodyEncoding { get; }
 101
 102        /// <summary>
 103        /// Initializes a new instance of the <see cref="RequestMessage"/> class.
 104        /// </summary>
 105        /// <param name="url">The original url.</param>
 106        /// <param name="method">The HTTP method.</param>
 107        /// <param name="clientIP">The client IP Address.</param>
 108        /// <param name="body">The body.</param>
 109        /// <param name="headers">The headers.</param>
 110        /// <param name="cookies">The cookies.</param>
 78111        public RequestMessage([NotNull] Uri url, [NotNull] string method, [NotNull] string clientIP, [CanBeNull] BodyDat
 78112        {
 78113            Check.NotNull(url, nameof(url));
 78114            Check.NotNull(method, nameof(method));
 78115            Check.NotNull(clientIP, nameof(clientIP));
 116
 117        /// <summary>
 118        /// The get a query parameter.
 119        /// </summary>
 120        /// <param name="key">The key.</param>
 121        /// <returns>The query parameter.</returns>
 122        public List<string> GetParameter(string key)
 7123        {
 7124             return Query.ContainsKey(key) ? Query[key] : null;
 7125        }
 126    }
 127}
 78117            Url = url.ToString();
 78118            Protocol = url.Scheme;
 78119            Host = url.Host;
 78120            Port = url.Port;
 78121            Origin = $"{url.Scheme}://{url.Host}:{url.Port}";
 78122            Path = WebUtility.UrlDecode(url.AbsolutePath);
 78123            Method = method.ToLower();
 78124            ClientIP = clientIP;
 125
 78126             Body = body?.BodyAsString;
 78127             BodyEncoding = body?.Encoding;
 78128             BodyAsJson = body?.BodyAsJson;
 78129             BodyAsBytes = body?.BodyAsBytes;
 130
 374131             Headers = headers?.ToDictionary(header => header.Key, header => new WireMockList<string>(header.Value));
 78132            Cookies = cookies;
 78133            RawQuery = WebUtility.UrlDecode(url.Query);
 78134            Query = ParseQuery(RawQuery);
 78135        }
 136
 137        /// <summary>
 138        /// Initializes a new instance of the <see cref="RequestMessage"/> class.
 139        /// </summary>
 140        /// <param name="url">The original url.</param>
 141        /// <param name="method">The HTTP method.</param>
 142        /// <param name="clientIP">The client IP Address.</param>
 143        /// <param name="bodyAsBytes">The bodyAsBytes byte[].</param>
 144        /// <param name="body">The body string.</param>
 145        /// <param name="bodyEncoding">The body encoding</param>
 146        /// <param name="headers">The headers.</param>
 147        /// <param name="cookies">The cookies.</param>
 65148        public RequestMessage([NotNull] Uri url, [NotNull] string method, [NotNull] string clientIP, [CanBeNull] byte[] 
 65149        {
 65150            Check.NotNull(url, nameof(url));
 65151            Check.NotNull(method, nameof(method));
 65152            Check.NotNull(clientIP, nameof(clientIP));
 153
 65154            Url = url.ToString();
 65155            Protocol = url.Scheme;
 65156            Host = url.Host;
 65157            Port = url.Port;
 65158            Origin = $"{url.Scheme}://{url.Host}:{url.Port}";
 65159            Path = WebUtility.UrlDecode(url.AbsolutePath);
 65160            Method = method.ToLower();
 65161            ClientIP = clientIP;
 65162            BodyAsBytes = bodyAsBytes;
 65163            Body = body;
 65164            BodyEncoding = bodyEncoding;
 81165             Headers = headers?.ToDictionary(header => header.Key, header => new WireMockList<string>(header.Value));
 65166            Cookies = cookies;
 65167            RawQuery = WebUtility.UrlDecode(url.Query);
 65168            Query = ParseQuery(RawQuery);
 65169        }
 170
 171        private static IDictionary<string, WireMockList<string>> ParseQuery(string queryString)
 143172        {
 143173             if (string.IsNullOrEmpty(queryString))
 131174            {
 131175                return null;
 176            }
 177
 12178             if (queryString.StartsWith("?"))
 12179            {
 12180                queryString = queryString.Substring(1);
 12181            }
 182
 12183            return queryString.Split(new[] { '&' }, StringSplitOptions.RemoveEmptyEntries)
 12184                .Aggregate(new Dictionary<string, WireMockList<string>>(),
 12185                (dict, term) =>
 31186                {
 31187                    string[] parts = term.Split(new[] { '=' }, StringSplitOptions.RemoveEmptyEntries);
 31188                    string key = parts[0];
 31189                     if (!dict.ContainsKey(key))
 26190                    {
 26191                        dict.Add(key, new WireMockList<string>());
 26192                    }
 12193
 31194                     if (parts.Length == 2)
 28195                    {
 28196                        string[] values = parts[1].Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
 28197                        dict[key].AddRange(values);
 28198                    }
 12199
 31200                    return dict;
 31201                });
 143202        }
 203
 204        /// <summary>
 205        /// Get a query parameter.
 206        /// </summary>
 207        /// <param name="key">The key.</param>
 208        /// <returns>The query parameter.</returns>
 209        public WireMockList<string> GetParameter(string key)
 14210        {
 14211             if (Query == null)
 2212            {
 2213                return null;
 214            }
 215
 12216             return Query.ContainsKey(key) ? Query[key] : null;
 14217        }
 218    }
 219}
- + diff --git a/report/WireMock.Net_RequestMessageBodyMatcher.htm b/report/WireMock.Net_RequestMessageBodyMatcher.htm index 9ce0b76a..97343763 100644 --- a/report/WireMock.Net_RequestMessageBodyMatcher.htm +++ b/report/WireMock.Net_RequestMessageBodyMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.Request.RequestMessageBodyMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageBodyMatcher.cs -Covered lines:19 -Uncovered lines:24 -Coverable lines:43 -Total lines:125 -Line coverage:44.1% -Branch coverage:12.5% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageBodyMatcher.cs +Covered lines:62 +Uncovered lines:2 +Coverable lines:64 +Total lines:144 +Line coverage:96.8% +Branch coverage:87.5%

Metrics

@@ -29,16 +29,18 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -.ctor(...)1000 -.ctor(...)1000 -.ctor(...)1000 +.ctor(...)10100100 +.ctor(...)10100100 +.ctor(...)10100100 +.ctor(...)10100100 +.ctor(...)10100100 .ctor(...)10100100 GetMatchingScore(...)10100100 -IsMatch(...)81636.3622.22 +IsMatch(...)1225692.5988.24

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageBodyMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageBodyMatcher.cs

@@ -54,135 +56,157 @@ - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 10    public class RequestMessageBodyMatcher : IRequestMatcher
 11    {
 12        /// <summary>
 13        /// The body as byte[].
 13        /// The body function
 14        /// </summary>
 15        private readonly byte[] _bodyData;
 415        public Func<string, bool> Func { get; }
 16
 17        /// <summary>
 18        /// The body function
 18        /// The body data function for byte[]
 19        /// </summary>
 020        public Func<string, bool> Func { get; }
 320        public Func<byte[], bool> DataFunc { get; }
 21
 22        /// <summary>
 23        /// The body data function
 23        /// The body data function for json
 24        /// </summary>
 025        public Func<byte[], bool> DataFunc { get; }
 225        public Func<object, bool> JsonFunc { get; }
 26
 27        /// <summary>
 28        /// The matcher.
 29        /// </summary>
 2630        public IMatcher Matcher { get; }
 1730        public IMatcher Matcher { get; }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 34        /// </summary>
 35        /// <param name="body">
 36        /// The body Regex pattern.
 37        /// </param>
 238        public RequestMessageBodyMatcher([NotNull] string body) : this(new SimMetricsMatcher(body))
 239        {
 240        }
 41
 42        /// <summary>
 43        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 44        /// </summary>
 45        /// <param name="body">
 46        /// The body Regex pattern.
 47        /// </param>
 048        public RequestMessageBodyMatcher([NotNull] byte[] body)
 049        {
 050            Check.NotNull(body, nameof(body));
 051            _bodyData = body;
 052        }
 53
 54        /// <summary>
 55        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 56        /// </summary>
 57        /// <param name="func">
 58        /// The body func.
 59        /// </param>
 060        public RequestMessageBodyMatcher([NotNull] Func<string, bool> func)
 061        {
 062            Check.NotNull(func, nameof(func));
 063            Func = func;
 064        }
 35        /// <param name="body">The body.</param>
 236        public RequestMessageBodyMatcher([NotNull] string body) : this(new SimMetricsMatcher(body))
 237        {
 238        }
 39
 40        /// <summary>
 41        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 42        /// </summary>
 43        /// <param name="body">The body.</param>
 144        public RequestMessageBodyMatcher([NotNull] byte[] body) : this(new ExactObjectMatcher(body))
 145        {
 146        }
 47
 48        /// <summary>
 49        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 50        /// </summary>
 51        /// <param name="body">The body.</param>
 152        public RequestMessageBodyMatcher([NotNull] object body) : this(new ExactObjectMatcher(body))
 153        {
 154        }
 55
 56        /// <summary>
 57        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 58        /// </summary>
 59        /// <param name="func">The function.</param>
 160        public RequestMessageBodyMatcher([NotNull] Func<string, bool> func)
 161        {
 162            Check.NotNull(func, nameof(func));
 163            Func = func;
 164        }
 65
 66        /// <summary>
 67        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 68        /// </summary>
 69        /// <param name="func">
 70        /// The body func.
 71        /// </param>
 072        public RequestMessageBodyMatcher([NotNull] Func<byte[], bool> func)
 073        {
 074            Check.NotNull(func, nameof(func));
 075            DataFunc = func;
 076        }
 77
 78        /// <summary>
 79        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 80        /// </summary>
 81        /// <param name="matcher">
 82        /// The body matcher.
 83        /// </param>
 1584        public RequestMessageBodyMatcher([NotNull] IMatcher matcher)
 1585        {
 1586            Check.NotNull(matcher, nameof(matcher));
 1587            Matcher = matcher;
 1588        }
 89
 90        /// <summary>
 91        /// Determines whether the specified RequestMessage is match.
 92        /// </summary>
 93        /// <param name="requestMessage">The RequestMessage.</param>
 94        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 95        /// <returns>
 96        /// A value between 0.0 - 1.0 of the similarity.
 97        /// </returns>
 98        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 1399        {
 13100            double score = IsMatch(requestMessage);
 13101            requestMatchResult.TotalScore += score;
 69        /// <param name="func">The function.</param>
 170        public RequestMessageBodyMatcher([NotNull] Func<byte[], bool> func)
 171        {
 172            Check.NotNull(func, nameof(func));
 173            DataFunc = func;
 174        }
 75
 76        /// <summary>
 77        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 78        /// </summary>
 79        /// <param name="func">The function.</param>
 180        public RequestMessageBodyMatcher([NotNull] Func<object, bool> func)
 181        {
 182            Check.NotNull(func, nameof(func));
 183            JsonFunc = func;
 184        }
 85
 86        /// <summary>
 87        /// Initializes a new instance of the <see cref="RequestMessageBodyMatcher"/> class.
 88        /// </summary>
 89        /// <param name="matcher">The matcher.</param>
 1790        public RequestMessageBodyMatcher([NotNull] IMatcher matcher)
 1791        {
 1792            Check.NotNull(matcher, nameof(matcher));
 1793            Matcher = matcher;
 1794        }
 95
 96        /// <see cref="IRequestMatcher.GetMatchingScore"/>
 97        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 1698        {
 1699            double score = IsMatch(requestMessage);
 16100            return requestMatchResult.AddScore(GetType(), score);
 16101        }
 102
 13103            requestMatchResult.TotalNumber++;
 104
 13105            return score;
 13106        }
 107
 108        private double IsMatch(RequestMessage requestMessage)
 13109        {
 13110             if (Matcher != null)
 13111                return Matcher.IsMatch(requestMessage.Body);
 103        private double IsMatch(RequestMessage requestMessage)
 16104        {
 16105             if (requestMessage.Body != null)
 9106            {
 9107                 if (Matcher is IStringMatcher stringMatcher)
 8108                {
 8109                    return stringMatcher.IsMatch(requestMessage.Body);
 110                }
 1111            }
 112
 0113             if (_bodyData != null)
 0114                return MatchScores.ToScore(requestMessage.BodyAsBytes == _bodyData);
 115
 0116             if (Func != null)
 0117                return MatchScores.ToScore(requestMessage.Body != null && Func(requestMessage.Body));
 118
 0119             if (DataFunc != null && requestMessage.BodyAsBytes != null)
 0120                return MatchScores.ToScore(requestMessage.BodyAsBytes != null && DataFunc(requestMessage.BodyAsBytes));
 121
 0122            return MatchScores.Mismatch;
 13123        }
 124    }
 125}
 8113             if (Matcher is IObjectMatcher objectMatcher)
 5114            {
 5115                 if (requestMessage.BodyAsJson != null)
 4116                {
 4117                    return objectMatcher.IsMatch(requestMessage.BodyAsJson);
 118                }
 119
 1120                 if (requestMessage.BodyAsBytes != null)
 1121                {
 1122                    return objectMatcher.IsMatch(requestMessage.BodyAsBytes);
 123                }
 0124            }
 125
 3126             if (Func != null)
 1127            {
 1128                return MatchScores.ToScore(requestMessage.Body != null && Func(requestMessage.Body));
 129            }
 130
 2131             if (DataFunc != null)
 1132            {
 1133                return MatchScores.ToScore(requestMessage.BodyAsBytes != null && DataFunc(requestMessage.BodyAsBytes));
 134            }
 135
 1136             if (JsonFunc != null)
 1137            {
 1138                return MatchScores.ToScore(requestMessage.BodyAsJson != null && JsonFunc(requestMessage.BodyAsJson));
 139            }
 140
 0141            return MatchScores.Mismatch;
 16142        }
 143    }
 144}
- + diff --git a/report/WireMock.Net_RequestMessageClientIPMatcher.htm b/report/WireMock.Net_RequestMessageClientIPMatcher.htm new file mode 100644 index 00000000..ad12d3be --- /dev/null +++ b/report/WireMock.Net_RequestMessageClientIPMatcher.htm @@ -0,0 +1,133 @@ + + + + + +WireMock.Matchers.Request.RequestMessageClientIPMatcher - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Matchers.Request.RequestMessageClientIPMatcher
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageClientIPMatcher.cs
Covered lines:27
Uncovered lines:1
Coverable lines:28
Total lines:74
Line coverage:96.4%
Branch coverage:75%
+

Metrics

+ + + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)20100100
.ctor(...)10100100
.ctor(...)10100100
GetMatchingScore(...)10100100
IsMatch(...)4488.8980
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageClientIPMatcher.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using JetBrains.Annotations;
 5using WireMock.Validation;
 6
 7namespace WireMock.Matchers.Request
 8{
 9    /// <summary>
 10    /// The request ClientIP matcher.
 11    /// </summary>
 12    public class RequestMessageClientIPMatcher : IRequestMatcher
 13    {
 14        /// <summary>
 15        /// The matchers.
 16        /// </summary>
 717        public IReadOnlyList<IStringMatcher> Matchers { get; }
 18
 19        /// <summary>
 20        /// The ClientIP functions.
 21        /// </summary>
 222        public Func<string, bool>[] Funcs { get; }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the <see cref="RequestMessageClientIPMatcher"/> class.
 26        /// </summary>
 27        /// <param name="clientIPs">The clientIPs.</param>
 528        public RequestMessageClientIPMatcher([NotNull] params string[] clientIPs) : this(clientIPs.Select(ip => new Wild
 229        {
 230        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the <see cref="RequestMessageClientIPMatcher"/> class.
 34        /// </summary>
 35        /// <param name="matchers">The matchers.</param>
 336        public RequestMessageClientIPMatcher([NotNull] params IStringMatcher[] matchers)
 337        {
 338            Check.NotNull(matchers, nameof(matchers));
 339            Matchers = matchers;
 340        }
 41
 42        /// <summary>
 43        /// Initializes a new instance of the <see cref="RequestMessageClientIPMatcher"/> class.
 44        /// </summary>
 45        /// <param name="funcs">The clientIP functions.</param>
 146        public RequestMessageClientIPMatcher([NotNull] params Func<string, bool>[] funcs)
 147        {
 148            Check.NotNull(funcs, nameof(funcs));
 149            Funcs = funcs;
 150        }
 51
 52        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 53        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 454        {
 455            double score = IsMatch(requestMessage);
 456            return requestMatchResult.AddScore(GetType(), score);
 457        }
 58
 59        private double IsMatch(RequestMessage requestMessage)
 460        {
 461             if (Matchers != null)
 362            {
 763                return Matchers.Max(matcher => matcher.IsMatch(requestMessage.ClientIP));
 64            }
 65
 166             if (Funcs != null)
 167            {
 268                return MatchScores.ToScore(requestMessage.ClientIP != null && Funcs.Any(func => func(requestMessage.Clie
 69            }
 70
 071            return MatchScores.Mismatch;
 472        }
 73    }
 74}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_RequestMessageCompositeMatcher.htm b/report/WireMock.Net_RequestMessageCompositeMatcher.htm index 21fce2df..83049f19 100644 --- a/report/WireMock.Net_RequestMessageCompositeMatcher.htm +++ b/report/WireMock.Net_RequestMessageCompositeMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.Request.RequestMessageCompositeMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCompositeMatcher.cs -Covered lines:18 -Uncovered lines:6 -Coverable lines:24 -Total lines:67 -Line coverage:75% -Branch coverage:50% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCompositeMatcher.cs +Covered lines:16 +Uncovered lines:0 +Coverable lines:16 +Total lines:52 +Line coverage:100% +Branch coverage:100%

Metrics

@@ -29,11 +29,11 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -GetMatchingScore(...)6260.8766.67 +GetMatchingScore(...)34100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCompositeMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCompositeMatcher.cs

@@ -57,62 +57,47 @@ - + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
#LineLine coverage
 18        /// <value>
 19        /// The request matchers.
 20        /// </value>
 4821        private IEnumerable<IRequestMatcher> RequestMatchers { get; }
 40121        private IEnumerable<IRequestMatcher> RequestMatchers { get; }
 22
 23        /// <summary>
 24        /// Initializes a new instance of the <see cref="RequestMessageCompositeMatcher"/> class.
 25        /// </summary>
 26        /// <param name="requestMatchers">The request matchers.</param>
 27        /// <param name="type">The CompositeMatcherType type (Defaults to 'And')</param>
 5328        protected RequestMessageCompositeMatcher([NotNull] IEnumerable<IRequestMatcher> requestMatchers, CompositeMatche
 5329        {
 5330            Check.NotNull(requestMatchers, nameof(requestMatchers));
 15528        protected RequestMessageCompositeMatcher([NotNull] IEnumerable<IRequestMatcher> requestMatchers, CompositeMatche
 15529        {
 15530            Check.NotNull(requestMatchers, nameof(requestMatchers));
 31
 5332            _type = type;
 5333            RequestMatchers = requestMatchers;
 5334        }
 15532            _type = type;
 15533            RequestMatchers = requestMatchers;
 15534        }
 35
 36        /// <summary>
 37        /// Determines whether the specified RequestMessage is match.
 38        /// </summary>
 39        /// <param name="requestMessage">The RequestMessage.</param>
 40        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 41        /// <returns>
 42        /// A value between 0.0 - 1.0 of the similarity.
 43        /// </returns>
 44        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 4845        {
 4846            var list = new List<double>();
 4847             if (_type == CompositeMatcherType.And)
 4848            {
 27449                foreach (var requestMatcher in RequestMatchers)
 6550                {
 6551                    double score = requestMatcher.GetMatchingScore(requestMessage, requestMatchResult);
 6552                    list.Add(score);
 6553                }
 54
 4855                return list.Sum() / list.Count;
 56            }
 57
 058            foreach (var requestMatcher in RequestMatchers)
 059            {
 060                double score = requestMatcher.GetMatchingScore(requestMessage, requestMatchResult);
 061                list.Add(score);
 062            }
 63
 064            return list.Max();
 4865        }
 66    }
 67}
 36        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 37        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 20138        {
 20139             if (!RequestMatchers.Any())
 140            {
 141                return MatchScores.Mismatch;
 42            }
 43
 20044             if (_type == CompositeMatcherType.And)
 19945            {
 55746                return RequestMatchers.Average(requestMatcher => requestMatcher.GetMatchingScore(requestMessage, request
 47            }
 48
 349            return RequestMatchers.Max(requestMatcher => requestMatcher.GetMatchingScore(requestMessage, requestMatchRes
 20150        }
 51    }
 52}
- + diff --git a/report/WireMock.Net_RequestMessageCookieMatcher.htm b/report/WireMock.Net_RequestMessageCookieMatcher.htm index 1c8043be..7923672b 100644 --- a/report/WireMock.Net_RequestMessageCookieMatcher.htm +++ b/report/WireMock.Net_RequestMessageCookieMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.Request.RequestMessageCookieMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCookieMatcher.cs -Covered lines:24 -Uncovered lines:16 -Coverable lines:40 -Total lines:105 -Line coverage:60% -Branch coverage:50% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCookieMatcher.cs +Covered lines:36 +Uncovered lines:6 +Coverable lines:42 +Total lines:102 +Line coverage:85.7% +Branch coverage:62.5%

Metrics

@@ -29,14 +29,14 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -.ctor(...)1000 -.ctor(...)1000 +.ctor(...)10100100 +.ctor(...)10100100 GetMatchingScore(...)10100100 -IsMatch(...)51666.6755.56 +IsMatch(...)51662.566.67

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCookieMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageCookieMatcher.cs

@@ -56,17 +56,17 @@ - + - + - + @@ -80,7 +80,7 @@ - + @@ -88,66 +88,63 @@ - - - - + + + + - - - + + + - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - + + + + +
#LineLine coverage
 14        /// <value>
 15        /// The funcs.
 16        /// </value>
 117        public Func<IDictionary<string, string>, bool>[] Funcs { get; }
 417        public Func<IDictionary<string, string>, bool>[] Funcs { get; }
 18
 19        /// <summary>
 20        /// The name
 21        /// </summary>
 222        public string Name { get; }
 422        public string Name { get; }
 23
 24        /// <value>
 25        /// The matchers.
 26        /// </value>
 227        public IMatcher[] Matchers { get; }
 427        public IStringMatcher[] Matchers { get; }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the <see cref="RequestMessageCookieMatcher"/> class.
 138            Check.NotNull(pattern, nameof(pattern));
 39
 140            Name = name;
 141            Matchers = new IMatcher[] { new WildcardMatcher(pattern, ignoreCase) };
 141            Matchers = new IStringMatcher[] { new WildcardMatcher(pattern, ignoreCase) };
 142        }
 43
 44        /// <summary>
 46        /// </summary>
 47        /// <param name="name">The name.</param>
 48        /// <param name="matchers">The matchers.</param>
 049        public RequestMessageCookieMatcher([NotNull] string name, [NotNull] params IMatcher[] matchers)
 050        {
 051            Check.NotNull(name, nameof(name));
 052            Check.NotNull(matchers, nameof(matchers));
 149        public RequestMessageCookieMatcher([NotNull] string name, [NotNull] params IStringMatcher[] matchers)
 150        {
 151            Check.NotNull(name, nameof(name));
 152            Check.NotNull(matchers, nameof(matchers));
 53
 054            Name = name;
 055            Matchers = matchers;
 056        }
 154            Name = name;
 155            Matchers = matchers;
 156        }
 57
 58        /// <summary>
 59        /// Initializes a new instance of the <see cref="RequestMessageCookieMatcher"/> class.
 60        /// </summary>
 61        /// <param name="funcs">The funcs.</param>
 062        public RequestMessageCookieMatcher([NotNull] params Func<IDictionary<string, string>, bool>[] funcs)
 063        {
 064            Check.NotNull(funcs, nameof(funcs));
 162        public RequestMessageCookieMatcher([NotNull] params Func<IDictionary<string, string>, bool>[] funcs)
 163        {
 164            Check.NotNull(funcs, nameof(funcs));
 65
 066            Funcs = funcs;
 067        }
 166            Funcs = funcs;
 167        }
 68
 69        /// <summary>
 70        /// Determines whether the specified RequestMessage is match.
 71        /// </summary>
 72        /// <param name="requestMessage">The RequestMessage.</param>
 73        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 74        /// <returns>
 75        /// A value between 0.0 - 1.0 of the similarity.
 76        /// </returns>
 77        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 178        {
 179            double score = IsMatch(requestMessage);
 180            requestMatchResult.TotalScore += score;
 81
 182            requestMatchResult.TotalNumber++;
 83
 184            return score;
 185        }
 86
 87        private double IsMatch(RequestMessage requestMessage)
 188        {
 189             if (requestMessage.Cookies == null)
 69        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 70        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 371        {
 372            double score = IsMatch(requestMessage);
 373            return requestMatchResult.AddScore(GetType(), score);
 374        }
 75
 76        private double IsMatch(RequestMessage requestMessage)
 377        {
 378             if (requestMessage.Cookies == null)
 079            {
 080                return MatchScores.Mismatch;
 81            }
 82
 383             if (Funcs != null)
 184            {
 285                return MatchScores.ToScore(Funcs.Any(f => f(requestMessage.Cookies)));
 86            }
 87
 288             if (Matchers == null)
 089            {
 090                return MatchScores.Mismatch;
 91
 192             if (Funcs != null)
 093                return MatchScores.ToScore(Funcs.Any(f => f(requestMessage.Cookies)));
 94
 195             if (Matchers == null)
 096                return MatchScores.Mismatch;
 91            }
 92
 293             if (!requestMessage.Cookies.ContainsKey(Name))
 094            {
 095                return MatchScores.Mismatch;
 96            }
 97
 198             if (!requestMessage.Cookies.ContainsKey(Name))
 099                return MatchScores.Mismatch;
 100
 1101            string value = requestMessage.Cookies[Name];
 2102            return Matchers.Max(m => m.IsMatch(value));
 1103        }
 104    }
 105}
 298            string value = requestMessage.Cookies[Name];
 499            return Matchers.Max(m => m.IsMatch(value));
 3100        }
 101    }
 102}
- + diff --git a/report/WireMock.Net_RequestMessageHeaderMatcher.htm b/report/WireMock.Net_RequestMessageHeaderMatcher.htm index dcc1facf..46ae9501 100644 --- a/report/WireMock.Net_RequestMessageHeaderMatcher.htm +++ b/report/WireMock.Net_RequestMessageHeaderMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.Request.RequestMessageHeaderMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageHeaderMatcher.cs -Covered lines:24 -Uncovered lines:16 -Coverable lines:40 -Total lines:105 -Line coverage:60% -Branch coverage:50% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageHeaderMatcher.cs +Covered lines:45 +Uncovered lines:4 +Coverable lines:49 +Total lines:119 +Line coverage:91.8% +Branch coverage:75%

Metrics

@@ -29,14 +29,15 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -.ctor(...)1000 -.ctor(...)1000 +.ctor(...)10100100 +.ctor(...)10100100 +.ctor(...)10100100 GetMatchingScore(...)10100100 -IsMatch(...)51666.6755.56 +IsMatch(...)5167577.78

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageHeaderMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageHeaderMatcher.cs

@@ -44,121 +45,136 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 2using System.Collections.Generic;
 3using System.Linq;
 4using JetBrains.Annotations;
 5using WireMock.Validation;
 6
 7namespace WireMock.Matchers.Request
 8{
 9    /// <summary>
 10    /// The request header matcher.
 11    /// </summary>
 12    public class RequestMessageHeaderMatcher : IRequestMatcher
 13    {
 14        /// <summary>
 15        /// The functions
 16        /// </summary>
 417        public Func<IDictionary<string, string>, bool>[] Funcs { get; }
 18
 19        /// <summary>
 20        /// The name
 21        /// </summary>
 822        public string Name { get; }
 23
 24        /// <value>
 25        /// The matchers.
 26        /// </value>
 827        public IMatcher[] Matchers { get; }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 31        /// </summary>
 32        /// <param name="name">The name.</param>
 33        /// <param name="pattern">The pattern.</param>
 34        /// <param name="ignoreCase">The ignoreCase.</param>
 435        public RequestMessageHeaderMatcher([NotNull] string name, [NotNull] string pattern, bool ignoreCase = true)
 436        {
 437            Check.NotNull(name, nameof(name));
 438            Check.NotNull(pattern, nameof(pattern));
 39
 440            Name = name;
 441            Matchers = new IMatcher[] { new WildcardMatcher(pattern, ignoreCase) };
 442        }
 43
 44        /// <summary>
 45        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 46        /// </summary>
 47        /// <param name="name">The name.</param>
 48        /// <param name="matchers">The matchers.</param>
 049        public RequestMessageHeaderMatcher([NotNull] string name, [NotNull] params IMatcher[] matchers)
 050        {
 051            Check.NotNull(name, nameof(name));
 052            Check.NotNull(matchers, nameof(matchers));
 53
 054            Name = name;
 055            Matchers = matchers;
 056        }
 57
 58        /// <summary>
 59        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 60        /// </summary>
 61        /// <param name="funcs">The funcs.</param>
 062        public RequestMessageHeaderMatcher([NotNull] params Func<IDictionary<string, string>, bool>[] funcs)
 063        {
 064            Check.NotNull(funcs, nameof(funcs));
 65
 066            Funcs = funcs;
 067        }
 68
 69        /// <summary>
 70        /// Determines whether the specified RequestMessage is match.
 71        /// </summary>
 72        /// <param name="requestMessage">The RequestMessage.</param>
 73        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 74        /// <returns>
 75        /// A value between 0.0 - 1.0 of the similarity.
 76        /// </returns>
 77        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 478        {
 479            double score = IsMatch(requestMessage);
 480            requestMatchResult.TotalScore += score;
 81
 482            requestMatchResult.TotalNumber++;
 83
 484            return score;
 485        }
 86
 87        private double IsMatch(RequestMessage requestMessage)
 488        {
 489             if (requestMessage.Headers == null)
 090                return MatchScores.Mismatch;
 91
 492             if (Funcs != null)
 093                return MatchScores.ToScore(Funcs.Any(f => f(requestMessage.Headers)));
 94
 495             if (Matchers == null)
 096                return MatchScores.Mismatch;
 97
 498             if (!requestMessage.Headers.ContainsKey(Name))
 099                return MatchScores.Mismatch;
 100
 4101            string value = requestMessage.Headers[Name];
 8102            return Matchers.Max(m => m.IsMatch(value));
 4103        }
 104    }
 105}
 5using WireMock.Util;
 6using WireMock.Validation;
 7
 8namespace WireMock.Matchers.Request
 9{
 10    /// <summary>
 11    /// The request header matcher.
 12    /// </summary>
 13    /// <inheritdoc cref="IRequestMatcher"/>
 14    public class RequestMessageHeaderMatcher : IRequestMatcher
 15    {
 16        /// <summary>
 17        /// The functions
 18        /// </summary>
 2219        public Func<IDictionary<string, string[]>, bool>[] Funcs { get; }
 20
 21        /// <summary>
 22        /// The name
 23        /// </summary>
 3124        public string Name { get; }
 25
 26        /// <value>
 27        /// The matchers.
 28        /// </value>
 3129        public IStringMatcher[] Matchers { get; }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 33        /// </summary>
 34        /// <param name="name">The name.</param>
 35        /// <param name="pattern">The pattern.</param>
 36        /// <param name="ignoreCase">if set to <c>true</c> [ignore case].</param>
 1337        public RequestMessageHeaderMatcher([NotNull] string name, [NotNull] string pattern, bool ignoreCase = true)
 1338        {
 1339            Check.NotNull(name, nameof(name));
 1340            Check.NotNull(pattern, nameof(pattern));
 41
 1342            Name = name;
 1343            Matchers = new IStringMatcher[] { new WildcardMatcher(pattern, ignoreCase) };
 1344        }
 45
 46        /// <summary>
 47        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 48        /// </summary>
 49        /// <param name="name">The name.</param>
 50        /// <param name="patterns">The patterns.</param>
 51        /// <param name="ignoreCase">if set to <c>true</c> [ignore case].</param>
 1252        public RequestMessageHeaderMatcher([NotNull] string name, [NotNull] string[] patterns, bool ignoreCase = true)
 1253        {
 1254            Check.NotNull(name, nameof(name));
 1255            Check.NotNull(patterns, nameof(patterns));
 56
 1257            Name = name;
 2458            Matchers = patterns.Select(pattern => new WildcardMatcher(pattern, ignoreCase)).Cast<IStringMatcher>().ToArr
 1259        }
 60
 61        /// <summary>
 62        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 63        /// </summary>
 64        /// <param name="name">The name.</param>
 65        /// <param name="matchers">The matchers.</param>
 166        public RequestMessageHeaderMatcher([NotNull] string name, [NotNull] params IStringMatcher[] matchers)
 167        {
 168            Check.NotNull(name, nameof(name));
 169            Check.NotNull(matchers, nameof(matchers));
 70
 171            Name = name;
 172            Matchers = matchers;
 173        }
 74
 75        /// <summary>
 76        /// Initializes a new instance of the <see cref="RequestMessageHeaderMatcher"/> class.
 77        /// </summary>
 78        /// <param name="funcs">The funcs.</param>
 179        public RequestMessageHeaderMatcher([NotNull] params Func<IDictionary<string, string[]>, bool>[] funcs)
 180        {
 181            Check.NotNull(funcs, nameof(funcs));
 82
 183            Funcs = funcs;
 184        }
 85
 86        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 87        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 2188        {
 2189            double score = IsMatch(requestMessage);
 2190            return requestMatchResult.AddScore(GetType(), score);
 2191        }
 92
 93        private double IsMatch(RequestMessage requestMessage)
 2194        {
 2195             if (requestMessage.Headers == null)
 096            {
 097                return MatchScores.Mismatch;
 98            }
 99
 21100             if (Funcs != null)
 1101            {
 4102                return MatchScores.ToScore(Funcs.Any(f => f(requestMessage.Headers.ToDictionary(entry => entry.Key, entr
 103            }
 104
 20105             if (Matchers == null)
 0106            {
 0107                return MatchScores.Mismatch;
 108            }
 109
 20110             if (!requestMessage.Headers.ContainsKey(Name))
 9111            {
 9112                return MatchScores.Mismatch;
 113            }
 114
 11115            WireMockList<string> list = requestMessage.Headers[Name];
 33116            return Matchers.Max(m => list.Max(value => m.IsMatch(value))); // TODO : is this correct ?
 21117        }
 118    }
 119}
- + diff --git a/report/WireMock.Net_RequestMessageMethodMatcher.htm b/report/WireMock.Net_RequestMessageMethodMatcher.htm index 80bc480d..3fd4a00a 100644 --- a/report/WireMock.Net_RequestMessageMethodMatcher.htm +++ b/report/WireMock.Net_RequestMessageMethodMatcher.htm @@ -15,11 +15,11 @@ Class:WireMock.Matchers.Request.RequestMessageMethodMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageMethodMatcher.cs -Covered lines:15 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageMethodMatcher.cs +Covered lines:13 Uncovered lines:0 -Coverable lines:15 -Total lines:52 +Coverable lines:13 +Total lines:48 Line coverage:100% @@ -33,7 +33,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageMethodMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageMethodMatcher.cs

@@ -51,7 +51,7 @@ - + @@ -59,11 +59,11 @@ - - - - - + + + + + @@ -74,31 +74,27 @@ - - - - - - - - - - - - - - - + + + + + + + + + + +
#LineLine coverage
 12        /// <summary>
 13        /// The methods
 14        /// </summary>
 1515        public string[] Methods { get; }
 14215        public string[] Methods { get; }
 16
 17        /// <summary>
 18        /// Initializes a new instance of the <see cref="RequestMessageMethodMatcher"/> class.
 20        /// <param name="methods">
 21        /// The verb.
 22        /// </param>
 2223        public RequestMessageMethodMatcher([NotNull] params string[] methods)
 2224        {
 2225            Check.NotNull(methods, nameof(methods));
 4426            Methods = methods.Select(v => v.ToLower()).ToArray();
 2227        }
 9623        public RequestMessageMethodMatcher([NotNull] params string[] methods)
 9624        {
 9625            Check.NotNull(methods, nameof(methods));
 19526            Methods = methods.Select(v => v.ToLower()).ToArray();
 9627        }
 28
 29        /// <summary>
 30        /// Determines whether the specified RequestMessage is match.
 35        /// A value between 0.0 - 1.0 of the similarity.
 36        /// </returns>
 37        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 1538        {
 1539            double score = IsMatch(requestMessage);
 1540            requestMatchResult.TotalScore += score;
 41
 1542            requestMatchResult.TotalNumber++;
 43
 1544            return score;
 1545        }
 46
 47        private double IsMatch(RequestMessage requestMessage)
 1548        {
 1549            return MatchScores.ToScore(Methods.Contains(requestMessage.Method));
 1550        }
 51    }
 52}
 14238        {
 14239            double score = IsMatch(requestMessage);
 14240            return requestMatchResult.AddScore(GetType(), score);
 14241        }
 42
 43        private double IsMatch(RequestMessage requestMessage)
 14244        {
 14245            return MatchScores.ToScore(Methods.Contains(requestMessage.Method));
 14246        }
 47    }
 48}
- + diff --git a/report/WireMock.Net_RequestMessageParamMatcher.htm b/report/WireMock.Net_RequestMessageParamMatcher.htm index 476dd90f..4fae0a88 100644 --- a/report/WireMock.Net_RequestMessageParamMatcher.htm +++ b/report/WireMock.Net_RequestMessageParamMatcher.htm @@ -15,11 +15,11 @@ Class:WireMock.Matchers.Request.RequestMessageParamMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageParamMatcher.cs -Covered lines:26 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageParamMatcher.cs +Covered lines:35 Uncovered lines:0 -Coverable lines:26 -Total lines:85 +Coverable lines:35 +Total lines:93 Line coverage:100% Branch coverage:100% @@ -28,14 +28,15 @@ + - +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
.ctor(...)10100100
.ctor(...)10100100
GetMatchingScore(...)10100100
IsMatch(...)74100100
IsMatch(...)88100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageParamMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageParamMatcher.cs

@@ -56,87 +57,96 @@ - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 15        /// <summary>
 16        /// The funcs
 17        /// </summary>
 518        public Func<IDictionary<string, WireMockList<string>>, bool>[] Funcs { get; }
 918        public Func<IDictionary<string, WireMockList<string>>, bool>[] Funcs { get; }
 19
 20        /// <summary>
 21        /// The key
 22        /// </summary>
 323        public string Key { get; }
 723        public string Key { get; }
 24
 25        /// <summary>
 26        /// The values
 27        /// </summary>
 528        public IEnumerable<string> Values { get; }
 928        public IEnumerable<string> Values { get; }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the <see cref="RequestMessageParamMatcher"/> class.
 32        /// </summary>
 33        /// <param name="key">
 34        /// The key.
 35        /// </param>
 36        /// <param name="values">
 37        /// The values.
 38        /// </param>
 339        public RequestMessageParamMatcher([NotNull] string key, [CanBeNull] IEnumerable<string> values)
 340        {
 341            Check.NotNull(key, nameof(key));
 42
 343            Key = key;
 344            Values = values;
 345        }
 33        /// <param name="key">The key.</param>
 134        public RequestMessageParamMatcher([NotNull] string key) : this(key, null)
 135        {
 136        }
 37
 38        /// <summary>
 39        /// Initializes a new instance of the <see cref="RequestMessageParamMatcher"/> class.
 40        /// </summary>
 41        /// <param name="key">The key.</param>
 42        /// <param name="values">The values.</param>
 743        public RequestMessageParamMatcher([NotNull] string key, [CanBeNull] IEnumerable<string> values)
 744        {
 745            Check.NotNull(key, nameof(key));
 46
 47        /// <summary>
 48        /// Initializes a new instance of the <see cref="RequestMessageParamMatcher"/> class.
 49        /// </summary>
 50        /// <param name="funcs">The funcs.</param>
 151        public RequestMessageParamMatcher([NotNull] params Func<IDictionary<string, WireMockList<string>>, bool>[] funcs
 152        {
 153            Check.NotNull(funcs, nameof(funcs));
 154            Funcs = funcs;
 155        }
 56
 57        /// <summary>
 58        /// Determines whether the specified RequestMessage is match.
 59        /// </summary>
 60        /// <param name="requestMessage">The RequestMessage.</param>
 61        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 62        /// <returns>
 63        /// A value between 0.0 - 1.0 of the similarity.
 64        /// </returns>
 65        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 466        {
 467            double score = IsMatch(requestMessage);
 468            requestMatchResult.TotalScore += score;
 69
 470            requestMatchResult.TotalNumber++;
 71
 472            return score;
 473        }
 74
 75        private double IsMatch(RequestMessage requestMessage)
 476        {
 477             if (Funcs != null)
 278                return MatchScores.ToScore(requestMessage.Query != null && Funcs.Any(f => f(requestMessage.Query)));
 79
 380            List<string> values = requestMessage.GetParameter(Key);
 81
 382             return MatchScores.ToScore(values?.Intersect(Values).Count() == Values.Count());
 483        }
 84    }
 85}
 747            Key = key;
 748            Values = values;
 749        }
 50
 51        /// <summary>
 52        /// Initializes a new instance of the <see cref="RequestMessageParamMatcher"/> class.
 53        /// </summary>
 54        /// <param name="funcs">The funcs.</param>
 155        public RequestMessageParamMatcher([NotNull] params Func<IDictionary<string, WireMockList<string>>, bool>[] funcs
 156        {
 157            Check.NotNull(funcs, nameof(funcs));
 58
 159            Funcs = funcs;
 160        }
 61
 62        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 63        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 864        {
 865            double score = IsMatch(requestMessage);
 866            return requestMatchResult.AddScore(GetType(), score);
 867        }
 68
 69        private double IsMatch(RequestMessage requestMessage)
 870        {
 871             if (Funcs != null)
 172            {
 273                return MatchScores.ToScore(requestMessage.Query != null && Funcs.Any(f => f(requestMessage.Query)));
 74            }
 75
 776            var values = requestMessage.GetParameter(Key);
 777             if (values == null)
 178            {
 79                // Key is not present, just return Mismatch
 180                return MatchScores.Mismatch;
 81            }
 82
 683             if (values.Count == 0 && (Values == null || !Values.Any()))
 284            {
 85                // Key is present, but no values or null, just return Perfect
 286                return MatchScores.Perfect;
 87            }
 88
 1689            var matches = Values.Select(v => values.Contains(v));
 490            return MatchScores.ToScore(matches);
 891        }
 92    }
 93}
- + diff --git a/report/WireMock.Net_RequestMessagePathMatcher.htm b/report/WireMock.Net_RequestMessagePathMatcher.htm index c0901eca..8142731b 100644 --- a/report/WireMock.Net_RequestMessagePathMatcher.htm +++ b/report/WireMock.Net_RequestMessagePathMatcher.htm @@ -15,11 +15,11 @@ Class:WireMock.Matchers.Request.RequestMessagePathMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessagePathMatcher.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessagePathMatcher.cs Covered lines:27 Uncovered lines:1 Coverable lines:28 -Total lines:81 +Total lines:74 Line coverage:96.4% Branch coverage:75% @@ -29,14 +29,14 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)20100100 -.ctor(...)10100100 +.ctor(...)10100100 .ctor(...)10100100 GetMatchingScore(...)10100100 -IsMatch(...)4485.7180 +IsMatch(...)4488.8980

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessagePathMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessagePathMatcher.cs

@@ -56,7 +56,7 @@ - + @@ -67,19 +67,19 @@ - - - + + + - - - - - + + + + + @@ -91,49 +91,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 14        /// <summary>
 15        /// The matcher.
 16        /// </summary>
 5317        public IReadOnlyList<IMatcher> Matchers { get; }
 33517        public IReadOnlyList<IStringMatcher> Matchers { get; }
 18
 19        /// <summary>
 20        /// The path functions
 25        /// Initializes a new instance of the <see cref="RequestMessagePathMatcher"/> class.
 26        /// </summary>
 27        /// <param name="paths">The paths.</param>
 5128        public RequestMessagePathMatcher([NotNull] params string[] paths) : this(paths.Select(path => new WildcardMatche
 2529        {
 2530        }
 19728        public RequestMessagePathMatcher([NotNull] params string[] paths) : this(paths.Select(path => new WildcardMatche
 9829        {
 9830        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the <see cref="RequestMessagePathMatcher"/> class.
 34        /// </summary>
 35        /// <param name="matchers">The matchers.</param>
 3136        public RequestMessagePathMatcher([NotNull] params IMatcher[] matchers)
 3137        {
 3138            Check.NotNull(matchers, nameof(matchers));
 3139            Matchers = matchers;
 3140        }
 11936        public RequestMessagePathMatcher([NotNull] params IStringMatcher[] matchers)
 11937        {
 11938            Check.NotNull(matchers, nameof(matchers));
 11939            Matchers = matchers;
 11940        }
 41
 42        /// <summary>
 43        /// Initializes a new instance of the <see cref="RequestMessagePathMatcher"/> class.
 149            Funcs = funcs;
 150        }
 51
 52        /// <summary>
 53        /// Determines whether the specified RequestMessage is match.
 54        /// </summary>
 55        /// <param name="requestMessage">The RequestMessage.</param>
 56        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 57        /// <returns>
 58        /// A value between 0.0 - 1.0 of the similarity.
 59        /// </returns>
 60        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 2761        {
 2762            double score = IsMatch(requestMessage);
 2763            requestMatchResult.TotalScore += score;
 64
 2765            requestMatchResult.TotalNumber++;
 66
 2767            return score;
 2768        }
 69
 70        private double IsMatch(RequestMessage requestMessage)
 2771        {
 2772             if (Matchers != null)
 5473                return Matchers.Max(m => m.IsMatch(requestMessage.Path));
 74
 175             if (Funcs != null)
 276                return MatchScores.ToScore(requestMessage.Path != null && Funcs.Any(func => func(requestMessage.Path)));
 77
 078            return MatchScores.Mismatch;
 2779        }
 80    }
 81}
 52        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 53        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 16854        {
 16855            double score = IsMatch(requestMessage);
 16856            return requestMatchResult.AddScore(GetType(), score);
 16857        }
 58
 59        private double IsMatch(RequestMessage requestMessage)
 16860        {
 16861             if (Matchers != null)
 16762            {
 33663                return Matchers.Max(m => m.IsMatch(requestMessage.Path));
 64            }
 65
 166             if (Funcs != null)
 167            {
 268                return MatchScores.ToScore(requestMessage.Path != null && Funcs.Any(func => func(requestMessage.Path)));
 69            }
 70
 071            return MatchScores.Mismatch;
 16872        }
 73    }
 74}
- + diff --git a/report/WireMock.Net_RequestMessageScenarioAndStateMatcher.htm b/report/WireMock.Net_RequestMessageScenarioAndStateMatcher.htm new file mode 100644 index 00000000..64d6c015 --- /dev/null +++ b/report/WireMock.Net_RequestMessageScenarioAndStateMatcher.htm @@ -0,0 +1,104 @@ + + + + + +WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageScenarioAndStateMatcher.cs
Covered lines:12
Uncovered lines:0
Coverable lines:12
Total lines:51
Line coverage:100%
Branch coverage:100%
+

Metrics

+ + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor(...)10100100
GetMatchingScore(...)10100100
IsMatch()32100100
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageScenarioAndStateMatcher.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace WireMock.Matchers.Request
 4{
 5    /// <summary>
 6    /// The scenario and state matcher.
 7    /// </summary>
 8    internal class RequestMessageScenarioAndStateMatcher : IRequestMatcher
 9    {
 10        ///// <summary>
 11        ///// Scenario.
 12        ///// </summary>
 13        //[CanBeNull] private string _scenario;
 14
 15        /// <summary>
 16        /// Execution state condition for the current mapping.
 17        /// </summary>
 18        [CanBeNull]
 19        private readonly object _executionConditionState;
 20
 21        /// <summary>
 22        /// The next state which will be signaled after the current mapping execution.
 23        /// In case the value is null state will not be changed.
 24        /// </summary>
 25        [CanBeNull]
 26        private readonly object _nextState;
 27
 28        /// <summary>
 29        /// Initializes a new instance of the <see cref="RequestMessageScenarioAndStateMatcher"/> class.
 30        /// </summary>
 31        /// <param name="nextState">The next state.</param>
 32        /// <param name="executionConditionState">Execution state condition for the current mapping.</param>
 1433        public RequestMessageScenarioAndStateMatcher([CanBeNull] object nextState, [CanBeNull] object executionCondition
 1434        {
 1435            _nextState = nextState;
 1436            _executionConditionState = executionConditionState;
 1437        }
 38
 39        /// <inheritdoc />
 40        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 1441        {
 1442            double score = IsMatch();
 1443            return requestMatchResult.AddScore(GetType(), score);
 1444        }
 45
 46        private double IsMatch()
 1447        {
 1448             return Equals(_executionConditionState, _nextState) ? MatchScores.Perfect : MatchScores.Mismatch;
 1449        }
 50    }
 51}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_RequestMessageUrlMatcher.htm b/report/WireMock.Net_RequestMessageUrlMatcher.htm index 73d6710c..a7182ba0 100644 --- a/report/WireMock.Net_RequestMessageUrlMatcher.htm +++ b/report/WireMock.Net_RequestMessageUrlMatcher.htm @@ -15,13 +15,13 @@ Class:WireMock.Matchers.Request.RequestMessageUrlMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageUrlMatcher.cs -Covered lines:19 -Uncovered lines:9 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageUrlMatcher.cs +Covered lines:27 +Uncovered lines:1 Coverable lines:28 -Total lines:81 -Line coverage:67.8% -Branch coverage:25% +Total lines:74 +Line coverage:96.4% +Branch coverage:75%

Metrics

@@ -29,14 +29,14 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)20100100 -.ctor(...)10100100 -.ctor(...)1000 +.ctor(...)10100100 +.ctor(...)10100100 GetMatchingScore(...)10100100 -IsMatch(...)4457.1440 +IsMatch(...)4488.8980

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageUrlMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\Request\RequestMessageUrlMatcher.cs

@@ -54,14 +54,14 @@ - + - + - + - + @@ -75,65 +75,58 @@ - - - - - + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 12    public class RequestMessageUrlMatcher : IRequestMatcher
 13    {
 14        /// <summary>
 15        /// The matcher.
 15        /// The matchers.
 16        /// </summary>
 217        public IReadOnlyList<IMatcher> Matchers { get; }
 517        public IReadOnlyList<IStringMatcher> Matchers { get; }
 18
 19        /// <summary>
 20        /// The url functions
 20        /// The url functions.
 21        /// </summary>
 022        public Func<string, bool>[] Funcs { get; }
 222        public Func<string, bool>[] Funcs { get; }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the <see cref="RequestMessageUrlMatcher"/> class.
 33        /// Initializes a new instance of the <see cref="RequestMessageUrlMatcher"/> class.
 34        /// </summary>
 35        /// <param name="matchers">The matchers.</param>
 136        public RequestMessageUrlMatcher([NotNull] params IMatcher[] matchers)
 137        {
 138            Check.NotNull(matchers, nameof(matchers));
 139            Matchers = matchers;
 140        }
 236        public RequestMessageUrlMatcher([NotNull] params IStringMatcher[] matchers)
 237        {
 238            Check.NotNull(matchers, nameof(matchers));
 239            Matchers = matchers;
 240        }
 41
 42        /// <summary>
 43        /// Initializes a new instance of the <see cref="RequestMessageUrlMatcher"/> class.
 44        /// </summary>
 45        /// <param name="funcs">The url functions.</param>
 046        public RequestMessageUrlMatcher([NotNull] params Func<string, bool>[] funcs)
 047        {
 048            Check.NotNull(funcs, nameof(funcs));
 049            Funcs = funcs;
 050        }
 146        public RequestMessageUrlMatcher([NotNull] params Func<string, bool>[] funcs)
 147        {
 148            Check.NotNull(funcs, nameof(funcs));
 149            Funcs = funcs;
 150        }
 51
 52        /// <summary>
 53        /// Determines whether the specified RequestMessage is match.
 54        /// </summary>
 55        /// <param name="requestMessage">The RequestMessage.</param>
 56        /// <param name="requestMatchResult">The RequestMatchResult.</param>
 57        /// <returns>
 58        /// A value between 0.0 - 1.0 of the similarity.
 59        /// </returns>
 60        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 161        {
 162            double score = IsMatch(requestMessage);
 163            requestMatchResult.TotalScore += score;
 64
 165            requestMatchResult.TotalNumber++;
 66
 167            return score;
 168        }
 69
 70        private double IsMatch(RequestMessage requestMessage)
 171        {
 172             if (Matchers != null)
 273                return Matchers.Max(matcher => matcher.IsMatch(requestMessage.Url));
 74
 075             if (Funcs != null)
 076                return MatchScores.ToScore(requestMessage.Url != null && Funcs.Any(func => func(requestMessage.Url)));
 77
 078            return MatchScores.Mismatch;
 179        }
 80    }
 81}
 52        /// <inheritdoc cref="IRequestMatcher.GetMatchingScore"/>
 53        public double GetMatchingScore(RequestMessage requestMessage, RequestMatchResult requestMatchResult)
 354        {
 355            double score = IsMatch(requestMessage);
 356            return requestMatchResult.AddScore(GetType(), score);
 357        }
 58
 59        private double IsMatch(RequestMessage requestMessage)
 360        {
 361             if (Matchers != null)
 262            {
 463                return Matchers.Max(matcher => matcher.IsMatch(requestMessage.Url));
 64            }
 65
 166             if (Funcs != null)
 167            {
 268                return MatchScores.ToScore(requestMessage.Url != null && Funcs.Any(func => func(requestMessage.Url)));
 69            }
 70
 071            return MatchScores.Mismatch;
 372        }
 73    }
 74}
- + diff --git a/report/WireMock.Net_RequestModel.htm b/report/WireMock.Net_RequestModel.htm index e7cea8e8..59edc726 100644 --- a/report/WireMock.Net_RequestModel.htm +++ b/report/WireMock.Net_RequestModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Mappings.RequestModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\RequestModel.cs -Covered lines:7 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\RequestModel.cs +Covered lines:8 Uncovered lines:0 -Coverable lines:7 -Total lines:63 +Coverable lines:8 +Total lines:71 Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\RequestModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\RequestModel.cs

@@ -38,79 +38,89 @@ - + - + - + - + - + - + - + - - - - - - - - - + + + + + + + + + - + - + - + - + - + - + - + - + - - - + + + + + + + + + + +
#LineLine coverage
 8    public class RequestModel
 9    {
 10        /// <summary>
 11        /// Gets or sets the Path. (Can be a string or a PathModel)
 11        /// Gets or sets the ClientIP. (Can be a string or a ClientIPModel)
 12        /// </summary>
 13        /// <value>
 14        /// The URL.
 14        /// The ClientIP.
 15        /// </value>
 2016        public object Path { get; set; }
 1116        public object ClientIP { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the Url. (Can be a string or a UrlModel)
 19        /// Gets or sets the Path. (Can be a string or a PathModel)
 20        /// </summary>
 21        /// <value>
 22        /// The URL.
 22        /// The Path.
 23        /// </value>
 424        public object Url { get; set; }
 2924        public object Path { get; set; }
 25
 26        /// <summary>
 27        /// The methods
 27        /// Gets or sets the Url. (Can be a string or a UrlModel)
 28        /// </summary>
 1629        public string[] Methods { get; set; }
 30
 31        /// <summary>
 32        /// Gets or sets the Headers.
 33        /// </summary>
 34        /// <value>
 35        /// The Headers.
 36        /// </value>
 437        public IList<HeaderModel> Headers { get; set; }
 29        /// <value>
 30        /// The URL.
 31        /// </value>
 1132        public object Url { get; set; }
 33
 34        /// <summary>
 35        /// The methods
 36        /// </summary>
 2637        public string[] Methods { get; set; }
 38
 39        /// <summary>
 40        /// Gets or sets the Cookies.
 40        /// Gets or sets the Headers.
 41        /// </summary>
 42        /// <value>
 43        /// The Cookies.
 43        /// The Headers.
 44        /// </value>
 445        public IList<CookieModel> Cookies { get; set; }
 1145        public IList<HeaderModel> Headers { get; set; }
 46
 47        /// <summary>
 48        /// Gets or sets the Params.
 48        /// Gets or sets the Cookies.
 49        /// </summary>
 50        /// <value>
 51        /// The Headers.
 51        /// The Cookies.
 52        /// </value>
 453        public IList<ParamModel> Params { get; set; }
 1153        public IList<CookieModel> Cookies { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets the body.
 56        /// Gets or sets the Params.
 57        /// </summary>
 58        /// <value>
 59        /// The body.
 59        /// The Headers.
 60        /// </value>
 1461        public BodyModel Body { get; set; }
 62    }
 63}
 1161        public IList<ParamModel> Params { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the body.
 65        /// </summary>
 66        /// <value>
 67        /// The body.
 68        /// </value>
 2169        public BodyModel Body { get; set; }
 70    }
 71}
- + diff --git a/report/WireMock.Net_RespondWithAProvider.htm b/report/WireMock.Net_RespondWithAProvider.htm index 169dbc35..a714fdef 100644 --- a/report/WireMock.Net_RespondWithAProvider.htm +++ b/report/WireMock.Net_RespondWithAProvider.htm @@ -15,13 +15,13 @@ Class:WireMock.Server.RespondWithAProvider Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\RespondWithAProvider.cs -Covered lines:21 -Uncovered lines:3 -Coverable lines:24 -Total lines:94 -Line coverage:87.5% -Branch coverage:100% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\RespondWithAProvider.cs +Covered lines:42 +Uncovered lines:4 +Coverable lines:46 +Total lines:120 +Line coverage:91.3% +Branch coverage:66.6%

Metrics

@@ -29,124 +29,158 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -RespondWith(...)22100100 -WithGuid(...)1000 +RespondWith(...)22100100 +WithGuid(...)10100100 WithGuid(...)10100100 WithTitle(...)10100100 +WithPath(...)10100100 AtPriority(...)10100100 +InScenario(...)10100100 +WhenStateIs(...)2271.4366.67 +WillSetStateTo(...)2271.4366.67

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Server\RespondWithAProvider.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Server\RespondWithAProvider.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using WireMock.Matchers.Request;
 3
 4namespace WireMock.Server
 5{
 6    /// <summary>
 7    /// The respond with a provider.
 8    /// </summary>
 9    internal class RespondWithAProvider : IRespondWithAProvider
 10    {
 11        private int _priority;
 12        private Guid? _guid;
 13        private string _title;
 14
 15        /// <summary>
 16        /// The _registration callback.
 17        /// </summary>
 18        private readonly RegistrationCallback _registrationCallback;
 19
 20        /// <summary>
 21        /// The _request matcher.
 22        /// </summary>
 23        private readonly IRequestMatcher _requestMatcher;
 24
 25        /// <summary>
 26        /// Initializes a new instance of the <see cref="RespondWithAProvider"/> class.
 27        /// </summary>
 28        /// <param name="registrationCallback">The registration callback.</param>
 29        /// <param name="requestMatcher">The request matcher.</param>
 1730        public RespondWithAProvider(RegistrationCallback registrationCallback, IRequestMatcher requestMatcher)
 1731        {
 1732            _registrationCallback = registrationCallback;
 1733            _requestMatcher = requestMatcher;
 1734        }
 35
 36        /// <summary>
 37        /// The respond with.
 38        /// </summary>
 39        /// <param name="provider">
 40        /// The provider.
 41        /// </param>
 42        public void RespondWith(IResponseProvider provider)
 1743        {
 1744             var mappingGuid = _guid ?? Guid.NewGuid();
 1745            _registrationCallback(new Mapping(mappingGuid, _title, _requestMatcher, provider, _priority));
 1746        }
 47
 48        /// <summary>
 49        /// Define a unique identifier for this mapping.
 50        /// </summary>
 51        /// <param name="guid">The unique identifier.</param>
 52        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 53        public IRespondWithAProvider WithGuid(string guid)
 054        {
 055            return WithGuid(Guid.Parse(guid));
 056        }
 57
 58        /// <summary>
 59        /// Define a unique identifier for this mapping.
 60        /// </summary>
 61        /// <param name="guid">The unique identifier.</param>
 62        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 63        public IRespondWithAProvider WithGuid(Guid guid)
 764        {
 765            _guid = guid;
 66
 767            return this;
 768        }
 3using WireMock.ResponseProviders;
 4
 5namespace WireMock.Server
 6{
 7    /// <summary>
 8    /// The respond with a provider.
 9    /// </summary>
 10    internal class RespondWithAProvider : IRespondWithAProvider
 11    {
 12        private int _priority;
 13        private Guid? _guid;
 14        private string _title;
 15        private string _path;
 16        private object _executionConditionState;
 17        private object _nextState;
 18        private string _scenario;
 19        private readonly RegistrationCallback _registrationCallback;
 20        private readonly IRequestMatcher _requestMatcher;
 21
 22        /// <summary>
 23        /// Initializes a new instance of the <see cref="RespondWithAProvider"/> class.
 24        /// </summary>
 25        /// <param name="registrationCallback">The registration callback.</param>
 26        /// <param name="requestMatcher">The request matcher.</param>
 10327        public RespondWithAProvider(RegistrationCallback registrationCallback, IRequestMatcher requestMatcher)
 10328        {
 10329            _registrationCallback = registrationCallback;
 10330            _requestMatcher = requestMatcher;
 10331        }
 32
 33        /// <summary>
 34        /// The respond with.
 35        /// </summary>
 36        /// <param name="provider">The provider.</param>
 37        public void RespondWith(IResponseProvider provider)
 10338        {
 10339             var mappingGuid = _guid ?? Guid.NewGuid();
 10340            _registrationCallback(new Mapping(mappingGuid, _title, _path, _requestMatcher, provider, _priority, _scenari
 10341        }
 42
 43        /// <see cref="IRespondWithAProvider.WithGuid(string)"/>
 44        public IRespondWithAProvider WithGuid(string guid)
 145        {
 146            return WithGuid(Guid.Parse(guid));
 147        }
 48
 49        /// <see cref="IRespondWithAProvider.WithGuid(Guid)"/>
 50        public IRespondWithAProvider WithGuid(Guid guid)
 851        {
 852            _guid = guid;
 53
 854            return this;
 855        }
 56
 57        /// <see cref="IRespondWithAProvider.WithTitle"/>
 58        public IRespondWithAProvider WithTitle(string title)
 359        {
 360            _title = title;
 61
 362            return this;
 363        }
 64
 65        /// <see cref="IRespondWithAProvider.WithPath"/>
 66        public IRespondWithAProvider WithPath(string path)
 467        {
 468            _path = path;
 69
 70        /// <summary>
 71        /// Define a unique identifier for this mapping.
 72        /// </summary>
 73        /// <param name="title">The unique identifier.</param>
 74        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 75        public IRespondWithAProvider WithTitle(string title)
 276        {
 277            _title = title;
 78
 279            return this;
 280        }
 81
 82        /// <summary>
 83        /// Define the priority for this mapping.
 84        /// </summary>
 85        /// <param name="priority">The priority.</param>
 86        /// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
 87        public IRespondWithAProvider AtPriority(int priority)
 688        {
 689            _priority = priority;
 90
 691            return this;
 692        }
 93    }
 94}
 470            return this;
 471        }
 72
 73        /// <see cref="IRespondWithAProvider.AtPriority"/>
 74        public IRespondWithAProvider AtPriority(int priority)
 775        {
 776            _priority = priority;
 77
 778            return this;
 779        }
 80
 81        /// <see cref="IRespondWithAProvider.InScenario(string)"/>
 82        public IRespondWithAProvider InScenario(string scenario)
 683        {
 684            _scenario = scenario;
 85
 686            return this;
 687        }
 88
 89        /// <see cref="IRespondWithAProvider.WhenStateIs"/>
 90        public IRespondWithAProvider WhenStateIs(object state)
 491        {
 492             if (string.IsNullOrEmpty(_scenario))
 093            {
 094                throw new NotSupportedException("Unable to set state condition when no scenario is defined.");
 95            }
 96
 97            //if (_nextState != null)
 98            //{
 99            //    throw new NotSupportedException("Unable to set state condition when next state is defined.");
 100            //}
 101
 4102            _executionConditionState = state;
 103
 4104            return this;
 4105        }
 106
 107        /// <see cref="IRespondWithAProvider.WillSetStateTo"/>
 108        public IRespondWithAProvider WillSetStateTo(object state)
 3109        {
 3110             if (string.IsNullOrEmpty(_scenario))
 0111            {
 0112                throw new NotSupportedException("Unable to set next state when no scenario is defined.");
 113            }
 114
 3115            _nextState = state;
 116
 3117            return this;
 3118        }
 119    }
 120}
- + diff --git a/report/WireMock.Net_Response.htm b/report/WireMock.Net_Response.htm index ae1c0605..b7e191a8 100644 --- a/report/WireMock.Net_Response.htm +++ b/report/WireMock.Net_Response.htm @@ -15,13 +15,13 @@ Class:WireMock.ResponseBuilders.Response Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\ResponseBuilders\Response.cs -Covered lines:80 -Uncovered lines:16 -Coverable lines:96 -Total lines:277 -Line coverage:83.3% -Branch coverage:80% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseBuilders\Response.cs +Covered lines:143 +Uncovered lines:24 +Coverable lines:167 +Total lines:374 +Line coverage:85.6% +Branch coverage:81.8%

Metrics

@@ -29,332 +29,451 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   Create(...)20100100 -Create(...)1000 +Create(...)10100100 .ctor(...)10100100 WithStatusCode(...)10100100 -WithStatusCode(...)1000 -WithSuccess()1000 +WithStatusCode(...)10100100 +WithSuccess()10100100 WithNotFound()1000 -WithHeader(...)10100100 -WithHeaders(...)10100100 -WithBody(...)22100100 -WithBodyAsJson(...)3210066.67 -WithBodyAsBase64(...)2210066.67 +WithHeader(...)10100100 +WithHeaders(...)30100100 +WithHeaders(...)30100100 +WithHeaders(...)10100100 +WithBody(...)10100100 +WithBody(...)3410080 +WithBodyFromFile(...)2200 +WithBody(...)48100100 +WithBodyAsJson(...)10100100 +WithBodyFromBase64(...)2210066.67 WithTransformer()10100100 WithDelay(...)20100100 -WithDelay(...)1000 -ProvideResponse()84100100 +WithDelay(...)10100100 +WithProxy(...)10100100 +WithProxy(...)1000 +WithCallback(...)10100100 +ProvideResponseAsync()1016100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\ResponseBuilders\Response.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseBuilders\Response.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Net;
 4using System.Text;
 5using System.Threading.Tasks;
 6using HandlebarsDotNet;
 7using JetBrains.Annotations;
 8using Newtonsoft.Json;
 9using WireMock.Validation;
 10
 11namespace WireMock.ResponseBuilders
 12{
 13    /// <summary>
 14    /// The Response.
 15    /// </summary>
 16    public class Response : IResponseBuilder
 17    {
 18        /// <summary>
 19        /// The delay
 20        /// </summary>
 1421        public TimeSpan? Delay { get; private set; }
 22
 23        /// <summary>
 24        /// Gets a value indicating whether [use transformer].
 25        /// </summary>
 26        /// <value>
 27        ///   <c>true</c> if [use transformer]; otherwise, <c>false</c>.
 28        /// </value>
 1529        public bool UseTransformer { get; private set; }
 3using System.IO;
 4using System.Linq;
 5using System.Net;
 6using System.Net.Http;
 7using System.Text;
 8using System.Threading.Tasks;
 9using JetBrains.Annotations;
 10using Newtonsoft.Json;
 11using WireMock.Http;
 12using WireMock.Settings;
 13using WireMock.Transformers;
 14using WireMock.Util;
 15using WireMock.Validation;
 16
 17namespace WireMock.ResponseBuilders
 18{
 19    /// <summary>
 20    /// The Response.
 21    /// </summary>
 22    public class Response : IResponseBuilder
 23    {
 24        private HttpClient _httpClientForProxy;
 25
 26        /// <summary>
 27        /// The delay
 28        /// </summary>
 7229        public TimeSpan? Delay { get; private set; }
 30
 31        /// <summary>
 32        /// Gets the response message.
 32        /// Gets a value indicating whether [use transformer].
 33        /// </summary>
 34        /// <value>
 35        /// The response message.
 35        ///   <c>true</c> if [use transformer]; otherwise, <c>false</c>.
 36        /// </value>
 7437        public ResponseMessage ResponseMessage { get; }
 5937        public bool UseTransformer { get; private set; }
 38
 39        /// <summary>
 40        /// Creates this instance.
 40        /// The Proxy URL to use.
 41        /// </summary>
 42        /// <param name="responseMessage">ResponseMessage</param>
 43        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 44        [PublicAPI]
 45        public static IResponseBuilder Create([CanBeNull] ResponseMessage responseMessage = null)
 2246        {
 2247            var message = responseMessage ?? new ResponseMessage { StatusCode = (int)HttpStatusCode.OK };
 2248            return new Response(message);
 2249        }
 50
 51        /// <summary>
 52        /// Creates this instance.
 53        /// </summary>
 54        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 55        [PublicAPI]
 56        public static IResponseBuilder Create([NotNull] Func<ResponseMessage> func)
 057        {
 058            Check.NotNull(func, nameof(func));
 59
 060            return new Response(func());
 061        }
 62
 63        /// <summary>
 64        /// Initializes a new instance of the <see cref="Response"/> class.
 65        /// </summary>
 66        /// <param name="responseMessage">
 67        /// The response.
 68        /// </param>
 2269        private Response(ResponseMessage responseMessage)
 2270        {
 2271            ResponseMessage = responseMessage;
 2272        }
 73
 74        /// <summary>
 75        /// The with status code.
 76        /// </summary>
 77        /// <param name="code">The code.</param>
 78        /// <returns>A <see cref="IResponseBuilder"/>.</returns>\
 79        [PublicAPI]
 80        public IResponseBuilder WithStatusCode(int code)
 1381        {
 1382            ResponseMessage.StatusCode = code;
 1383            return this;
 1384        }
 85
 86        /// <summary>
 87        /// The with status code.
 88        /// </summary>
 89        /// <param name="code">The code.</param>
 90        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 91        [PublicAPI]
 92        public IResponseBuilder WithStatusCode(HttpStatusCode code)
 093        {
 094            return WithStatusCode((int)code);
 095        }
 96
 97        /// <summary>
 98        /// The with Success status code (200).
 99        /// </summary>
 100        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 101        [PublicAPI]
 102        public IResponseBuilder WithSuccess()
 0103        {
 0104            return WithStatusCode((int)HttpStatusCode.OK);
 0105        }
 7142        public string ProxyUrl { get; private set; }
 43
 44        /// <summary>
 45        /// The client X509Certificate2 Thumbprint or SubjectName to use.
 46        /// </summary>
 647        public string ClientX509Certificate2ThumbprintOrSubjectName { get; private set; }
 48
 49        /// <summary>
 50        /// Gets the response message.
 51        /// </summary>
 30952        public ResponseMessage ResponseMessage { get; }
 53
 54        /// <summary>
 55        /// A delegate to execute to generate the response
 56        /// </summary>
 5057        public Func<RequestMessage, ResponseMessage> Callback { get; private set; }
 58
 59        /// <summary>
 60        /// Creates this instance.
 61        /// </summary>
 62        /// <param name="responseMessage">ResponseMessage</param>
 63        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 64        [PublicAPI]
 65        public static IResponseBuilder Create([CanBeNull] ResponseMessage responseMessage = null)
 6366        {
 6367            var message = responseMessage ?? new ResponseMessage { StatusCode = (int)HttpStatusCode.OK };
 6368            return new Response(message);
 6369        }
 70
 71        /// <summary>
 72        /// Creates this instance with the specified function.
 73        /// </summary>
 74        /// <param name="func">The callback function.</param>
 75        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 76        [PublicAPI]
 77        public static IResponseBuilder Create([NotNull] Func<ResponseMessage> func)
 178        {
 179            Check.NotNull(func, nameof(func));
 80
 181            return new Response(func());
 182        }
 83
 84        /// <summary>
 85        /// Initializes a new instance of the <see cref="Response"/> class.
 86        /// </summary>
 87        /// <param name="responseMessage">
 88        /// The response.
 89        /// </param>
 6490        private Response(ResponseMessage responseMessage)
 6491        {
 6492            ResponseMessage = responseMessage;
 6493        }
 94
 95        /// <summary>
 96        /// The with status code.
 97        /// </summary>
 98        /// <param name="code">The code.</param>
 99        /// <returns>A <see cref="IResponseBuilder"/>.</returns>\
 100        [PublicAPI]
 101        public IResponseBuilder WithStatusCode(int code)
 19102        {
 19103            ResponseMessage.StatusCode = code;
 19104            return this;
 19105        }
 106
 107        /// <summary>
 108        /// The with NotFound status code (404).
 108        /// The with status code.
 109        /// </summary>
 110        /// <returns>The <see cref="IResponseBuilder"/>.</returns>
 111        [PublicAPI]
 112        public IResponseBuilder WithNotFound()
 0113        {
 0114            return WithStatusCode((int)HttpStatusCode.NotFound);
 0115        }
 116
 117        /// <summary>
 118        /// The with header.
 119        /// </summary>
 120        /// <param name="name">The name.</param>
 121        /// <param name="value">The value.</param>
 122        /// <returns>The <see cref="IResponseBuilder"/>.</returns>
 123        public IResponseBuilder WithHeader(string name, string value)
 2124        {
 2125            Check.NotNull(name, nameof(name));
 126
 2127            ResponseMessage.AddHeader(name, value);
 2128            return this;
 2129        }
 130
 131        /// <summary>
 132        /// The with headers.
 133        /// </summary>
 134        /// <param name="headers">The headers.</param>
 135        /// <returns></returns>
 136        public IResponseBuilder WithHeaders(IDictionary<string, string> headers)
 4137        {
 4138            ResponseMessage.Headers = headers;
 4139            return this;
 4140        }
 141
 142        /// <summary>
 143        /// The with body.
 144        /// </summary>
 145        /// <param name="body">The body.</param>
 146        /// <param name="encoding">The body encoding.</param>
 147        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 148        public IResponseBuilder WithBody(string body, Encoding encoding = null)
 15149        {
 15150            Check.NotNull(body, nameof(body));
 110        /// <param name="code">The code.</param>
 111        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 112        [PublicAPI]
 113        public IResponseBuilder WithStatusCode(HttpStatusCode code)
 1114        {
 1115            return WithStatusCode((int)code);
 1116        }
 117
 118        /// <summary>
 119        /// The with Success status code (200).
 120        /// </summary>
 121        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 122        [PublicAPI]
 123        public IResponseBuilder WithSuccess()
 1124        {
 1125            return WithStatusCode((int)HttpStatusCode.OK);
 1126        }
 127
 128        /// <summary>
 129        /// The with NotFound status code (404).
 130        /// </summary>
 131        /// <returns>The <see cref="IResponseBuilder"/>.</returns>
 132        [PublicAPI]
 133        public IResponseBuilder WithNotFound()
 0134        {
 0135            return WithStatusCode((int)HttpStatusCode.NotFound);
 0136        }
 137
 138        /// <inheritdoc cref="IHeadersResponseBuilder.WithHeader(string, string[])"/>
 139        public IResponseBuilder WithHeader(string name, params string[] values)
 58140        {
 58141            Check.NotNull(name, nameof(name));
 142
 58143            ResponseMessage.AddHeader(name, values);
 58144            return this;
 58145        }
 146
 147        /// <inheritdoc cref="IHeadersResponseBuilder.WithHeaders(IDictionary{string, string})"/>
 148        public IResponseBuilder WithHeaders(IDictionary<string, string> headers)
 1149        {
 1150            Check.NotNull(headers, nameof(headers));
 151
 15152            ResponseMessage.Body = body;
 15153             ResponseMessage.BodyEncoding = encoding ?? Encoding.UTF8;
 154
 15155            return this;
 15156        }
 157
 158        /// <summary>
 159        /// The with body (AsJson object).
 160        /// </summary>
 161        /// <param name="body">The body.</param>
 162        /// <param name="encoding">The body encoding.</param>
 163        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 164        public IResponseBuilder WithBodyAsJson(object body, Encoding encoding = null)
 1165        {
 1166            Check.NotNull(body, nameof(body));
 167
 1168            string jsonBody = JsonConvert.SerializeObject(body, new JsonSerializerSettings { Formatting = Formatting.Non
 169
 1170             if (encoding != null && !encoding.Equals(Encoding.UTF8))
 1171            {
 1172                jsonBody = encoding.GetString(Encoding.UTF8.GetBytes(jsonBody));
 1173                ResponseMessage.BodyEncoding = encoding;
 1174            }
 175
 1176            ResponseMessage.Body = jsonBody;
 3152            ResponseMessage.Headers = headers.ToDictionary(header => header.Key, header => new WireMockList<string>(head
 1153            return this;
 1154        }
 155
 156        /// <inheritdoc cref="IHeadersResponseBuilder.WithHeaders(IDictionary{string, string[]})"/>
 157        public IResponseBuilder WithHeaders(IDictionary<string, string[]> headers)
 1158        {
 1159            Check.NotNull(headers, nameof(headers));
 160
 3161            ResponseMessage.Headers = headers.ToDictionary(header => header.Key, header => new WireMockList<string>(head
 1162            return this;
 1163        }
 164
 165        /// <inheritdoc cref="IHeadersResponseBuilder.WithHeaders(IDictionary{string, WireMockList{string}})"/>
 166        public IResponseBuilder WithHeaders(IDictionary<string, WireMockList<string>> headers)
 1167        {
 1168            ResponseMessage.Headers = headers;
 1169            return this;
 1170        }
 171
 172        /// <inheritdoc cref="IBodyResponseBuilder.WithBody(Func{RequestMessage, string}, string, Encoding)"/>
 173        public IResponseBuilder WithBody(Func<RequestMessage, string> bodyFactory, string destination = BodyDestinationF
 1174        {
 2175            return WithCallback(req => new ResponseMessage { Body = bodyFactory(req) });
 1176        }
 177
 1178            return this;
 1179        }
 180
 181        /// <summary>
 182        /// The with body as base64.
 183        /// </summary>
 184        /// <param name="bodyAsbase64">The body asbase64.</param>
 185        /// <param name="encoding">The Encoding.</param>
 186        /// <returns>A <see cref="IResponseBuilder"/>.</returns>
 187        public IResponseBuilder WithBodyAsBase64(string bodyAsbase64, Encoding encoding = null)
 1188        {
 1189            Check.NotNull(bodyAsbase64, nameof(bodyAsbase64));
 190
 1191             encoding = encoding ?? Encoding.UTF8;
 192
 1193            ResponseMessage.Body = encoding.GetString(Convert.FromBase64String(bodyAsbase64));
 1194            ResponseMessage.BodyEncoding = encoding;
 195
 1196            return this;
 1197        }
 198
 199        /// <summary>
 200        /// The with transformer.
 201        /// </summary>
 202        /// <returns>
 203        /// The <see cref="IResponseBuilder"/>.
 204        /// </returns>
 205        public IResponseBuilder WithTransformer()
 3206        {
 3207            UseTransformer = true;
 3208            return this;
 3209        }
 178        /// <inheritdoc cref="IBodyResponseBuilder.WithBody(byte[], string, Encoding)"/>
 179        public IResponseBuilder WithBody(byte[] body, string destination, Encoding encoding = null)
 3180        {
 3181            Check.NotNull(body, nameof(body));
 182
 3183            ResponseMessage.BodyDestination = destination;
 184
 3185             switch (destination)
 186            {
 187                case BodyDestinationFormat.String:
 1188                     var enc = encoding ?? Encoding.UTF8;
 1189                    ResponseMessage.BodyAsBytes = null;
 1190                    ResponseMessage.Body = enc.GetString(body);
 1191                    ResponseMessage.BodyEncoding = enc;
 1192                    break;
 193
 194                default:
 2195                    ResponseMessage.BodyAsBytes = body;
 2196                    ResponseMessage.BodyEncoding = null;
 2197                    break;
 198            }
 199
 3200            return this;
 3201        }
 202
 203        /// <inheritdoc cref="IBodyResponseBuilder.WithBodyFromFile"/>
 204        public IResponseBuilder WithBodyFromFile(string filename, bool cache = true)
 0205        {
 0206            Check.NotNull(filename, nameof(filename));
 207
 0208            ResponseMessage.BodyEncoding = null;
 0209            ResponseMessage.BodyAsFileIsCached = cache;
 210
 211        /// <summary>
 212        /// The with delay.
 213        /// </summary>
 214        /// <param name="delay">The TimeSpan to delay.</param>
 215        /// <returns>The <see cref="IResponseBuilder"/>.</returns>
 216        public IResponseBuilder WithDelay(TimeSpan delay)
 1217        {
 2218            Check.Condition(delay, d => d > TimeSpan.Zero, nameof(delay));
 1219            Delay = delay;
 1220            return this;
 1221        }
 222
 223        /// <summary>
 224        /// The with delay.
 225        /// </summary>
 226        /// <param name="milliseconds">The milliseconds to delay.</param>
 227        /// <returns>The <see cref="IResponseBuilder"/>.</returns>
 228        public IResponseBuilder WithDelay(int milliseconds)
 0229        {
 0230            return WithDelay(TimeSpan.FromMilliseconds(milliseconds));
 0231        }
 232
 233        /// <summary>
 234        /// The provide response.
 235        /// </summary>
 236        /// <param name="requestMessage">
 237        /// The request.
 238        /// </param>
 239        /// <returns>
 240        /// The <see cref="Task"/>.
 241        /// </returns>
 242        public async Task<ResponseMessage> ProvideResponse(RequestMessage requestMessage)
 12243        {
 244            ResponseMessage responseMessage;
 12245             if (UseTransformer)
 3246            {
 3247                responseMessage = new ResponseMessage { StatusCode = ResponseMessage.StatusCode, BodyOriginal = Response
 248
 3249                var template = new { request = requestMessage };
 0211             if (cache)
 0212            {
 0213                ResponseMessage.Body = null;
 0214                ResponseMessage.BodyAsBytes = File.ReadAllBytes(filename);
 0215                ResponseMessage.BodyAsFile = null;
 0216            }
 217            else
 0218            {
 0219                ResponseMessage.Body = null;
 0220                ResponseMessage.BodyAsBytes = null;
 0221                ResponseMessage.BodyAsFile = filename;
 0222            }
 223
 0224            return this;
 0225        }
 226
 227        /// <inheritdoc cref="IBodyResponseBuilder.WithBody(string, string, Encoding)"/>
 228        public IResponseBuilder WithBody(string body, string destination = BodyDestinationFormat.SameAsSource, Encoding 
 29229        {
 29230            Check.NotNull(body, nameof(body));
 231
 29232             encoding = encoding ?? Encoding.UTF8;
 233
 29234            ResponseMessage.BodyDestination = destination;
 29235            ResponseMessage.BodyEncoding = encoding;
 236
 29237             switch (destination)
 238            {
 239                case BodyDestinationFormat.Bytes:
 1240                    ResponseMessage.Body = null;
 1241                    ResponseMessage.BodyAsJson = null;
 1242                    ResponseMessage.BodyAsBytes = encoding.GetBytes(body);
 1243                    break;
 244
 245                case BodyDestinationFormat.Json:
 1246                    ResponseMessage.Body = null;
 1247                    ResponseMessage.BodyAsJson = JsonConvert.DeserializeObject(body);
 1248                    ResponseMessage.BodyAsBytes = null;
 1249                    break;
 250
 251                // Body
 3252                var templateBody = Handlebars.Compile(ResponseMessage.Body);
 3253                responseMessage.Body = templateBody(template);
 254
 255                // Headers
 3256                var newHeaders = new Dictionary<string, string>();
 11257                foreach (var header in ResponseMessage.Headers)
 1258                {
 1259                    var templateHeaderKey = Handlebars.Compile(header.Key);
 1260                    var templateHeaderValue = Handlebars.Compile(header.Value);
 261
 1262                    newHeaders.Add(templateHeaderKey(template), templateHeaderValue(template));
 1263                }
 3264                responseMessage.Headers = newHeaders;
 3265            }
 266            else
 9267            {
 9268                responseMessage = ResponseMessage;
 9269            }
 270
 12271             if (Delay != null)
 1272                await Task.Delay(Delay.Value);
 273
 12274            return responseMessage;
 12275        }
 276    }
 277}
 251                default:
 27252                    ResponseMessage.Body = body;
 27253                    ResponseMessage.BodyAsJson = null;
 27254                    ResponseMessage.BodyAsBytes = null;
 27255                    break;
 256            }
 257
 29258            return this;
 29259        }
 260
 261        /// <inheritdoc cref="IBodyResponseBuilder.WithBodyAsJson"/>
 262        public IResponseBuilder WithBodyAsJson(object body, Encoding encoding = null)
 3263        {
 3264            Check.NotNull(body, nameof(body));
 265
 3266            ResponseMessage.BodyDestination = null;
 3267            ResponseMessage.BodyAsJson = body;
 3268            ResponseMessage.BodyEncoding = encoding;
 269
 3270            return this;
 3271        }
 272
 273        /// <inheritdoc cref="IBodyResponseBuilder.WithBodyFromBase64"/>
 274        public IResponseBuilder WithBodyFromBase64(string bodyAsbase64, Encoding encoding = null)
 1275        {
 1276            Check.NotNull(bodyAsbase64, nameof(bodyAsbase64));
 277
 1278             encoding = encoding ?? Encoding.UTF8;
 279
 1280            ResponseMessage.BodyDestination = null;
 1281            ResponseMessage.Body = encoding.GetString(Convert.FromBase64String(bodyAsbase64));
 1282            ResponseMessage.BodyEncoding = encoding;
 283
 1284            return this;
 1285        }
 286
 287        /// <inheritdoc cref="ITransformResponseBuilder.WithTransformer"/>
 288        public IResponseBuilder WithTransformer()
 6289        {
 6290            UseTransformer = true;
 6291            return this;
 6292        }
 293
 294        /// <inheritdoc cref="IDelayResponseBuilder.WithDelay(TimeSpan)"/>
 295        public IResponseBuilder WithDelay(TimeSpan delay)
 2296        {
 4297            Check.Condition(delay, d => d > TimeSpan.Zero, nameof(delay));
 298
 2299            Delay = delay;
 2300            return this;
 2301        }
 302
 303        /// <inheritdoc cref="IDelayResponseBuilder.WithDelay(int)"/>
 304        public IResponseBuilder WithDelay(int milliseconds)
 1305        {
 1306            return WithDelay(TimeSpan.FromMilliseconds(milliseconds));
 1307        }
 308
 309        /// <inheritdoc cref="IProxyResponseBuilder.WithProxy(string, string)"/>
 310        public IResponseBuilder WithProxy(string proxyUrl, string clientX509Certificate2ThumbprintOrSubjectName = null)
 6311        {
 6312            Check.NotNullOrEmpty(proxyUrl, nameof(proxyUrl));
 313
 6314            ProxyUrl = proxyUrl;
 6315            ClientX509Certificate2ThumbprintOrSubjectName = clientX509Certificate2ThumbprintOrSubjectName;
 6316            _httpClientForProxy = HttpClientHelper.CreateHttpClient(clientX509Certificate2ThumbprintOrSubjectName);
 6317            return this;
 6318        }
 319
 320        /// <inheritdoc cref="IProxyResponseBuilder.WithProxy(IProxyAndRecordSettings)"/>
 321        public IResponseBuilder WithProxy(IProxyAndRecordSettings settings)
 0322        {
 0323            Check.NotNull(settings, nameof(settings));
 324
 0325            return WithProxy(settings.Url, settings.ClientX509Certificate2ThumbprintOrSubjectName);
 0326        }
 327
 328        /// <inheritdoc cref="ICallbackResponseBuilder.WithCallback"/>
 329        public IResponseBuilder WithCallback(Func<RequestMessage, ResponseMessage> callbackHandler)
 2330        {
 2331            Check.NotNull(callbackHandler, nameof(callbackHandler));
 332
 2333            Callback = callbackHandler;
 334
 2335            return this;
 2336        }
 337
 338        /// <summary>
 339        /// The provide response.
 340        /// </summary>
 341        /// <param name="requestMessage">The request.</param>
 342        /// <returns>The <see cref="ResponseMessage"/>.</returns>
 343        public async Task<ResponseMessage> ProvideResponseAsync(RequestMessage requestMessage)
 58344        {
 58345            Check.NotNull(requestMessage, nameof(requestMessage));
 346
 58347             if (Delay != null)
 11348            {
 11349                await Task.Delay(Delay.Value);
 11350            }
 351
 58352             if (ProxyUrl != null && _httpClientForProxy != null)
 6353            {
 6354                var requestUri = new Uri(requestMessage.Url);
 6355                var proxyUri = new Uri(ProxyUrl);
 6356                var proxyUriWithRequestPathAndQuery = new Uri(proxyUri, requestUri.PathAndQuery);
 357
 6358                return await HttpClientHelper.SendAsync(_httpClientForProxy, requestMessage, proxyUriWithRequestPathAndQ
 359            }
 360
 52361             if (UseTransformer)
 6362            {
 6363                return ResponseMessageTransformer.Transform(requestMessage, ResponseMessage);
 364            }
 365
 46366             if (Callback != null)
 2367            {
 2368                return Callback(requestMessage);
 369            }
 370
 44371            return ResponseMessage;
 58372        }
 373    }
 374}
- +

Methods/Properties

-Delay()
-Delay(System.Nullable`1<System.TimeSpan>)
-UseTransformer()
-UseTransformer(System.Boolean)
-ResponseMessage()
-Create(WireMock.ResponseMessage)
-Create(System.Func`1<WireMock.ResponseMessage>)
-.ctor(WireMock.ResponseMessage)
-WithStatusCode(System.Int32)
-WithStatusCode(System.Net.HttpStatusCode)
-WithSuccess()
-WithNotFound()
-WithHeader(System.String,System.String)
-WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>)
-WithBody(System.String,System.Text.Encoding)
-WithBodyAsJson(System.Object,System.Text.Encoding)
-WithBodyAsBase64(System.String,System.Text.Encoding)
-WithTransformer()
-WithDelay(System.TimeSpan)
-WithDelay(System.Int32)
-ProvideResponse()
+Delay()
+Delay(System.Nullable`1<System.TimeSpan>)
+UseTransformer()
+UseTransformer(System.Boolean)
+ProxyUrl()
+ProxyUrl(System.String)
+ClientX509Certificate2ThumbprintOrSubjectName()
+ClientX509Certificate2ThumbprintOrSubjectName(System.String)
+ResponseMessage()
+Callback()
+Callback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>)
+Create(WireMock.ResponseMessage)
+Create(System.Func`1<WireMock.ResponseMessage>)
+.ctor(WireMock.ResponseMessage)
+WithStatusCode(System.Int32)
+WithStatusCode(System.Net.HttpStatusCode)
+WithSuccess()
+WithNotFound()
+WithHeader(System.String,System.String[])
+WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>)
+WithHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String[]>)
+WithHeaders(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>)
+WithBody(System.Func`2<WireMock.RequestMessage,System.String>,System.String,System.Text.Encoding)
+WithBody(System.Byte[],System.String,System.Text.Encoding)
+WithBodyFromFile(System.String,System.Boolean)
+WithBody(System.String,System.String,System.Text.Encoding)
+WithBodyAsJson(System.Object,System.Text.Encoding)
+WithBodyFromBase64(System.String,System.Text.Encoding)
+WithTransformer()
+WithDelay(System.TimeSpan)
+WithDelay(System.Int32)
+WithProxy(System.String,System.String)
+WithProxy(WireMock.Settings.IProxyAndRecordSettings)
+WithCallback(System.Func`2<WireMock.RequestMessage,WireMock.ResponseMessage>)
+ProvideResponseAsync()

diff --git a/report/WireMock.Net_ResponseMessage.htm b/report/WireMock.Net_ResponseMessage.htm index fde1fa71..c006997a 100644 --- a/report/WireMock.Net_ResponseMessage.htm +++ b/report/WireMock.Net_ResponseMessage.htm @@ -15,12 +15,13 @@ Class:WireMock.ResponseMessage Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\ResponseMessage.cs -Covered lines:8 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseMessage.cs +Covered lines:20 Uncovered lines:0 -Coverable lines:8 -Total lines:51 +Coverable lines:20 +Total lines:91 Line coverage:100% +Branch coverage:50%

Metrics

@@ -28,83 +29,135 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   AddHeader(...)10100100 +AddHeader(...)3210066.67 .ctor()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\ResponseMessage.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseMessage.cs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections.Concurrent;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace WireMock
 6{
 7    /// <summary>
 8    /// The response.
 9    /// </summary>
 10    public class ResponseMessage
 11    {
 12        /// <summary>
 13        /// Gets the headers.
 14        /// </summary>
 5715        public IDictionary<string, string> Headers { get; set; } = new ConcurrentDictionary<string, string>();
 16
 17        /// <summary>
 18        /// Gets or sets the status code.
 19        /// </summary>
 9120        public int StatusCode { get; set; } = 200;
 21
 22        /// <summary>
 23        /// Gets or sets the body.
 24        /// </summary>
 325        public string BodyOriginal { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the body.
 29        /// </summary>
 6130        public string Body { get; set; }
 31
 32        /// <summary>
 33        /// Gets or sets the body encoding.
 34        /// </summary>
 6135        public Encoding BodyEncoding { get; set; } = new UTF8Encoding(false);
 36
 37        /// <summary>
 38        /// The add header.
 39        /// </summary>
 40        /// <param name="name">
 41        /// The name.
 42        /// </param>
 43        /// <param name="value">
 44        /// The value.
 45        /// </param>
 46        public void AddHeader(string name, string value)
 247        {
 248            Headers.Add(name, value);
 249        }
 50    }
 51}
 3using System.Linq;
 4using System.Text;
 5using WireMock.Util;
 6using WireMock.Validation;
 7
 8namespace WireMock
 9{
 10    /// <summary>
 11    /// The response.
 12    /// </summary>
 13    public class ResponseMessage
 14    {
 15        /// <summary>
 16        /// Gets the headers.
 17        /// </summary>
 36218        public IDictionary<string, WireMockList<string>> Headers { get; set; } = new ConcurrentDictionary<string, WireMo
 19
 20        /// <summary>
 21        /// Gets or sets the status code.
 22        /// </summary>
 27023        public int StatusCode { get; set; } = 200;
 24
 25        /// <summary>
 26        /// Gets or sets the body.
 27        /// </summary>
 728        public string BodyOriginal { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 32        /// </summary>
 3933        public string BodyDestination { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the body as a string.
 37        /// </summary>
 17438        public string Body { get; set; }
 39
 40        /// <summary>
 41        /// Gets or sets the body as a json object.
 42        /// </summary>
 11243        public object BodyAsJson { get; set; }
 44
 45        /// <summary>
 46        /// Gets or sets the body as bytes.
 47        /// </summary>
 12948        public byte[] BodyAsBytes { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets the body as a file.
 52        /// </summary>
 5653        public string BodyAsFile { get; set; }
 54
 55        /// <summary>
 56        /// Is the body as file cached?
 57        /// </summary>
 358        public bool? BodyAsFileIsCached { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets the body encoding.
 62        /// </summary>
 18163        public Encoding BodyEncoding { get; set; } = new UTF8Encoding(false);
 64
 65        /// <summary>
 66        /// Adds the header.
 67        /// </summary>
 68        /// <param name="name">The name.</param>
 69        /// <param name="value">The value.</param>
 70        public void AddHeader(string name, string value)
 171        {
 172            Headers.Add(name, new WireMockList<string>(value));
 173        }
 74
 75        /// <summary>
 76        /// Adds the header.
 77        /// </summary>
 78        /// <param name="name">The name.</param>
 79        /// <param name="values">The values.</param>
 80        public void AddHeader(string name, params string[] values)
 9181        {
 9182            Check.NotNullOrEmpty(values, nameof(values));
 83
 9184             var newHeaderValues = Headers.TryGetValue(name, out WireMockList<string> existingValues)
 9185                ? values.Union(existingValues).ToArray()
 9186                : values;
 87
 9188            Headers[name] = new WireMockList<string>(newHeaderValues);
 9189        }
 90    }
 91}
- + diff --git a/report/WireMock.Net_ResponseMessageTransformer.htm b/report/WireMock.Net_ResponseMessageTransformer.htm new file mode 100644 index 00000000..6fd5a198 --- /dev/null +++ b/report/WireMock.Net_ResponseMessageTransformer.htm @@ -0,0 +1,106 @@ + + + + + +WireMock.Transformers.ResponseMessageTransformer - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + + +
Class:WireMock.Transformers.ResponseMessageTransformer
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Transformers\ResponseMessageTransformer.cs
Covered lines:33
Uncovered lines:0
Coverable lines:33
Total lines:57
Line coverage:100%
Branch coverage:87.5%
+

Metrics

+ + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Transform(...)81610088.89
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Transformers\ResponseMessageTransformer.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System.Collections.Generic;
 2using System.Linq;
 3using HandlebarsDotNet;
 4using Newtonsoft.Json;
 5using WireMock.Util;
 6
 7namespace WireMock.Transformers
 8{
 9    internal static class ResponseMessageTransformer
 10    {
 11        public static ResponseMessage Transform(RequestMessage requestMessage, ResponseMessage original)
 612        {
 613            bool bodyIsJson = original.BodyAsJson != null;
 614            var responseMessage = new ResponseMessage { StatusCode = original.StatusCode };
 15
 616             if (!bodyIsJson)
 517            {
 518                responseMessage.BodyOriginal = original.Body;
 519            }
 20
 621            var template = new { request = requestMessage };
 22
 23            // Body
 624             string body = bodyIsJson ? JsonConvert.SerializeObject(original.BodyAsJson) : original.Body;
 625             if (body != null)
 626            {
 627                var templateBody = Handlebars.Compile(body);
 28
 629                 if (!bodyIsJson)
 530                {
 531                    responseMessage.Body = templateBody(template);
 532                }
 33                else
 134                {
 135                    responseMessage.BodyAsJson = JsonConvert.DeserializeObject(templateBody(template));
 136                }
 637            }
 38
 39            // Headers
 640            var newHeaders = new Dictionary<string, WireMockList<string>>();
 2241            foreach (var header in original.Headers)
 242            {
 243                var templateHeaderKey = Handlebars.Compile(header.Key);
 244                var templateHeaderValues = header.Value
 245                    .Select(Handlebars.Compile)
 546                    .Select(func => func(template))
 247                    .ToArray();
 48
 249                newHeaders.Add(templateHeaderKey(template), new WireMockList<string>(templateHeaderValues));
 250            }
 51
 652            responseMessage.Headers = newHeaders;
 53
 654            return responseMessage;
 655        }
 56    }
 57}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_ResponseModel.htm b/report/WireMock.Net_ResponseModel.htm index 2845d4e6..13f38291 100644 --- a/report/WireMock.Net_ResponseModel.htm +++ b/report/WireMock.Net_ResponseModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Mappings.ResponseModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs -Covered lines:6 -Uncovered lines:3 -Coverable lines:9 -Total lines:82 -Line coverage:66.6% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs +Covered lines:15 +Uncovered lines:0 +Coverable lines:15 +Total lines:85 +Line coverage:100%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs

@@ -40,100 +40,115 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 10        /// <summary>
 11        /// Gets or sets the HTTP status.
 12        /// </summary>
 13        /// <value>
 14        /// The HTTP status.
 15        /// </value>
 1216        public int? StatusCode { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the body.
 20        /// </summary>
 21        /// <value>
 22        /// The body.
 23        /// </value>
 1224        public string Body { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the body.
 28        /// </summary>
 29        /// <value>
 30        /// The body.
 31        /// </value>
 032        public string BodyAsBase64 { get; set; }
 33
 34        /// <summary>
 35        /// Gets or sets the body (as JSON object).
 36        /// </summary>
 37        /// <value>
 38        /// The body.
 39        /// </value>
 040        public object BodyAsJson { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the body encoding.
 44        /// </summary>
 45        /// <value>
 46        /// The body encoding.
 47        /// </value>
 1248        public EncodingModel BodyEncoding { get; set; }
 1813        public int? StatusCode { get; set; }
 14
 15        /// <summary>
 16        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 17        /// </summary>
 818        public string BodyDestination { get; set; }
 19
 20        /// <summary>
 21        /// Gets or sets the body.
 22        /// </summary>
 1823        public string Body { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the body.
 27        /// </summary>
 228        public string BodyFromBase64 { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the body (as JSON object).
 32        /// </summary>
 333        public object BodyAsJson { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the body (as bytearray).
 37        /// </summary>
 838        public byte[] BodyAsBytes { get; set; }
 39
 40        /// <summary>
 41        /// Gets or sets the body as a file.
 42        /// </summary>
 343        public string BodyAsFile { get; set; }
 44
 45        /// <summary>
 46        /// Is the body as file cached?
 47        /// </summary>
 348        public bool? BodyAsFileIsCached { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets a value indicating whether [use transformer].
 51        /// Gets or sets the body encoding.
 52        /// </summary>
 53        /// <value>
 54        ///   <c>true</c> if [use transformer]; otherwise, <c>false</c>.
 55        /// </value>
 856        public bool UseTransformer { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets the headers.
 60        /// </summary>
 61        /// <value>
 62        /// The headers.
 63        /// </value>
 1664        public IDictionary<string, string> Headers { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets the Headers (Raw).
 68        /// </summary>
 69        /// <value>
 70        /// The Headers (Raw).
 71        /// </value>
 072        public string HeadersRaw { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets the delay in milliseconds.
 76        /// </summary>
 77        /// <value>
 78        /// The delay in milliseconds.
 79        /// </value>
 480        public int? Delay { get; set; }
 81    }
 82}
 1653        public EncodingModel BodyEncoding { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets a value indicating whether [use transformer].
 57        /// </summary>
 1258        public bool UseTransformer { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets the headers.
 62        /// </summary>
 2063        public IDictionary<string, object> Headers { get; set; }
 64
 65        /// <summary>
 66        /// Gets or sets the Headers (Raw).
 67        /// </summary>
 368        public string HeadersRaw { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets the delay in milliseconds.
 72        /// </summary>
 873        public int? Delay { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets the Proxy URL.
 77        /// </summary>
 778        public string ProxyUrl { get; set; }
 79
 80        /// <summary>
 81        /// The client X509Certificate2 Thumbprint or SubjectName to use.
 82        /// </summary>
 283        public string X509Certificate2ThumbprintOrSubjectName { get; set; }
 84    }
 85}
- + diff --git a/report/WireMock.Net_SettingsModel.htm b/report/WireMock.Net_SettingsModel.htm index 7228d643..043314b2 100644 --- a/report/WireMock.Net_SettingsModel.htm +++ b/report/WireMock.Net_SettingsModel.htm @@ -15,16 +15,16 @@ Class:WireMock.Admin.Settings.SettingsModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Settings\SettingsModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Settings\SettingsModel.cs Covered lines:0 -Uncovered lines:2 -Coverable lines:2 -Total lines:18 +Uncovered lines:4 +Coverable lines:4 +Total lines:28 Line coverage:0%

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Settings\SettingsModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Settings\SettingsModel.cs

@@ -44,11 +44,21 @@ - - + + + + + + + + + + + +
#LineLine coverage
 14        /// Gets or sets if partial mapping is allowed.
 15        /// </summary>
 016        public bool? AllowPartialMapping { get; set; }
 17    }
 18}
 17
 18        /// <summary>
 19        /// Gets or sets the RequestLog expiration in hours
 20        /// </summary>
 021        public int? RequestLogExpirationDuration { get; set; }
 22
 23        /// <summary>
 24        /// Gets or sets the MaxRequestLog count.
 25        /// </summary>
 026        public int? MaxRequestLogCount { get; set; }
 27    }
 28}
- + diff --git a/report/WireMock.Net_SimMetricsMatcher.htm b/report/WireMock.Net_SimMetricsMatcher.htm index 30c1dd27..755b29a8 100644 --- a/report/WireMock.Net_SimMetricsMatcher.htm +++ b/report/WireMock.Net_SimMetricsMatcher.htm @@ -15,12 +15,12 @@ Class:WireMock.Matchers.SimMetricsMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\SimMetricsMatcher.cs -Covered lines:17 -Uncovered lines:23 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\SimMetricsMatcher.cs +Covered lines:23 +Uncovered lines:17 Coverable lines:40 -Total lines:114 -Line coverage:42.5% +Total lines:104 +Line coverage:57.5% Branch coverage:5.2% @@ -32,12 +32,12 @@ .ctor(...)10100100 IsMatch(...)10100100 GetStringMetricType()191919.0510 -GetPatterns()1000 -GetName()1000 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\SimMetricsMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\SimMetricsMatcher.cs

@@ -53,8 +53,8 @@ - - + + @@ -64,109 +64,99 @@ - - - + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 10    /// <summary>
 11    /// SimMetricsMatcher
 12    /// </summary>
 13    /// <seealso cref="IMatcher" />
 14    public class SimMetricsMatcher : IMatcher
 13    /// <seealso cref="IStringMatcher" />
 14    public class SimMetricsMatcher : IStringMatcher
 15    {
 16        private readonly string[] _patterns;
 17        private readonly SimMetricType _simMetricType;
 21        /// </summary>
 22        /// <param name="pattern">The pattern.</param>
 23        /// <param name="simMetricType">The SimMetric Type</param>
 424        public SimMetricsMatcher([NotNull] string pattern, SimMetricType simMetricType = SimMetricType.Levenstein) : thi
 425        {
 426        }
 824        public SimMetricsMatcher([NotNull] string pattern, SimMetricType simMetricType = SimMetricType.Levenstein) : thi
 825        {
 826        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the <see cref="SimMetricsMatcher"/> class.
 30        /// </summary>
 31        /// <param name="patterns">The patterns.</param>
 32        /// <param name="simMetricType">The SimMetric Type</param>
 433        public SimMetricsMatcher([NotNull] string[] patterns, SimMetricType simMetricType = SimMetricType.Levenstein)
 434        {
 435            Check.NotEmpty(patterns, nameof(patterns));
 833        public SimMetricsMatcher([NotNull] string[] patterns, SimMetricType simMetricType = SimMetricType.Levenstein)
 834        {
 835            Check.NotNullOrEmpty(patterns, nameof(patterns));
 36
 437            _patterns = patterns;
 438            _simMetricType = simMetricType;
 439        }
 837            _patterns = patterns;
 838            _simMetricType = simMetricType;
 839        }
 40
 41        /// <summary>
 42        /// Determines whether the specified input is match.
 43        /// </summary>
 44        /// <param name="input">The input string</param>
 45        /// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
 46        public double IsMatch(string input)
 447        {
 448            IStringMetric m = GetStringMetricType();
 49
 850            return MatchScores.ToScore(_patterns.Select(p => m.GetSimilarity(p, input)));
 451        }
 52
 53        private IStringMetric GetStringMetricType()
 454        {
 455             switch (_simMetricType)
 56            {
 57                case SimMetricType.BlockDistance:
 058                    return new BlockDistance();
 59                case SimMetricType.ChapmanLengthDeviation:
 060                    return new ChapmanLengthDeviation();
 61                case SimMetricType.CosineSimilarity:
 062                    return new CosineSimilarity();
 63                case SimMetricType.DiceSimilarity:
 064                    return new DiceSimilarity();
 65                case SimMetricType.EuclideanDistance:
 066                    return new EuclideanDistance();
 67                case SimMetricType.JaccardSimilarity:
 068                    return new JaccardSimilarity();
 69                case SimMetricType.Jaro:
 070                    return new Jaro();
 71                case SimMetricType.JaroWinkler:
 072                    return new JaroWinkler();
 73                case SimMetricType.MatchingCoefficient:
 074                    return new MatchingCoefficient();
 75                case SimMetricType.MongeElkan:
 076                    return new MongeElkan();
 77                case SimMetricType.NeedlemanWunch:
 078                    return new NeedlemanWunch();
 79                case SimMetricType.OverlapCoefficient:
 080                    return new OverlapCoefficient();
 81                case SimMetricType.QGramsDistance:
 082                    return new QGramsDistance();
 83                case SimMetricType.SmithWaterman:
 084                    return new SmithWaterman();
 85                case SimMetricType.SmithWatermanGotoh:
 086                    return new SmithWatermanGotoh();
 87                case SimMetricType.SmithWatermanGotohWindowedAffine:
 088                    return new SmithWatermanGotohWindowedAffine();
 89                case SimMetricType.ChapmanMeanLength:
 090                    return new ChapmanMeanLength();
 91                default:
 492                    return new Levenstein();
 93            }
 494        }
 95
 96        /// <summary>
 97        /// Gets the pattern.
 98        /// </summary>
 99        /// <returns>Pattern</returns>
 100        public string[] GetPatterns()
 0101        {
 0102            return _patterns;
 0103        }
 104
 105        /// <summary>
 106        /// Gets the name.
 107        /// </summary>
 108        /// <returns>Name</returns>
 109        public string GetName()
 0110        {
 0111            return $"SimMetricsMatcher.{_simMetricType}";
 0112        }
 113    }
 114}
 41        /// <inheritdoc cref="IStringMatcher.IsMatch"/>
 42        public double IsMatch(string input)
 443        {
 444            IStringMetric m = GetStringMetricType();
 45
 1246            return MatchScores.ToScore(_patterns.Select(p => m.GetSimilarity(p, input)));
 447        }
 48
 49        private IStringMetric GetStringMetricType()
 450        {
 451             switch (_simMetricType)
 52            {
 53                case SimMetricType.BlockDistance:
 054                    return new BlockDistance();
 55                case SimMetricType.ChapmanLengthDeviation:
 056                    return new ChapmanLengthDeviation();
 57                case SimMetricType.CosineSimilarity:
 058                    return new CosineSimilarity();
 59                case SimMetricType.DiceSimilarity:
 060                    return new DiceSimilarity();
 61                case SimMetricType.EuclideanDistance:
 062                    return new EuclideanDistance();
 63                case SimMetricType.JaccardSimilarity:
 064                    return new JaccardSimilarity();
 65                case SimMetricType.Jaro:
 066                    return new Jaro();
 67                case SimMetricType.JaroWinkler:
 068                    return new JaroWinkler();
 69                case SimMetricType.MatchingCoefficient:
 070                    return new MatchingCoefficient();
 71                case SimMetricType.MongeElkan:
 072                    return new MongeElkan();
 73                case SimMetricType.NeedlemanWunch:
 074                    return new NeedlemanWunch();
 75                case SimMetricType.OverlapCoefficient:
 076                    return new OverlapCoefficient();
 77                case SimMetricType.QGramsDistance:
 078                    return new QGramsDistance();
 79                case SimMetricType.SmithWaterman:
 080                    return new SmithWaterman();
 81                case SimMetricType.SmithWatermanGotoh:
 082                    return new SmithWatermanGotoh();
 83                case SimMetricType.SmithWatermanGotohWindowedAffine:
 084                    return new SmithWatermanGotohWindowedAffine();
 85                case SimMetricType.ChapmanMeanLength:
 086                    return new ChapmanMeanLength();
 87                default:
 488                    return new Levenstein();
 89            }
 490        }
 91
 92        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 93        public string[] GetPatterns()
 394        {
 395            return _patterns;
 396        }
 97
 98        /// <inheritdoc cref="IMatcher.GetName"/>
 99        public string GetName()
 1100        {
 1101            return $"SimMetricsMatcher.{_simMetricType}";
 1102        }
 103    }
 104}
- + diff --git a/report/WireMock.Net_UrlModel.htm b/report/WireMock.Net_UrlModel.htm index d444c34d..308ba5ca 100644 --- a/report/WireMock.Net_UrlModel.htm +++ b/report/WireMock.Net_UrlModel.htm @@ -15,7 +15,7 @@ Class:WireMock.Admin.Mappings.UrlModel Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\UrlModel.cs +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\UrlModel.cs Covered lines:0 Uncovered lines:2 Coverable lines:2 @@ -24,7 +24,7 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\UrlModel.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\UrlModel.cs

@@ -54,7 +54,7 @@
#LineLine coverage
 24}
- +

Methods/Properties

diff --git a/report/WireMock.Net_WildcardMatcher.htm b/report/WireMock.Net_WildcardMatcher.htm index bcd30fc7..e011a9c9 100644 --- a/report/WireMock.Net_WildcardMatcher.htm +++ b/report/WireMock.Net_WildcardMatcher.htm @@ -15,12 +15,12 @@ Class:WireMock.Matchers.WildcardMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\WildcardMatcher.cs -Covered lines:7 -Uncovered lines:6 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\WildcardMatcher.cs +Covered lines:13 +Uncovered lines:0 Coverable lines:13 -Total lines:54 -Line coverage:53.8% +Total lines:46 +Line coverage:100%

Metrics

@@ -29,12 +29,12 @@ .ctor(...)10100100 .ctor(...)20100100 -GetPatterns()1000 -GetName()1000 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\WildcardMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\WildcardMatcher.cs

@@ -47,7 +47,7 @@ - + @@ -57,51 +57,43 @@ - - - + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
#LineLine coverage
 7    /// <summary>
 8    /// WildcardMatcher
 9    /// </summary>
 10    /// <seealso cref="IMatcher" />
 10    /// <seealso cref="RegexMatcher" />
 11    public class WildcardMatcher : RegexMatcher
 12    {
 13        private readonly string[] _patterns;
 17        /// </summary>
 18        /// <param name="pattern">The pattern.</param>
 19        /// <param name="ignoreCase">IgnoreCase</param>
 5720        public WildcardMatcher([NotNull] string pattern, bool ignoreCase = false) : this(new [] { pattern }, ignoreCase)
 5721        {
 5722        }
 15820        public WildcardMatcher([NotNull] string pattern, bool ignoreCase = false) : this(new [] { pattern }, ignoreCase)
 15821        {
 15822        }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the <see cref="WildcardMatcher"/> class.
 26        /// </summary>
 27        /// <param name="patterns">The patterns.</param>
 28        /// <param name="ignoreCase">IgnoreCase</param>
 11829        public WildcardMatcher([NotNull] string[] patterns, bool ignoreCase = false) : base(patterns.Select(pattern => "
 5930        {
 5931            _patterns = patterns;
 5932        }
 32329        public WildcardMatcher([NotNull] string[] patterns, bool ignoreCase = false) : base(patterns.Select(pattern => "
 16130        {
 16131            _patterns = patterns;
 16132        }
 33
 34        /// <summary>
 35        /// Gets the pattern.
 36        /// </summary>
 37        /// <returns>Pattern</returns>
 38        public override string[] GetPatterns()
 039        {
 040            return _patterns;
 041        }
 42
 43        /// <summary>
 44        /// Gets the name.
 45        /// </summary>
 46        /// <returns>
 47        /// Name
 48        /// </returns>
 49        public override string GetName()
 050        {
 051            return "WildcardMatcher";
 052        }
 53    }
 54}
 34        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 35        public override string[] GetPatterns()
 236        {
 237            return _patterns;
 238        }
 39
 40        /// <inheritdoc cref="IMatcher.GetName"/>
 41        public override string GetName()
 142        {
 143            return "WildcardMatcher";
 144        }
 45    }
 46}
-
+
diff --git a/report/WireMock.Net_WireMockConsoleLogger.htm b/report/WireMock.Net_WireMockConsoleLogger.htm new file mode 100644 index 00000000..fa900b75 --- /dev/null +++ b/report/WireMock.Net_WireMockConsoleLogger.htm @@ -0,0 +1,98 @@ + + + + + +WireMock.Logging.WireMockConsoleLogger - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Logging.WireMockConsoleLogger
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\WireMockConsoleLogger.cs
Covered lines:0
Uncovered lines:16
Coverable lines:16
Total lines:42
Line coverage:0%
+

Metrics

+ + + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Debug(...)1000
Info(...)1000
Warn(...)1000
Error(...)1000
Format(...)1000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\WireMockConsoleLogger.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2
 3namespace WireMock.Logging
 4{
 5    /// <summary>
 6    /// WireMockConsoleLogger which logs to Console
 7    /// </summary>
 8    /// <seealso cref="IWireMockLogger" />
 9    public class WireMockConsoleLogger : IWireMockLogger
 10    {
 11        /// <see cref="IWireMockLogger.Debug"/>
 12        public void Debug(string formatString, params object[] args)
 013        {
 014            Console.WriteLine(Format("Debug", formatString, args));
 015        }
 16
 17        /// <see cref="IWireMockLogger.Info"/>
 18        public void Info(string formatString, params object[] args)
 019        {
 020            Console.WriteLine(Format("Info", formatString, args));
 021        }
 22
 23        /// <see cref="IWireMockLogger.Warn"/>
 24        public void Warn(string formatString, params object[] args)
 025        {
 026            Console.WriteLine(Format("Warn", formatString, args));
 027        }
 28
 29        /// <see cref="IWireMockLogger.Error"/>
 30        public void Error(string formatString, params object[] args)
 031        {
 032            Console.WriteLine(Format("Error", formatString, args));
 033        }
 34
 35        private static string Format(string level, string formatString, params object[] args)
 036        {
 037            string message = string.Format(formatString, args);
 38
 039            return $"{DateTime.UtcNow} [{level}] : {message}";
 040        }
 41    }
 42}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_WireMockList_1.htm b/report/WireMock.Net_WireMockList_1.htm index 4e907cd2..e25d3123 100644 --- a/report/WireMock.Net_WireMockList_1.htm +++ b/report/WireMock.Net_WireMockList_1.htm @@ -15,12 +15,12 @@ Class:WireMock.Util.WireMockList`1 Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Util\WireMockList.cs -Covered lines:7 -Uncovered lines:7 +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\WireMockList.cs +Covered lines:10 +Uncovered lines:4 Coverable lines:14 -Total lines:50 -Line coverage:50% +Total lines:47 +Line coverage:71.4% Branch coverage:50% @@ -29,13 +29,13 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor()10100100 -.ctor(...)1000 +.ctor(...)10100100 .ctor(...)1000 ToString()348060

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Util\WireMockList.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Util\WireMockList.cs

@@ -54,17 +54,17 @@ - - - + + + - - - + + + @@ -77,28 +77,25 @@ - - - - - - - - - - - - + + + + + + + + +
#LineLine coverage
 13        /// <summary>
 14        /// Initializes a new instance of the <see cref="WireMockList{T}"/> class.
 15        /// </summary>
 716        public WireMockList()
 717        {
 718        }
 1816        public WireMockList()
 1817        {
 1818        }
 19
 20        /// <summary>
 21        /// Initializes a new instance of the <see cref="WireMockList{T}"/> class.
 22        /// </summary>
 23        /// <param name="collection">The collection whose elements are copied to the new list.</param>
 024        public WireMockList(params T[] collection) : base(collection)
 025        {
 026        }
 25524        public WireMockList(params T[] collection) : base(collection)
 25525        {
 25526        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the <see cref="WireMockList{T}"/> class.
 36        /// <summary>
 37        /// Returns a <see cref="string" /> that represents this instance.
 38        /// </summary>
 39        /// <returns>
 40        /// A <see cref="string" /> that represents this instance.
 41        /// </returns>
 42        public override string ToString()
 243        {
 244             if (this != null && this.Any())
 245                return this.First().ToString();
 46
 047            return base.ToString();
 248        }
 49    }
 50}
 39        public override string ToString()
 4940        {
 4941             if (this != null && this.Any())
 4942                return this.First().ToString();
 43
 044            return base.ToString();
 4945        }
 46    }
 47}
- + diff --git a/report/WireMock.Net_WireMockMiddleware.htm b/report/WireMock.Net_WireMockMiddleware.htm index 2fb83b9e..88760dcf 100644 --- a/report/WireMock.Net_WireMockMiddleware.htm +++ b/report/WireMock.Net_WireMockMiddleware.htm @@ -15,13 +15,13 @@ Class:WireMock.Owin.WireMockMiddleware Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddleware.cs -Covered lines:60 -Uncovered lines:21 -Coverable lines:81 -Total lines:144 -Line coverage:74% -Branch coverage:66.6% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddleware.cs +Covered lines:84 +Uncovered lines:34 +Coverable lines:118 +Total lines:185 +Line coverage:71.1% +Branch coverage:69.2%

Metrics

@@ -29,170 +29,211 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -LogRequest(...)20100100 +LogRequest(...)76456.6761.54 .cctor()10100100 -Invoke()443276867.3967.74 +Invoke()5226214474.2472.97

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddleware.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddleware.cs

- - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections;
 3using System.Threading.Tasks;
 4using WireMock.Logging;
 5using WireMock.Matchers.Request;
 6using System.Linq;
 7#if NET45
 8using Microsoft.Owin;
 9#else
 10using Microsoft.AspNetCore.Http;
 11#endif
 12
 13namespace WireMock.Owin
 14{
 15#if NET45
 16    internal class WireMockMiddleware : OwinMiddleware
 17#else
 18    internal class WireMockMiddleware
 19#endif
 20    {
 121        private static readonly Task CompletedTask = Task.FromResult(false);
 22        private readonly WireMockMiddlewareOptions _options;
 23
 1624        private readonly OwinRequestMapper _requestMapper = new OwinRequestMapper();
 1625        private readonly OwinResponseMapper _responseMapper = new OwinResponseMapper();
 2using System.Threading.Tasks;
 3using WireMock.Logging;
 4using WireMock.Matchers.Request;
 5using System.Linq;
 6using WireMock.Matchers;
 7using WireMock.Util;
 8using Newtonsoft.Json;
 9using WireMock.Http;
 10#if !NETSTANDARD
 11using Microsoft.Owin;
 12#else
 13using Microsoft.AspNetCore.Http;
 14#endif
 15
 16namespace WireMock.Owin
 17{
 18#if !NETSTANDARD
 19    internal class WireMockMiddleware : OwinMiddleware
 20#else
 21    internal class WireMockMiddleware
 22#endif
 23    {
 124        private static readonly Task CompletedTask = Task.FromResult(false);
 25        private readonly WireMockMiddlewareOptions _options;
 26
 27#if NET45
 1628        public WireMockMiddleware(OwinMiddleware next, WireMockMiddlewareOptions options) : base(next)
 1629        {
 1630            _options = options;
 1631        }
 32#else
 33        public WireMockMiddleware(RequestDelegate next, WireMockMiddlewareOptions options)
 34        {
 35            _options = options;
 36        }
 37#endif
 38
 39#if NET45
 40        public override async Task Invoke(IOwinContext ctx)
 41#else
 42        public async Task Invoke(HttpContext ctx)
 43#endif
 1344        {
 1345             if (_options.RequestProcessingDelay > TimeSpan.Zero)
 146            {
 147                await Task.Delay(_options.RequestProcessingDelay.Value);
 48                // Thread.Sleep(_options.RequestProcessingDelay.Value);
 149            }
 50
 1351            var request = await _requestMapper.MapAsync(ctx.Request);
 52
 1353            ResponseMessage response = null;
 1354            Mapping targetMapping = null;
 1355             RequestMatchResult requestMatchResult = null;
 56            try
 1357            {
 1358                var mappings = _options.Mappings
 2359                    .Select(m => new
 2360                    {
 2361                        Mapping = m,
 2362                        MatchResult = m.IsRequestHandled(request)
 2363                    })
 1364                    .ToList();
 65
 1366                 if (_options.AllowPartialMapping)
 067                {
 068                    var partialMappings = mappings
 069                        .Where(pm => pm.Mapping.IsAdminInterface && pm.MatchResult.IsPerfectMatch || !pm.Mapping.IsAdmin
 070                        .OrderBy(m => m.MatchResult)
 071                        .ThenBy(m => m.Mapping.Priority)
 072                        .ToList();
 73
 074                    var bestPartialMatch = partialMappings.FirstOrDefault(pm => pm.MatchResult.AverageTotalScore > 0.0);
 75
 076                     targetMapping = bestPartialMatch?.Mapping;
 077                     requestMatchResult = bestPartialMatch?.MatchResult;
 078                }
 79                else
 1380                {
 1381                    var perfectMatch = mappings
 2382                        .OrderBy(m => m.Mapping.Priority)
 2183                        .FirstOrDefault(m => m.MatchResult.IsPerfectMatch);
 84
 1385                     targetMapping = perfectMatch?.Mapping;
 1386                     requestMatchResult = perfectMatch?.MatchResult;
 1387                }
 88
 1389                 if (targetMapping == null)
 690                {
 691                    response = new ResponseMessage { StatusCode = 404, Body = "No matching mapping found" };
 692                    return;
 93                }
 94
 795                 if (targetMapping.IsAdminInterface && _options.AuthorizationMatcher != null)
 096                {
 97                    string authorization;
 098                    bool present = request.Headers.TryGetValue("Authorization", out authorization);
 099                     if (!present || _options.AuthorizationMatcher.IsMatch(authorization) < 1.0)
 0100                    {
 0101                        response = new ResponseMessage { StatusCode = 401 };
 0102                        return;
 103                    }
 0104                }
 4727        private readonly OwinRequestMapper _requestMapper = new OwinRequestMapper();
 4728        private readonly OwinResponseMapper _responseMapper = new OwinResponseMapper();
 29
 30#if !NETSTANDARD
 4731        public WireMockMiddleware(OwinMiddleware next, WireMockMiddlewareOptions options) : base(next)
 4732        {
 4733            _options = options;
 4734        }
 35#else
 36        public WireMockMiddleware(RequestDelegate next, WireMockMiddlewareOptions options)
 37        {
 38            _options = options;
 39        }
 40#endif
 41
 42#if !NETSTANDARD
 43        public override async Task Invoke(IOwinContext ctx)
 44#else
 45        public async Task Invoke(HttpContext ctx)
 46#endif
 5847        {
 5848            var request = await _requestMapper.MapAsync(ctx.Request);
 49
 5850            bool logRequest = false;
 5851            ResponseMessage response = null;
 5852            Mapping targetMapping = null;
 5853             RequestMatchResult requestMatchResult = null;
 54            try
 5855            {
 35256                 foreach (var mapping in _options.Mappings.Values.Where(m => m?.Scenario != null))
 1457                {
 58                    // Set start
 1459                     if (!_options.Scenarios.ContainsKey(mapping.Scenario) && mapping.IsStartState)
 260                    {
 261                        _options.Scenarios.Add(mapping.Scenario, null);
 262                    }
 1463                }
 64
 5865                var mappings = _options.Mappings.Values
 20866                     .Select(m => new
 20867                    {
 20868                        Mapping = m,
 20869                        MatchResult = m.GetRequestMatchResult(request, m.Scenario != null && _options.Scenarios.Contains
 20870                    })
 5871                    .ToList();
 72
 5873                 if (_options.AllowPartialMapping)
 074                {
 075                    var partialMappings = mappings
 076                        .Where(pm => pm.Mapping.IsAdminInterface && pm.MatchResult.IsPerfectMatch || !pm.Mapping.IsAdmin
 077                        .OrderBy(m => m.MatchResult)
 078                        .ThenBy(m => m.Mapping.Priority)
 079                        .ToList();
 80
 081                    var bestPartialMatch = partialMappings.FirstOrDefault(pm => pm.MatchResult.AverageTotalScore > 0.0);
 82
 083                     targetMapping = bestPartialMatch?.Mapping;
 084                     requestMatchResult = bestPartialMatch?.MatchResult;
 085                }
 86                else
 5887                {
 5888                    var perfectMatch = mappings
 20889                        .OrderBy(m => m.Mapping.Priority)
 15690                        .FirstOrDefault(m => m.MatchResult.IsPerfectMatch);
 91
 5892                     targetMapping = perfectMatch?.Mapping;
 5893                     requestMatchResult = perfectMatch?.MatchResult;
 5894                }
 95
 5896                 if (targetMapping == null)
 1297                {
 1298                    logRequest = true;
 1299                    _options.Logger.Warn("HttpStatusCode set to 404 : No matching mapping found");
 12100                    response = new ResponseMessage { StatusCode = 404, Body = "No matching mapping found" };
 12101                    return;
 102                }
 103
 46104                logRequest = !targetMapping.IsAdminInterface;
 105
 7106                response = await targetMapping.ResponseTo(request);
 7107            }
 0108            catch (Exception ex)
 0109            {
 0110                response = new ResponseMessage { StatusCode = 500, Body = ex.ToString() };
 0111            }
 112            finally
 13113            {
 13114                 var log = new LogEntry
 13115                {
 13116                    Guid = Guid.NewGuid(),
 13117                    RequestMessage = request,
 13118                    ResponseMessage = response,
 13119                    MappingGuid = targetMapping?.Guid,
 13120                    MappingTitle = targetMapping?.Title,
 13121                    RequestMatchResult = requestMatchResult
 13122                };
 46106                 if (targetMapping.IsAdminInterface && _options.AuthorizationMatcher != null)
 0107                {
 0108                    bool present = request.Headers.TryGetValue(HttpKnownHeaderNames.Authorization, out WireMockList<stri
 0109                     if (!present || _options.AuthorizationMatcher.IsMatch(authorization.ToString()) < MatchScores.Perfec
 0110                    {
 0111                        _options.Logger.Error("HttpStatusCode set to 401");
 0112                        response = new ResponseMessage { StatusCode = 401 };
 0113                        return;
 114                    }
 0115                }
 116
 46117                 if (!targetMapping.IsAdminInterface && _options.RequestProcessingDelay > TimeSpan.Zero)
 1118                {
 1119                    await Task.Delay(_options.RequestProcessingDelay.Value);
 1120                }
 121
 46122                response = await targetMapping.ResponseToAsync(request);
 123
 13124                LogRequest(log);
 125
 13126                await _responseMapper.MapAsync(response, ctx.Response);
 13127             }
 128
 7129            await CompletedTask;
 13130        }
 131
 132        /// <summary>
 133        /// The log request.
 134        /// </summary>
 135        /// <param name="entry">The request.</param>
 136        private void LogRequest(LogEntry entry)
 13137        {
 13138            lock (((ICollection)_options.LogEntries).SyncRoot)
 13139            {
 13140                _options.LogEntries.Add(entry);
 13141            }
 13142        }
 143    }
 144}
 46124                 if (targetMapping.Scenario != null)
 5125                {
 5126                    _options.Scenarios[targetMapping.Scenario] = targetMapping.NextState;
 5127                }
 46128            }
 0129            catch (Exception ex)
 0130            {
 0131                _options.Logger.Error("HttpStatusCode set to 500");
 0132                response = new ResponseMessage { StatusCode = 500, Body = JsonConvert.SerializeObject(ex) };
 0133            }
 134            finally
 58135            {
 58136                 var log = new LogEntry
 58137                {
 58138                    Guid = Guid.NewGuid(),
 58139                    RequestMessage = request,
 58140                    ResponseMessage = response,
 58141                    MappingGuid = targetMapping?.Guid,
 58142                    MappingTitle = targetMapping?.Title,
 58143                    RequestMatchResult = requestMatchResult
 58144                };
 145
 58146                LogRequest(log, logRequest);
 147
 58148                await _responseMapper.MapAsync(response, ctx.Response);
 58149             }
 150
 46151            await CompletedTask;
 58152        }
 153
 154        private void LogRequest(LogEntry entry, bool addRequest)
 58155        {
 58156             if (addRequest)
 53157            {
 53158                _options.LogEntries.Add(entry);
 53159            }
 160
 58161             if (_options.MaxRequestLogCount != null)
 3162            {
 3163                var amount = _options.LogEntries.Count - _options.MaxRequestLogCount.Value;
 8164                 for (int i = 0; i < amount; i++)
 1165                {
 1166                    _options.LogEntries.RemoveAt(0);
 1167                }
 3168            }
 169
 58170             if (_options.RequestLogExpirationDuration != null)
 0171            {
 0172                var checkTime = DateTime.Now.AddHours(-_options.RequestLogExpirationDuration.Value);
 173
 0174                 for (var i = _options.LogEntries.Count - 1; i >= 0; i--)
 0175                {
 0176                    var le = _options.LogEntries[i];
 0177                     if (le.RequestMessage.DateTime <= checkTime)
 0178                    {
 0179                        _options.LogEntries.RemoveAt(i);
 0180                    }
 0181                }
 0182            }
 58183        }
 184    }
 185}
- + diff --git a/report/WireMock.Net_WireMockMiddlewareOptions.htm b/report/WireMock.Net_WireMockMiddlewareOptions.htm index 6c2c167c..0745ba56 100644 --- a/report/WireMock.Net_WireMockMiddlewareOptions.htm +++ b/report/WireMock.Net_WireMockMiddlewareOptions.htm @@ -15,12 +15,12 @@ Class:WireMock.Owin.WireMockMiddlewareOptions Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs -Covered lines:9 -Uncovered lines:1 -Coverable lines:10 -Total lines:26 -Line coverage:90% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs +Covered lines:11 +Uncovered lines:0 +Coverable lines:11 +Total lines:46 +Line coverage:100%

Metrics

@@ -31,53 +31,82 @@

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\WireMockMiddlewareOptions.cs

- - - - - - - - - - - + + + + + + + + + + + - - - - - + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using WireMock.Logging;
 4using WireMock.Matchers;
 5
 6namespace WireMock.Owin
 7{
 8    internal class WireMockMiddlewareOptions
 9    {
 1510        public TimeSpan? RequestProcessingDelay { get; set; }
 11
 012        public IMatcher AuthorizationMatcher { get; set; }
 2using System.Collections.Concurrent;
 3using System.Collections.Generic;
 4using System.Collections.ObjectModel;
 5using WireMock.Logging;
 6using WireMock.Matchers;
 7using WireMock.Util;
 8#if !NETSTANDARD
 9using Owin;
 10#else
 11using Microsoft.AspNetCore.Builder;
 12#endif
 13
 1314        public bool AllowPartialMapping { get; set; }
 15
 11716        public IList<Mapping> Mappings { get; set; }
 17
 5418        public IList<LogEntry> LogEntries { get; set; }
 14namespace WireMock.Owin
 15{
 16    internal class WireMockMiddlewareOptions
 17    {
 5918        public IWireMockLogger Logger { get; set; }
 19
 1820        public WireMockMiddlewareOptions()
 1821        {
 1822            Mappings = new List<Mapping>();
 1823            LogEntries = new List<LogEntry>();
 1824        }
 25    }
 26}
 4320        public TimeSpan? RequestProcessingDelay { get; set; }
 21
 522        public IStringMatcher AuthorizationMatcher { get; set; }
 23
 5824        public bool AllowPartialMapping { get; set; }
 25
 38526        public IDictionary<Guid, Mapping> Mappings { get; } = new ConcurrentDictionary<Guid, Mapping>();
 27
 12228        public ObservableCollection<LogEntry> LogEntries { get; } = new ConcurentObservableCollection<LogEntry>();
 29
 5830        public int? RequestLogExpirationDuration { get; set; }
 31
 6232        public int? MaxRequestLogCount { get; set; }
 33
 9534        public IDictionary<string, object> Scenarios { get; } = new ConcurrentDictionary<string, object>();
 35
 36#if !NETSTANDARD
 9437        public Action<IAppBuilder> PreWireMockMiddlewareInit { get; set; }
 38
 9439        public Action<IAppBuilder> PostWireMockMiddlewareInit { get; set; }
 40#else
 41        public Action<IApplicationBuilder> PreWireMockMiddlewareInit { get; set; }
 42
 43        public Action<IApplicationBuilder> PostWireMockMiddlewareInit { get; set; }
 44#endif
 45    }
 46}
- + diff --git a/report/WireMock.Net_WireMockNullLogger.htm b/report/WireMock.Net_WireMockNullLogger.htm new file mode 100644 index 00000000..b6abcd26 --- /dev/null +++ b/report/WireMock.Net_WireMockNullLogger.htm @@ -0,0 +1,83 @@ + + + + + +WireMock.Logging.WireMockNullLogger - Coverage Report + +
+

Summary

+ ++++ + + + + + + + + + + +
Class:WireMock.Logging.WireMockNullLogger
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\WireMockNullLogger.cs
Covered lines:6
Uncovered lines:2
Coverable lines:8
Total lines:29
Line coverage:75%
+

Metrics

+ + + + + + + + +
MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
Debug(...)10100100
Info(...)10100100
Warn(...)10100100
Error(...)1000
+

File(s)

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Logging\WireMockNullLogger.cs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 1namespace WireMock.Logging
 2{
 3    /// <summary>
 4    /// WireMockNullLogger which does not log.
 5    /// </summary>
 6    /// <seealso cref="IWireMockLogger" />
 7    public class WireMockNullLogger : IWireMockLogger
 8    {
 9        /// <see cref="IWireMockLogger.Debug"/>
 10        public void Debug(string formatString, params object[] args)
 4711        {
 4712        }
 13
 14        /// <see cref="IWireMockLogger.Info"/>
 15        public void Info(string formatString, params object[] args)
 216        {
 217        }
 18
 19        /// <see cref="IWireMockLogger.Warn"/>
 20        public void Warn(string formatString, params object[] args)
 1221        {
 1222        }
 23
 24        /// <see cref="IWireMockLogger.Error"/>
 25        public void Error(string formatString, params object[] args)
 026        {
 027        }
 28    }
 29}
+
+
+ + \ No newline at end of file diff --git a/report/WireMock.Net_XPathMatcher.htm b/report/WireMock.Net_XPathMatcher.htm index c34c9465..9bd8302d 100644 --- a/report/WireMock.Net_XPathMatcher.htm +++ b/report/WireMock.Net_XPathMatcher.htm @@ -15,12 +15,12 @@ Class:WireMock.Matchers.XPathMatcher Assembly:WireMock.Net -File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\XPathMatcher.cs -Covered lines:11 -Uncovered lines:10 -Coverable lines:21 -Total lines:76 -Line coverage:52.3% +File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\XPathMatcher.cs +Covered lines:17 +Uncovered lines:5 +Coverable lines:22 +Total lines:66 +Line coverage:77.2% Branch coverage:50% @@ -29,13 +29,13 @@ MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage   .ctor(...)10100100 -IsMatch(...)226066.67 -GetPatterns()1000 -GetName()1000 +IsMatch(...)2254.5566.67 +GetPatterns()10100100 +GetName()10100100

File(s)

-

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Matchers\XPathMatcher.cs

+

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Matchers\XPathMatcher.cs

@@ -44,7 +44,7 @@ - + @@ -53,8 +53,8 @@ - - + + @@ -62,69 +62,59 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#LineLine coverage
 3using System.Xml;
 4using JetBrains.Annotations;
 5using WireMock.Validation;
 6#if NET45
 6#if !NETSTANDARD1_3
 7using Wmhelp.XPath2;
 8#endif
 9
 12    /// <summary>
 13    /// XPath2Matcher
 14    /// </summary>
 15    /// <seealso cref="WireMock.Matchers.IMatcher" />
 16    public class XPathMatcher : IMatcher
 15    /// <seealso cref="IStringMatcher" />
 16    public class XPathMatcher : IStringMatcher
 17    {
 18        private readonly string[] _patterns;
 19
 21        /// Initializes a new instance of the <see cref="XPathMatcher"/> class.
 22        /// </summary>
 23        /// <param name="patterns">The patterns.</param>
 224        public XPathMatcher([NotNull] params string[] patterns)
 225        {
 226            Check.NotNull(patterns, nameof(patterns));
 424        public XPathMatcher([NotNull] params string[] patterns)
 425        {
 426            Check.NotNull(patterns, nameof(patterns));
 27
 228            _patterns = patterns;
 229        }
 428            _patterns = patterns;
 429        }
 30
 31        /// <summary>
 32        /// Determines whether the specified input is match.
 33        /// </summary>
 34        /// <param name="input">The input string</param>
 35        /// <returns>A value between 0.0 - 1.0 of the similarity.</returns>
 36        public double IsMatch(string input)
 237        {
 238             if (input == null)
 039                return MatchScores.Mismatch;
 40
 41            try
 242            {
 243                var nav = new XmlDocument { InnerXml = input }.CreateNavigator();
 44#if NET45
 445                return MatchScores.ToScore(_patterns.Select(p => true.Equals(nav.XPath2Evaluate($"boolean({p})"))));
 46#else
 47                return MatchScores.ToScore(_patterns.Select(p => true.Equals(nav.Evaluate($"boolean({p})"))));
 48#endif
 49            }
 050            catch (Exception)
 051            {
 052                return MatchScores.Mismatch;
 53            }
 254        }
 55
 56        /// <summary>
 57        /// Gets the patterns.
 58        /// </summary>
 59        /// <returns>Patterns</returns>
 60        public string[] GetPatterns()
 061        {
 062            return _patterns;
 063        }
 64
 65        /// <summary>
 66        /// Gets the name.
 67        /// </summary>
 68        /// <returns>
 69        /// Name
 70        /// </returns>
 71        public string GetName()
 072        {
 073            return "XPathMatcher";
 074        }
 75    }
 76}
 31        /// <inheritdoc cref="IStringMatcher.IsMatch"/>
 32        public double IsMatch(string input)
 233        {
 234             if (input == null)
 035            {
 036                return MatchScores.Mismatch;
 37            }
 38
 39            try
 240            {
 241                var nav = new XmlDocument { InnerXml = input }.CreateNavigator();
 42#if NETSTANDARD1_3
 43                return MatchScores.ToScore(_patterns.Select(p => true.Equals(nav.Evaluate($"boolean({p})"))));
 44#else
 645                return MatchScores.ToScore(_patterns.Select(p => true.Equals(nav.XPath2Evaluate($"boolean({p})"))));
 46#endif
 47            }
 048            catch (Exception)
 049            {
 050                return MatchScores.Mismatch;
 51            }
 252        }
 53
 54        /// <inheritdoc cref="IStringMatcher.GetPatterns"/>
 55        public string[] GetPatterns()
 156        {
 157            return _patterns;
 158        }
 59
 60        /// <inheritdoc cref="IMatcher.GetName"/>
 61        public string GetName()
 162        {
 163            return "XPathMatcher";
 164        }
 65    }
 66}
- + diff --git a/report/combined.js b/report/combined.js index 5a624c79..6888aeef 100644 --- a/report/combined.js +++ b/report/combined.js @@ -311,6 +311,90 @@ window.matchMedia || (window.matchMedia = function() { var assemblies = [ + { + "name" : "WireMock.Net", + "classes" : [ + { "name" : "WireMock.Admin.Mappings.BodyModel", "reportPath" : "WireMock.Net_BodyModel.htm", "coveredLines" : 3, "uncoveredLines" : 0, "coverableLines" : 3, "totalLines" : 32, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.ClientIPModel", "reportPath" : "WireMock.Net_ClientIPModel.htm", "coveredLines" : 0, "uncoveredLines" : 2, "coverableLines" : 2, "totalLines" : 24, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.CookieModel", "reportPath" : "WireMock.Net_CookieModel.htm", "coveredLines" : 0, "uncoveredLines" : 3, "coverableLines" : 3, "totalLines" : 34, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.EncodingModel", "reportPath" : "WireMock.Net_EncodingModel.htm", "coveredLines" : 3, "uncoveredLines" : 0, "coverableLines" : 3, "totalLines" : 23, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.HeaderModel", "reportPath" : "WireMock.Net_HeaderModel.htm", "coveredLines" : 0, "uncoveredLines" : 3, "coverableLines" : 3, "totalLines" : 34, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.MappingModel", "reportPath" : "WireMock.Net_MappingModel.htm", "coveredLines" : 8, "uncoveredLines" : 0, "coverableLines" : 8, "totalLines" : 51, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.MatcherModel", "reportPath" : "WireMock.Net_MatcherModel.htm", "coveredLines" : 4, "uncoveredLines" : 0, "coverableLines" : 4, "totalLines" : 28, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.ParamModel", "reportPath" : "WireMock.Net_ParamModel.htm", "coveredLines" : 0, "uncoveredLines" : 3, "coverableLines" : 3, "totalLines" : 34, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.PathModel", "reportPath" : "WireMock.Net_PathModel.htm", "coveredLines" : 1, "uncoveredLines" : 1, "coverableLines" : 2, "totalLines" : 24, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.RequestModel", "reportPath" : "WireMock.Net_RequestModel.htm", "coveredLines" : 8, "uncoveredLines" : 0, "coverableLines" : 8, "totalLines" : 71, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.ResponseModel", "reportPath" : "WireMock.Net_ResponseModel.htm", "coveredLines" : 15, "uncoveredLines" : 0, "coverableLines" : 15, "totalLines" : 85, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Mappings.UrlModel", "reportPath" : "WireMock.Net_UrlModel.htm", "coveredLines" : 0, "uncoveredLines" : 2, "coverableLines" : 2, "totalLines" : 24, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Requests.LogEntryModel", "reportPath" : "WireMock.Net_LogEntryModel.htm", "coveredLines" : 6, "uncoveredLines" : 0, "coverableLines" : 6, "totalLines" : 40, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Requests.LogRequestMatchModel", "reportPath" : "WireMock.Net_LogRequestMatchModel.htm", "coveredLines" : 0, "uncoveredLines" : 5, "coverableLines" : 5, "totalLines" : 50, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Requests.LogRequestModel", "reportPath" : "WireMock.Net_LogRequestModel.htm", "coveredLines" : 12, "uncoveredLines" : 0, "coverableLines" : 12, "totalLines" : 73, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Requests.LogResponseModel", "reportPath" : "WireMock.Net_LogResponseModel.htm", "coveredLines" : 10, "uncoveredLines" : 0, "coverableLines" : 10, "totalLines" : 62, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Admin.Settings.SettingsModel", "reportPath" : "WireMock.Net_SettingsModel.htm", "coveredLines" : 0, "uncoveredLines" : 4, "coverableLines" : 4, "totalLines" : 28, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Http.HttpClientHelper", "reportPath" : "WireMock.Net_HttpClientHelper.htm", "coveredLines" : 23, "uncoveredLines" : 5, "coverableLines" : 28, "totalLines" : 78, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 1, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Http.HttpKnownHeaderNames", "reportPath" : "WireMock.Net_HttpKnownHeaderNames.htm", "coveredLines" : 0, "uncoveredLines" : 0, "coverableLines" : 0, "totalLines" : 0, "coverageType" : "MethodCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Http.HttpRequestMessageHelper", "reportPath" : "WireMock.Net_HttpRequestMessageHelper.htm", "coveredLines" : 50, "uncoveredLines" : 5, "coverableLines" : 55, "totalLines" : 86, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 21, "totalBranches" : 24, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Http.HttpResponseMessageHelper", "reportPath" : "WireMock.Net_HttpResponseMessageHelper.htm", "coveredLines" : 31, "uncoveredLines" : 0, "coverableLines" : 31, "totalLines" : 53, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 9, "totalBranches" : 12, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Http.PortUtil", "reportPath" : "WireMock.Net_PortUtil.htm", "coveredLines" : 20, "uncoveredLines" : 1, "coverableLines" : 21, "totalLines" : 53, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.HttpsCertificate.ClientCertificateHelper", "reportPath" : "WireMock.Net_ClientCertificateHelper.htm", "coveredLines" : 0, "uncoveredLines" : 17, "coverableLines" : 17, "totalLines" : 41, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.HttpsCertificate.PublicCertificateHelper", "reportPath" : "WireMock.Net_PublicCertificateHelper.htm", "coveredLines" : 0, "uncoveredLines" : 4, "coverableLines" : 4, "totalLines" : 91, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Logging.LogEntry", "reportPath" : "WireMock.Net_LogEntry.htm", "coveredLines" : 6, "uncoveredLines" : 0, "coverableLines" : 6, "totalLines" : 59, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Logging.WireMockConsoleLogger", "reportPath" : "WireMock.Net_WireMockConsoleLogger.htm", "coveredLines" : 0, "uncoveredLines" : 16, "coverableLines" : 16, "totalLines" : 42, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Logging.WireMockNullLogger", "reportPath" : "WireMock.Net_WireMockNullLogger.htm", "coveredLines" : 6, "uncoveredLines" : 2, "coverableLines" : 8, "totalLines" : 29, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Mapping", "reportPath" : "WireMock.Net_Mapping.htm", "coveredLines" : 36, "uncoveredLines" : 0, "coverableLines" : 36, "totalLines" : 140, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.ExactMatcher", "reportPath" : "WireMock.Net_ExactMatcher.htm", "coveredLines" : 14, "uncoveredLines" : 0, "coverableLines" : 14, "totalLines" : 44, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.ExactObjectMatcher", "reportPath" : "WireMock.Net_ExactObjectMatcher.htm", "coveredLines" : 15, "uncoveredLines" : 0, "coverableLines" : 15, "totalLines" : 46, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.JsonPathMatcher", "reportPath" : "WireMock.Net_JsonPathMatcher.htm", "coveredLines" : 23, "uncoveredLines" : 10, "coverableLines" : 33, "totalLines" : 88, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 3, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.MatchScores", "reportPath" : "WireMock.Net_MatchScores.htm", "coveredLines" : 9, "uncoveredLines" : 0, "coverableLines" : 9, "totalLines" : 61, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.RegexMatcher", "reportPath" : "WireMock.Net_RegexMatcher.htm", "coveredLines" : 28, "uncoveredLines" : 4, "coverableLines" : 32, "totalLines" : 81, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMatchResult", "reportPath" : "WireMock.Net_RequestMatchResult.htm", "coveredLines" : 12, "uncoveredLines" : 4, "coverableLines" : 16, "totalLines" : 82, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageBodyMatcher", "reportPath" : "WireMock.Net_RequestMessageBodyMatcher.htm", "coveredLines" : 62, "uncoveredLines" : 2, "coverableLines" : 64, "totalLines" : 144, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 14, "totalBranches" : 16, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageClientIPMatcher", "reportPath" : "WireMock.Net_RequestMessageClientIPMatcher.htm", "coveredLines" : 27, "uncoveredLines" : 1, "coverableLines" : 28, "totalLines" : 74, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 3, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageCompositeMatcher", "reportPath" : "WireMock.Net_RequestMessageCompositeMatcher.htm", "coveredLines" : 16, "uncoveredLines" : 0, "coverableLines" : 16, "totalLines" : 52, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageCookieMatcher", "reportPath" : "WireMock.Net_RequestMessageCookieMatcher.htm", "coveredLines" : 36, "uncoveredLines" : 6, "coverableLines" : 42, "totalLines" : 102, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 5, "totalBranches" : 8, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageHeaderMatcher", "reportPath" : "WireMock.Net_RequestMessageHeaderMatcher.htm", "coveredLines" : 45, "uncoveredLines" : 4, "coverableLines" : 49, "totalLines" : 119, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 6, "totalBranches" : 8, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageMethodMatcher", "reportPath" : "WireMock.Net_RequestMessageMethodMatcher.htm", "coveredLines" : 13, "uncoveredLines" : 0, "coverableLines" : 13, "totalLines" : 48, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageParamMatcher", "reportPath" : "WireMock.Net_RequestMessageParamMatcher.htm", "coveredLines" : 35, "uncoveredLines" : 0, "coverableLines" : 35, "totalLines" : 93, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 6, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessagePathMatcher", "reportPath" : "WireMock.Net_RequestMessagePathMatcher.htm", "coveredLines" : 27, "uncoveredLines" : 1, "coverableLines" : 28, "totalLines" : 74, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 3, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher", "reportPath" : "WireMock.Net_RequestMessageScenarioAndStateMatcher.htm", "coveredLines" : 12, "uncoveredLines" : 0, "coverableLines" : 12, "totalLines" : 51, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.Request.RequestMessageUrlMatcher", "reportPath" : "WireMock.Net_RequestMessageUrlMatcher.htm", "coveredLines" : 27, "uncoveredLines" : 1, "coverableLines" : 28, "totalLines" : 74, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 3, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.SimMetricsMatcher", "reportPath" : "WireMock.Net_SimMetricsMatcher.htm", "coveredLines" : 23, "uncoveredLines" : 17, "coverableLines" : 40, "totalLines" : 104, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 1, "totalBranches" : 19, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.WildcardMatcher", "reportPath" : "WireMock.Net_WildcardMatcher.htm", "coveredLines" : 13, "uncoveredLines" : 0, "coverableLines" : 13, "totalLines" : 46, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Matchers.XPathMatcher", "reportPath" : "WireMock.Net_XPathMatcher.htm", "coveredLines" : 17, "uncoveredLines" : 5, "coverableLines" : 22, "totalLines" : 66, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 1, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.GlobalExceptionMiddleware", "reportPath" : "WireMock.Net_GlobalExceptionMiddleware.htm", "coveredLines" : 10, "uncoveredLines" : 4, "coverableLines" : 14, "totalLines" : 56, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.OwinRequestMapper", "reportPath" : "WireMock.Net_OwinRequestMapper.htm", "coveredLines" : 32, "uncoveredLines" : 0, "coverableLines" : 32, "totalLines" : 92, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 5, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.OwinResponseMapper", "reportPath" : "WireMock.Net_OwinResponseMapper.htm", "coveredLines" : 44, "uncoveredLines" : 4, "coverableLines" : 48, "totalLines" : 105, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 13, "totalBranches" : 16, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.OwinSelfHost", "reportPath" : "WireMock.Net_OwinSelfHost.htm", "coveredLines" : 51, "uncoveredLines" : 0, "coverableLines" : 51, "totalLines" : 96, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.WireMockMiddleware", "reportPath" : "WireMock.Net_WireMockMiddleware.htm", "coveredLines" : 84, "uncoveredLines" : 34, "coverableLines" : 118, "totalLines" : 185, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 36, "totalBranches" : 52, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Owin.WireMockMiddlewareOptions", "reportPath" : "WireMock.Net_WireMockMiddlewareOptions.htm", "coveredLines" : 11, "uncoveredLines" : 0, "coverableLines" : 11, "totalLines" : 46, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.RegistrationCallback", "reportPath" : "WireMock.Net_RegistrationCallback.htm", "coveredLines" : 0, "uncoveredLines" : 0, "coverableLines" : 0, "totalLines" : 0, "coverageType" : "MethodCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.RequestBuilders.Request", "reportPath" : "WireMock.Net_Request.htm", "coveredLines" : 150, "uncoveredLines" : 29, "coverableLines" : 179, "totalLines" : 409, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.RequestMessage", "reportPath" : "WireMock.Net_RequestMessage.htm", "coveredLines" : 94, "uncoveredLines" : 0, "coverableLines" : 94, "totalLines" : 219, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 22, "totalBranches" : 24, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseBuilders.BodyDestinationFormat", "reportPath" : "WireMock.Net_BodyDestinationFormat.htm", "coveredLines" : 0, "uncoveredLines" : 0, "coverableLines" : 0, "totalLines" : 0, "coverageType" : "MethodCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseBuilders.Response", "reportPath" : "WireMock.Net_Response.htm", "coveredLines" : 143, "uncoveredLines" : 24, "coverableLines" : 167, "totalLines" : 374, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 18, "totalBranches" : 22, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseMessage", "reportPath" : "WireMock.Net_ResponseMessage.htm", "coveredLines" : 20, "uncoveredLines" : 0, "coverableLines" : 20, "totalLines" : 91, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 1, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseProviders.DynamicAsyncResponseProvider", "reportPath" : "WireMock.Net_DynamicAsyncResponseProvider.htm", "coveredLines" : 0, "uncoveredLines" : 8, "coverableLines" : 8, "totalLines" : 24, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseProviders.DynamicResponseProvider", "reportPath" : "WireMock.Net_DynamicResponseProvider.htm", "coveredLines" : 8, "uncoveredLines" : 0, "coverableLines" : 8, "totalLines" : 24, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.ResponseProviders.ProxyAsyncResponseProvider", "reportPath" : "WireMock.Net_ProxyAsyncResponseProvider.htm", "coveredLines" : 10, "uncoveredLines" : 0, "coverableLines" : 10, "totalLines" : 28, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Serialization.MappingConverter", "reportPath" : "WireMock.Net_MappingConverter.htm", "coveredLines" : 103, "uncoveredLines" : 25, "coverableLines" : 128, "totalLines" : 162, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 20, "totalBranches" : 48, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Serialization.MatcherMapper", "reportPath" : "WireMock.Net_MatcherMapper.htm", "coveredLines" : 17, "uncoveredLines" : 0, "coverableLines" : 17, "totalLines" : 35, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 9, "totalBranches" : 10, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Serialization.MatcherModelMapper", "reportPath" : "WireMock.Net_MatcherModelMapper.htm", "coveredLines" : 19, "uncoveredLines" : 2, "coverableLines" : 21, "totalLines" : 55, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 19, "totalBranches" : 22, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Server.FluentMockServer", "reportPath" : "WireMock.Net_FluentMockServer.htm", "coveredLines" : 393, "uncoveredLines" : 328, "coverableLines" : 721, "totalLines" : 1265, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 83, "totalBranches" : 168, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Server.RespondWithAProvider", "reportPath" : "WireMock.Net_RespondWithAProvider.htm", "coveredLines" : 42, "uncoveredLines" : 4, "coverableLines" : 46, "totalLines" : 120, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 4, "totalBranches" : 6, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Settings.FluentMockServerSettings", "reportPath" : "WireMock.Net_FluentMockServerSettings.htm", "coveredLines" : 16, "uncoveredLines" : 0, "coverableLines" : 16, "totalLines" : 81, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Settings.ProxyAndRecordSettings", "reportPath" : "WireMock.Net_ProxyAndRecordSettings.htm", "coveredLines" : 5, "uncoveredLines" : 0, "coverableLines" : 5, "totalLines" : 30, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Transformers.ResponseMessageTransformer", "reportPath" : "WireMock.Net_ResponseMessageTransformer.htm", "coveredLines" : 33, "uncoveredLines" : 0, "coverableLines" : 33, "totalLines" : 57, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 7, "totalBranches" : 8, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.BodyData", "reportPath" : "WireMock.Net_BodyData.htm", "coveredLines" : 4, "uncoveredLines" : 0, "coverableLines" : 4, "totalLines" : 30, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.BodyParser", "reportPath" : "WireMock.Net_BodyParser.htm", "coveredLines" : 42, "uncoveredLines" : 8, "coverableLines" : 50, "totalLines" : 81, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 10, "totalBranches" : 12, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.ConcurentObservableCollection`1", "reportPath" : "WireMock.Net_ConcurentObservableCollection_1.htm", "coveredLines" : 20, "uncoveredLines" : 14, "coverableLines" : 34, "totalLines" : 77, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.DictionaryExtensions", "reportPath" : "WireMock.Net_DictionaryExtensions.htm", "coveredLines" : 10, "uncoveredLines" : 0, "coverableLines" : 10, "totalLines" : 33, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.EnhancedFileSystemWatcher", "reportPath" : "WireMock.Net_EnhancedFileSystemWatcher.htm", "coveredLines" : 0, "uncoveredLines" : 90, "coverableLines" : 90, "totalLines" : 265, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 20, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.FileHelper", "reportPath" : "WireMock.Net_FileHelper.htm", "coveredLines" : 6, "uncoveredLines" : 6, "coverableLines" : 12, "totalLines" : 29, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 1, "totalBranches" : 2, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.JsonUtils", "reportPath" : "WireMock.Net_JsonUtils.htm", "coveredLines" : 5, "uncoveredLines" : 2, "coverableLines" : 7, "totalLines" : 18, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Util.WireMockList`1", "reportPath" : "WireMock.Net_WireMockList_1.htm", "coveredLines" : 10, "uncoveredLines" : 4, "coverableLines" : 14, "totalLines" : 47, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 2, "totalBranches" : 4, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Validation.Check", "reportPath" : "WireMock.Net_Check.htm", "coveredLines" : 27, "uncoveredLines" : 44, "coverableLines" : 71, "totalLines" : 139, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 7, "totalBranches" : 20, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + { "name" : "WireMock.Validation.CoreStrings", "reportPath" : "WireMock.Net_CoreStrings.htm", "coveredLines" : 0, "uncoveredLines" : 12, "coverableLines" : 12, "totalLines" : 41, "coverageType" : "LineCoverage", "methodCoverage" : "-", "coveredBranches" : 0, "totalBranches" : 0, "lineCoverageHistory" : [], "branchCoverageHistory" : [] }, + ]}, ]; diff --git a/report/index.htm b/report/index.htm index 83a6d63b..0a757b55 100644 --- a/report/index.htm +++ b/report/index.htm @@ -13,20 +13,121 @@ -Generated on:2018-03-15 - 22:43:10 +Generated on:2018-03-17 - 13:19:12 Parser:OpenCoverParser -Assemblies:0 -Classes:0 -Files:0 -Covered lines:0 -Uncovered lines:0 -Coverable lines:0 -Total lines:0 -Line coverage: +Assemblies:1 +Classes:80 +Files:79 +Covered lines:2105 +Uncovered lines:770 +Coverable lines:2875 +Total lines:7152 +Line coverage:73.2% +Branch coverage:60.3%

Assemblies

-

No assemblies have been covered.

- +
+
+
+
+ +++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameCoveredUncoveredCoverableTotalLine coverageBranch coverage
WireMock.Net21057702875715273.2%
  
60.3%
  
WireMock.Admin.Mappings.BodyModel30332100%
 
 
WireMock.Admin.Mappings.ClientIPModel022240%
 
 
WireMock.Admin.Mappings.CookieModel033340%
 
 
WireMock.Admin.Mappings.EncodingModel30323100%
 
 
WireMock.Admin.Mappings.HeaderModel033340%
 
 
WireMock.Admin.Mappings.MappingModel80851100%
 
 
WireMock.Admin.Mappings.MatcherModel40428100%
 
 
WireMock.Admin.Mappings.ParamModel033340%
 
 
WireMock.Admin.Mappings.PathModel1122450%
  
 
WireMock.Admin.Mappings.RequestModel80871100%
 
 
WireMock.Admin.Mappings.ResponseModel1501585100%
 
 
WireMock.Admin.Mappings.UrlModel022240%
 
 
WireMock.Admin.Requests.LogEntryModel60640100%
 
 
WireMock.Admin.Requests.LogRequestMatchModel055500%
 
 
WireMock.Admin.Requests.LogRequestModel1201273100%
 
 
WireMock.Admin.Requests.LogResponseModel1001062100%
 
 
WireMock.Admin.Settings.SettingsModel044280%
 
 
WireMock.Http.HttpClientHelper235287882.1%
  
50%
  
WireMock.Http.HttpKnownHeaderNames0000
 
 
WireMock.Http.HttpRequestMessageHelper505558690.9%
  
87.5%
  
WireMock.Http.HttpResponseMessageHelper3103153100%
 
75%
  
WireMock.Http.PortUtil201215395.2%
  
50%
  
WireMock.HttpsCertificate.ClientCertificateHelper01717410%
 
0%
 
WireMock.HttpsCertificate.PublicCertificateHelper044910%
 
 
WireMock.Logging.LogEntry60659100%
 
 
WireMock.Logging.WireMockConsoleLogger01616420%
 
 
WireMock.Logging.WireMockNullLogger6282975%
  
 
WireMock.Mapping36036140100%
 
100%
 
WireMock.Matchers.ExactMatcher1401444100%
 
 
WireMock.Matchers.ExactObjectMatcher1501546100%
 
 
WireMock.Matchers.JsonPathMatcher2310338869.6%
  
50%
  
WireMock.Matchers.MatchScores90961100%
 
66.6%
  
WireMock.Matchers.RegexMatcher284328187.5%
  
100%
 
WireMock.Matchers.Request.RequestMatchResult124168275%
  
 
WireMock.Matchers.Request.RequestMessageBodyMatcher6226414496.8%
  
87.5%
  
WireMock.Matchers.Request.RequestMessageClientIPMatcher271287496.4%
  
75%
  
WireMock.Matchers.Request.RequestMessageCompositeMatcher1601652100%
 
100%
 
WireMock.Matchers.Request.RequestMessageCookieMatcher3664210285.7%
  
62.5%
  
WireMock.Matchers.Request.RequestMessageHeaderMatcher4544911991.8%
  
75%
  
WireMock.Matchers.Request.RequestMessageMethodMatcher1301348100%
 
 
WireMock.Matchers.Request.RequestMessageParamMatcher3503593100%
 
100%
 
WireMock.Matchers.Request.RequestMessagePathMatcher271287496.4%
  
75%
  
WireMock.Matchers.Request.RequestMessageScenarioAndStateMatcher1201251100%
 
100%
 
WireMock.Matchers.Request.RequestMessageUrlMatcher271287496.4%
  
75%
  
WireMock.Matchers.SimMetricsMatcher23174010457.5%
  
5.2%
  
WireMock.Matchers.WildcardMatcher1301346100%
 
 
WireMock.Matchers.XPathMatcher175226677.2%
  
50%
  
WireMock.Owin.GlobalExceptionMiddleware104145671.4%
  
66.6%
  
WireMock.Owin.OwinRequestMapper3203292100%
 
83.3%
  
WireMock.Owin.OwinResponseMapper4444810591.6%
  
81.2%
  
WireMock.Owin.OwinSelfHost5105196100%
 
66.6%
  
WireMock.Owin.WireMockMiddleware843411818571.1%
  
69.2%
  
WireMock.Owin.WireMockMiddlewareOptions1101146100%
 
 
WireMock.RegistrationCallback0000
 
 
WireMock.RequestBuilders.Request1502917940983.7%
  
 
WireMock.RequestMessage94094219100%
 
91.6%
  
WireMock.ResponseBuilders.BodyDestinationFormat0000
 
 
WireMock.ResponseBuilders.Response1432416737485.6%
  
81.8%
  
WireMock.ResponseMessage2002091100%
 
50%
  
WireMock.ResponseProviders.DynamicAsyncResponseProvider088240%
 
 
WireMock.ResponseProviders.DynamicResponseProvider80824100%
 
 
WireMock.ResponseProviders.ProxyAsyncResponseProvider1001028100%
 
 
WireMock.Serialization.MappingConverter1032512816280.4%
  
41.6%
  
WireMock.Serialization.MatcherMapper1701735100%
 
90%
  
WireMock.Serialization.MatcherModelMapper192215590.4%
  
86.3%
  
WireMock.Server.FluentMockServer393328721126554.5%
  
49.4%
  
WireMock.Server.RespondWithAProvider4244612091.3%
  
66.6%
  
WireMock.Settings.FluentMockServerSettings1601681100%
 
 
WireMock.Settings.ProxyAndRecordSettings50530100%
 
 
WireMock.Transformers.ResponseMessageTransformer3303357100%
 
87.5%
  
WireMock.Util.BodyData40430100%
 
 
WireMock.Util.BodyParser428508184%
  
83.3%
  
WireMock.Util.ConcurentObservableCollection`12014347758.8%
  
 
WireMock.Util.DictionaryExtensions1001033100%
 
100%
 
WireMock.Util.EnhancedFileSystemWatcher090902650%
 
0%
 
WireMock.Util.FileHelper66122950%
  
50%
  
WireMock.Util.JsonUtils5271871.4%
  
50%
  
WireMock.Util.WireMockList`1104144771.4%
  
50%
  
WireMock.Validation.Check27447113938%
  
35%
  
WireMock.Validation.CoreStrings01212410%
 
 
+ \ No newline at end of file diff --git a/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj index 8bdef473..ede657ca 100644 --- a/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj +++ b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj @@ -3,7 +3,7 @@ Lightweight StandAlone Http Mocking Server for .Net. WireMock.Net.StandAlone - 1.0.3.9 + 1.0.3.10 Stef Heyenrath net452;net46;netstandard1.3;netstandard2.0 true diff --git a/src/WireMock.Net/Http/HttpClientHelper.cs b/src/WireMock.Net/Http/HttpClientHelper.cs index 9309802a..aa0b7476 100644 --- a/src/WireMock.Net/Http/HttpClientHelper.cs +++ b/src/WireMock.Net/Http/HttpClientHelper.cs @@ -1,13 +1,9 @@ using System; -using System.Collections.Generic; -using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using JetBrains.Annotations; -using Newtonsoft.Json; using WireMock.HttpsCertificate; -using WireMock.Util; using WireMock.Validation; namespace WireMock.Http @@ -69,79 +65,14 @@ namespace WireMock.Http var originalUri = new Uri(requestMessage.Url); var requiredUri = new Uri(url); - var httpRequestMessage = new HttpRequestMessage(new HttpMethod(requestMessage.Method), url); - - // Set Body if present - if (requestMessage.BodyAsBytes != null) - { - httpRequestMessage.Content = new ByteArrayContent(requestMessage.BodyAsBytes); - } - else if (requestMessage.BodyAsJson != null) - { - httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(requestMessage.BodyAsJson), requestMessage.BodyEncoding); - } - else if (requestMessage.Body != null) - { - httpRequestMessage.Content = new StringContent(requestMessage.Body, requestMessage.BodyEncoding); - } - - // Overwrite the host header - httpRequestMessage.Headers.Host = requiredUri.Authority; - - // Set headers if present - if (requestMessage.Headers != null) - { - foreach (var header in requestMessage.Headers.Where(header => !string.Equals(header.Key, "HOST", StringComparison.OrdinalIgnoreCase))) - { - // Try to add to request headers. If failed - try to add to content headers - if (!httpRequestMessage.Headers.TryAddWithoutValidation(header.Key, header.Value)) - { - httpRequestMessage.Content?.Headers.TryAddWithoutValidation(header.Key, header.Value); - } - } - } + // Create HttpRequestMessage + var httpRequestMessage = HttpRequestMessageHelper.Create(requestMessage, url); // Call the URL var httpResponseMessage = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseContentRead); - // Create transform response - var responseMessage = new ResponseMessage { StatusCode = (int)httpResponseMessage.StatusCode }; - - // Set both content and response headers, replacing URLs in values - var headers = (httpResponseMessage.Content?.Headers.Union(httpResponseMessage.Headers) ?? Enumerable.Empty>>()).ToArray(); - if (httpResponseMessage.Content != null) - { - var stream = await httpResponseMessage.Content.ReadAsStreamAsync(); - IEnumerable contentTypeHeader = null; - if (headers.Any(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))) - { - contentTypeHeader = headers.First(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentType, StringComparison.OrdinalIgnoreCase)).Value; - } - - var body = await BodyParser.Parse(stream, contentTypeHeader?.FirstOrDefault()); - responseMessage.Body = body.BodyAsString; - responseMessage.BodyAsJson = body.BodyAsJson; - responseMessage.BodyAsBytes = body.BodyAsBytes; - } - - foreach (var header in headers) - { - // If Location header contains absolute redirect URL, and base URL is one that we proxy to, - // we need to replace it to original one. - if (string.Equals(header.Key, HttpKnownHeaderNames.Location, StringComparison.OrdinalIgnoreCase) - && Uri.TryCreate(header.Value.First(), UriKind.Absolute, out Uri absoluteLocationUri) - && string.Equals(absoluteLocationUri.Host, requiredUri.Host, StringComparison.OrdinalIgnoreCase)) - { - var replacedLocationUri = new Uri(originalUri, absoluteLocationUri.PathAndQuery); - responseMessage.AddHeader(header.Key, replacedLocationUri.ToString()); - } - else - { - responseMessage.AddHeader(header.Key, header.Value.ToArray()); - } - } - - return responseMessage; + // Parse httpResponseMessage + return await HttpResponseMessageHelper.Create(httpResponseMessage, requiredUri, originalUri); } } } \ No newline at end of file diff --git a/src/WireMock.Net/Http/HttpRequestMessageHelper.cs b/src/WireMock.Net/Http/HttpRequestMessageHelper.cs new file mode 100644 index 00000000..c4da3b93 --- /dev/null +++ b/src/WireMock.Net/Http/HttpRequestMessageHelper.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Text; +using MimeKit; +using Newtonsoft.Json; + +namespace WireMock.Http +{ + internal static class HttpRequestMessageHelper + { + public static HttpRequestMessage Create(RequestMessage requestMessage, string url) + { + var httpRequestMessage = new HttpRequestMessage(new HttpMethod(requestMessage.Method), url); + + ContentType contentType = null; + if (requestMessage.Headers != null && requestMessage.Headers.ContainsKey(HttpKnownHeaderNames.ContentType)) + { + var value = requestMessage.Headers[HttpKnownHeaderNames.ContentType].FirstOrDefault(); + ContentType.TryParse(value, out contentType); + } + + // Set Body if present + if (requestMessage.BodyAsBytes != null) + { + httpRequestMessage.Content = new ByteArrayContent(requestMessage.BodyAsBytes); + } + else if (requestMessage.BodyAsJson != null) + { + if (contentType != null) + { + var encoding = requestMessage.BodyEncoding ?? Encoding.GetEncoding(contentType.Charset ?? "UTF-8"); + httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(requestMessage.BodyAsJson), encoding, contentType.MimeType); + } + else + { + httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(requestMessage.BodyAsJson), requestMessage.BodyEncoding); + } + } + else if (requestMessage.Body != null) + { + if (contentType != null) + { + var encoding = requestMessage.BodyEncoding ?? Encoding.GetEncoding(contentType.Charset ?? "UTF-8"); + httpRequestMessage.Content = new StringContent(requestMessage.Body, encoding, contentType.MimeType); + } + else + { + httpRequestMessage.Content = new StringContent(requestMessage.Body, requestMessage.BodyEncoding); + } + } + + // Overwrite the host header + httpRequestMessage.Headers.Host = new Uri(url).Authority; + + // Set other headers if present and if not excluded + if (requestMessage.Headers == null || requestMessage.Headers.Count == 0) + { + return httpRequestMessage; + } + + var excludeHeaders = new List { HttpKnownHeaderNames.Host, HttpKnownHeaderNames.ContentLength }; + if (contentType != null) + { + excludeHeaders.Add(HttpKnownHeaderNames.ContentType); + } + + foreach (var header in requestMessage.Headers.Where(h => !excludeHeaders.Contains(h.Key, StringComparer.OrdinalIgnoreCase))) + { + // Try to add to request headers. If failed - try to add to content headers + if (httpRequestMessage.Headers.Contains(header.Key)) + { + continue; + } + + if (!httpRequestMessage.Headers.TryAddWithoutValidation(header.Key, header.Value)) + { + httpRequestMessage.Content.Headers.TryAddWithoutValidation(header.Key, header.Value); + } + } + + return httpRequestMessage; + } + } +} \ No newline at end of file diff --git a/src/WireMock.Net/Http/HttpResponseMessageHelper.cs b/src/WireMock.Net/Http/HttpResponseMessageHelper.cs new file mode 100644 index 00000000..1be9dfd5 --- /dev/null +++ b/src/WireMock.Net/Http/HttpResponseMessageHelper.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Threading.Tasks; +using WireMock.Util; + +namespace WireMock.Http +{ + internal static class HttpResponseMessageHelper + { + public static async Task Create(HttpResponseMessage httpResponseMessage, Uri requiredUri, Uri originalUri) + { + var responseMessage = new ResponseMessage { StatusCode = (int)httpResponseMessage.StatusCode }; + + // Set both content and response headers, replacing URLs in values + var headers = (httpResponseMessage.Content?.Headers.Union(httpResponseMessage.Headers) ?? Enumerable.Empty>>()).ToArray(); + if (httpResponseMessage.Content != null) + { + var stream = await httpResponseMessage.Content.ReadAsStreamAsync(); + IEnumerable contentTypeHeader = null; + if (headers.Any(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))) + { + contentTypeHeader = headers.First(header => string.Equals(header.Key, HttpKnownHeaderNames.ContentType, StringComparison.OrdinalIgnoreCase)).Value; + } + + var body = await BodyParser.Parse(stream, contentTypeHeader?.FirstOrDefault()); + responseMessage.Body = body.BodyAsString; + responseMessage.BodyAsJson = body.BodyAsJson; + responseMessage.BodyAsBytes = body.BodyAsBytes; + } + + foreach (var header in headers) + { + // If Location header contains absolute redirect URL, and base URL is one that we proxy to, + // we need to replace it to original one. + if (string.Equals(header.Key, HttpKnownHeaderNames.Location, StringComparison.OrdinalIgnoreCase) + && Uri.TryCreate(header.Value.First(), UriKind.Absolute, out Uri absoluteLocationUri) + && string.Equals(absoluteLocationUri.Host, requiredUri.Host, StringComparison.OrdinalIgnoreCase)) + { + var replacedLocationUri = new Uri(originalUri, absoluteLocationUri.PathAndQuery); + responseMessage.AddHeader(header.Key, replacedLocationUri.ToString()); + } + else + { + responseMessage.AddHeader(header.Key, header.Value.ToArray()); + } + } + + return responseMessage; + } + } +} \ No newline at end of file diff --git a/src/WireMock.Net/WireMock.Net.csproj b/src/WireMock.Net/WireMock.Net.csproj index 78ee3305..07f26465 100644 --- a/src/WireMock.Net/WireMock.Net.csproj +++ b/src/WireMock.Net/WireMock.Net.csproj @@ -3,8 +3,8 @@ Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape. WireMock.Net - 1.0.3.9 - Alexandre Victoor;Stef Heyenrath + 1.0.3.10 + Stef Heyenrath net452;net46;netstandard1.3;netstandard2.0 true WireMock.Net @@ -49,6 +49,7 @@ + diff --git a/test/WireMock.Net.Tests/FluentMockServerTests.Proxy.cs b/test/WireMock.Net.Tests/FluentMockServerTests.Proxy.cs index e26f4ec3..e031d388 100644 --- a/test/WireMock.Net.Tests/FluentMockServerTests.Proxy.cs +++ b/test/WireMock.Net.Tests/FluentMockServerTests.Proxy.cs @@ -97,7 +97,7 @@ namespace WireMock.Net.Tests Url = _serverForProxyForwarding.Urls[0], SaveMapping = true, SaveMappingToFile = false, - BlackListedHeaders = new[] { "bbb" } + BlackListedHeaders = new[] { "blacklisted" } } }; _server = FluentMockServer.Start(settings); @@ -112,12 +112,14 @@ namespace WireMock.Net.Tests RequestUri = new Uri(_server.Urls[0]), Content = new StringContent("stringContent") }; - requestMessage.Content.Headers.Add("bbb", "test"); + requestMessage.Headers.Add("blacklisted", "test"); + requestMessage.Headers.Add("ok", "ok-value"); await new HttpClient().SendAsync(requestMessage); // then var receivedRequest = _serverForProxyForwarding.LogEntries.First().RequestMessage; - Check.That(receivedRequest.Headers).ContainsKey("bbb"); + Check.That(receivedRequest.Headers).Not.ContainsKey("bbb"); + Check.That(receivedRequest.Headers).ContainsKey("ok"); //var mapping = _server.Mappings.Last(); //var matcher = ((Request)mapping.RequestMatcher).GetRequestMessageMatchers().FirstOrDefault(m => m.Name == "bbb"); diff --git a/test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs b/test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs new file mode 100644 index 00000000..56453bea --- /dev/null +++ b/test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs @@ -0,0 +1,140 @@ +using System; +using System.Collections.Generic; +using System.Text; +using NFluent; +using WireMock.Http; +using WireMock.Util; +using Xunit; + +namespace WireMock.Net.Tests.Http +{ + public class HttpRequestMessageHelperTests + { + private const string ClientIp = "::1"; + + [Fact] + public void HttpRequestMessageHelper_Create() + { + // Assign + var headers = new Dictionary { { "x", new[] { "value-1" } } }; + var body = new BodyData + { + BodyAsString = "hello" + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", ClientIp, body, headers); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(message.Headers.GetValues("x")).ContainsExactly("value-1"); + } + + [Fact] + public async void HttpRequestMessageHelper_Create_Bytes() + { + // Assign + var body = new BodyData + { + BodyAsBytes = Encoding.UTF8.GetBytes("hi") + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "GET", ClientIp, body); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(await message.Content.ReadAsByteArrayAsync()).ContainsExactly(Encoding.UTF8.GetBytes("hi")); + } + + [Fact] + public async void HttpRequestMessageHelper_Create_Json() + { + // Assign + var body = new BodyData + { + BodyAsJson = new { x = 42 } + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "GET", ClientIp, body); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(await message.Content.ReadAsStringAsync()).Equals("{\"x\":42}"); + } + + [Fact] + public async void HttpRequestMessageHelper_Create_Json_With_ContentType_ApplicationJson() + { + // Assign + var headers = new Dictionary { { "Content-Type", new[] { "application/json" } } }; + var body = new BodyData + { + BodyAsJson = new { x = 42 } + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "GET", ClientIp, body, headers); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(await message.Content.ReadAsStringAsync()).Equals("{\"x\":42}"); + Check.That(message.Content.Headers.GetValues("Content-Type")).ContainsExactly("application/json; charset=utf-8"); + } + + [Fact] + public void HttpRequestMessageHelper_Create_String_With_ContentType_ApplicationXml() + { + // Assign + var headers = new Dictionary { { "Content-Type", new[] { "application/xml" } } }; + var body = new BodyData + { + BodyAsString = "hello" + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", ClientIp, body, headers); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(message.Content.Headers.GetValues("Content-Type")).ContainsExactly("application/xml; charset=utf-8"); + } + + [Fact] + public void HttpRequestMessageHelper_Create_String_With_ContentType_ApplicationXml_UTF8() + { + // Assign + var headers = new Dictionary { { "Content-Type", new[] { "application/xml; charset=UTF-8" } } }; + var body = new BodyData + { + BodyAsString = "hello" + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", ClientIp, body, headers); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(message.Content.Headers.GetValues("Content-Type")).ContainsExactly("application/xml; charset=utf-8"); + } + + [Fact] + public void HttpRequestMessageHelper_Create_String_With_ContentType_ApplicationXml_ASCII() + { + // Assign + var headers = new Dictionary { { "Content-Type", new[] { "application/xml; charset=Ascii" } } }; + var body = new BodyData + { + BodyAsString = "hello" + }; + var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", ClientIp, body, headers); + + // Act + var message = HttpRequestMessageHelper.Create(request, "http://url"); + + // Assert + Check.That(message.Content.Headers.GetValues("Content-Type")).ContainsExactly("application/xml; charset=us-ascii"); + } + } +} \ No newline at end of file