# WireMock.Settings.FluentMockServerSettings - Coverage Report

# Summary

Class: | WireMock.Settings.FluentMockServerSettings
Assembly: | WireMock.Net
File(s): | C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\FluentMockServerSettings.cs
Covered lines: | 16
Uncovered lines: | 0
Coverable lines: | 16
Total lines: | 81
Line coverage: | 100%

# Metrics

Method | Cyclomatic complexity | NPath complexity | Sequence coverage | Branch coverage
--- | --- | --- | --- | ---
.ctor() | 1 | 0 | 100 | 100

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | `using JetBrains.Annotations;`
|  | `3` |  | `using Newtonsoft.Json;`
|  | `4` |  | `using WireMock.Logging;`
|  | `5` |  | ``
|  | `6` |  | `namespace WireMock.Settings`
|  | `7` |  | `{`
|  | `8` |  | `/// <summary>`
|  | `9` |  | `/// FluentMockServerSettings`
|  | `10` |  | `/// </summary>`
|  | `11` |  | `public class FluentMockServerSettings : IFluentMockServerSettings`
|  | `12` |  | `{`
|  | `13` |  | `/// <inheritdoc cref="IFluentMockServerSettings.Port"/>`
|  | `14` |  | `[PublicAPI]`
| 133 | `15` |  | `public int? Port { get; set; }`
|  | `16` |  | ``
|  | `17` |  | `/// <inheritdoc cref="IFluentMockServerSettings.UseSSL"/>`
|  | `18` |  | `[PublicAPI]`
|  | `19` |  | `// ReSharper disable once InconsistentNaming`
| 133 | `20` |  | `public bool? UseSSL { get; set; }`
|  | `21` |  | ``
|  | `22` |  | `/// <inheritdoc cref="IFluentMockServerSettings.StartAdminInterface"/>`
|  | `23` |  | `[PublicAPI]`
| 97 | `24` |  | `public bool? StartAdminInterface { get; set; }`
|  | `25` |  | ``
|  | `26` |  | `/// <inheritdoc cref="IFluentMockServerSettings.ReadStaticMappings"/>`
|  | `27` |  | `[PublicAPI]`
| 94 | `28` |  | `public bool? ReadStaticMappings { get; set; }`
|  | `29` |  | ``
|  | `30` |  | `/// <inheritdoc cref="IFluentMockServerSettings.WatchStaticMappings"/>`
|  | `31` |  | `[PublicAPI]`
| 94 | `32` |  | `public bool? WatchStaticMappings { get; set; }`
|  | `33` |  | ``
|  | `34` |  | `/// <inheritdoc cref="IFluentMockServerSettings.ProxyAndRecordSettings"/>`
|  | `35` |  | `[PublicAPI]`
| 98 | `36` |  | `public IProxyAndRecordSettings ProxyAndRecordSettings { get; set; }`
|  | `37` |  | ``
|  | `38` |  | `/// <inheritdoc cref="IFluentMockServerSettings.Urls"/>`
|  | `39` |  | `[PublicAPI]`
| 98 | `40` |  | `public string[] Urls { get; set; }`
|  | `41` |  | ``
|  | `42` |  | `/// <inheritdoc cref="IFluentMockServerSettings.StartTimeout"/>`
|  | `43` |  | `[PublicAPI]`
| 94 | `44` |  | `public int StartTimeout { get; set; } = 10000;`
|  | `45` |  | ``
|  | `46` |  | `/// <inheritdoc cref="IFluentMockServerSettings.AllowPartialMapping"/>`
|  | `47` |  | `[PublicAPI]`
| 94 | `48` |  | `public bool? AllowPartialMapping { get; set; }`
|  | `49` |  | ``
|  | `50` |  | `/// <inheritdoc cref="IFluentMockServerSettings.AdminUsername"/>`
|  | `51` |  | `[PublicAPI]`
| 50 | `52` |  | `public string AdminUsername { get; set; }`
|  | `53` |  | ``
|  | `54` |  | `/// <inheritdoc cref="IFluentMockServerSettings.AdminPassword"/>`
|  | `55` |  | `[PublicAPI]`
| 47 | `56` |  | `public string AdminPassword { get; set; }`
|  | `57` |  | ``
|  | `58` |  | `/// <inheritdoc cref="IFluentMockServerSettings.RequestLogExpirationDuration"/>`
|  | `59` |  | `[PublicAPI]`
| 47 | `60` |  | `public int? RequestLogExpirationDuration { get; set; }`
|  | `61` |  | ``
|  | `62` |  | `/// <inheritdoc cref="IFluentMockServerSettings.MaxRequestLogCount"/>`
|  | `63` |  | `[PublicAPI]`
| 94 | `64` |  | `public int? MaxRequestLogCount { get; set; }`
|  | `65` |  | ``
|  | `66` |  | `/// <inheritdoc cref="IFluentMockServerSettings.PreWireMockMiddlewareInit"/>`
|  | `67` |  | `[PublicAPI]`
|  | `68` |  | `[JsonIgnore]`
| 47 | `69` |  | `public Action<object> PreWireMockMiddlewareInit { get; set; }`
|  | `70` |  | ``
|  | `71` |  | `/// <inheritdoc cref="IFluentMockServerSettings.PostWireMockMiddlewareInit"/>`
|  | `72` |  | `[PublicAPI]`
|  | `73` |  | `[JsonIgnore]`
| 47 | `74` |  | `public Action<object> PostWireMockMiddlewareInit { get; set; }`
|  | `75` |  | ``
|  | `76` |  | `/// <inheritdoc cref="IFluentMockServerSettings.Logger"/>`
|  | `77` |  | `[PublicAPI]`
|  | `78` |  | `[JsonIgnore]`
| 190 | `79` |  | `public IWireMockLogger Logger { get; set; } = new WireMockNullLogger();`
|  | `80` |  | `}`
|  | `81` |  | `}`

# Methods/Properties

Port()
Port(System.Nullable`1<System.Int32>)
UseSSL()
UseSSL(System.Nullable`1<System.Boolean>)
StartAdminInterface()
StartAdminInterface(System.Nullable`1<System.Boolean>)
ReadStaticMappings()
ReadStaticMappings(System.Nullable`1<System.Boolean>)
WatchStaticMappings()
WatchStaticMappings(System.Nullable`1<System.Boolean>)
ProxyAndRecordSettings()
ProxyAndRecordSettings(WireMock.Settings.IProxyAndRecordSettings)
Urls()
Urls(System.String[])
StartTimeout()
StartTimeout(System.Int32)
.ctor()
AllowPartialMapping()
AllowPartialMapping(System.Nullable`1<System.Boolean>)
AdminUsername()
AdminUsername(System.String)
AdminPassword()
AdminPassword(System.String)
RequestLogExpirationDuration()
RequestLogExpirationDuration(System.Nullable`1<System.Int32>)
MaxRequestLogCount()
MaxRequestLogCount(System.Nullable`1<System.Int32>)
PreWireMockMiddlewareInit()
PreWireMockMiddlewareInit(System.Action`1<System.Object>)
PostWireMockMiddlewareInit()
PostWireMockMiddlewareInit(System.Action`1<System.Object>)
Logger()
Logger(WireMock.Logging.IWireMockLogger)