public void SetUpFixture() { _mockedPiwikServer = FluentMockServer.Start(new FluentMockServerSettings { Urls = new[] { PiwikBaseUrl }, StartAdminInterface = true, ReadStaticMappings = true, WatchStaticMappings = true, PreWireMockMiddlewareInit = app => { System.Console.WriteLine($"PreWireMockMiddlewareInit : {app.GetType()}"); }, PostWireMockMiddlewareInit = app => { System.Console.WriteLine($"PostWireMockMiddlewareInit : {app.GetType()}"); }, Logger = new WireMockConsoleLogger(), }); _mockedPiwikServer.AllowPartialMapping(); this.CreateAllGetOkRequestBehavior(); this.CreateAllPostOkRequestBehavior(); }