diff --git a/src/WireMock.Net.StandAlone/StandAloneApp.cs b/src/WireMock.Net.StandAlone/StandAloneApp.cs index 0c8cf1ce3..c45e4e242 100644 --- a/src/WireMock.Net.StandAlone/StandAloneApp.cs +++ b/src/WireMock.Net.StandAlone/StandAloneApp.cs @@ -17,7 +17,7 @@ public static class StandAloneApp /// /// The FluentMockServerSettings [PublicAPI] - public static WireMockServer Start([NotNull] FluentMockServerSettings settings) + public static WireMockServer Start([NotNull] IWireMockServerSettings settings) { Check.NotNull(settings, nameof(settings)); @@ -38,7 +38,7 @@ public static WireMockServer Start([NotNull] string[] args, [CanBeNull] IWireMoc { Check.NotNull(args, nameof(args)); - var settings = (FluentMockServerSettings) WireMockServerSettingsParser.ParseArguments(args); + var settings = WireMockServerSettingsParser.ParseArguments(args); settings.Logger.Debug("WireMock.Net server arguments [{0}]", string.Join(", ", args.Select(a => $"'{a}'")));