This commit is contained in:
Stef Heyenrath
2026-02-14 12:35:15 +01:00
parent b172f700e0
commit c24f2396ff
111 changed files with 152 additions and 183 deletions

View File

@@ -2,7 +2,7 @@
using System.Net;
using System.Net.Http;
using FluentAssertions;
using AwesomeAssertions;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using WireMock.Server;
@@ -65,7 +65,8 @@ namespace WireMock.Net.Tests.ResponseBuilders
);
// Act
var response = await new HttpClient().GetStringAsync("http://localhost:" + server.Ports[0] + "/v1/content");
using var httpClient = new HttpClient();
var response = await httpClient.GetStringAsync("http://localhost:" + server.Ports[0] + "/v1/content");
// Assert
response.Should().Contain("<hello>world</hello>");

View File

@@ -1,7 +1,7 @@
// Copyright © WireMock.Net
using System.Text;
using FluentAssertions;
using AwesomeAssertions;
using JsonConverter.Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Moq;

View File

@@ -2,7 +2,7 @@
using System.Net;
using System.Text;
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using NFluent;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using WireMock.Models;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using Newtonsoft.Json.Linq;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using HandlebarsDotNet;
using Microsoft.AspNetCore.Http;
using Moq;

View File

@@ -1,7 +1,7 @@
// Copyright © WireMock.Net
using System.Text;
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using Newtonsoft.Json;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using HandlebarsDotNet;
using Microsoft.AspNetCore.Http;
using Moq;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using Newtonsoft.Json.Linq;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using NFluent;

View File

@@ -4,7 +4,7 @@
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;

View File

@@ -1,6 +1,6 @@
// Copyright © WireMock.Net
using FluentAssertions;
using AwesomeAssertions;
using NFluent;
using WireMock.Models;
using WireMock.ResponseBuilders;

View File

@@ -1,7 +1,7 @@
// Copyright © WireMock.Net
using System.Net;
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using WireMock.Models;

View File

@@ -2,7 +2,7 @@
using System.Globalization;
using System.Text;
using FluentAssertions;
using AwesomeAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using Newtonsoft.Json;