remove nfluent

This commit is contained in:
Stef Heyenrath
2026-02-26 22:02:54 +01:00
parent c4c8ad3fa9
commit 62d0b0db5b
142 changed files with 899 additions and 1020 deletions

View File

@@ -1,6 +1,5 @@
// Copyright © WireMock.Net
using NFluent;
using WireMock.Admin.Mappings;
using WireMock.Matchers;
@@ -18,7 +17,7 @@ public class XPathMatcherTests
string name = matcher.Name;
// Assert
Check.That(name).Equals("XPathMatcher");
name.Should().Be("XPathMatcher");
}
[Fact]
@@ -31,7 +30,7 @@ public class XPathMatcherTests
var patterns = matcher.GetPatterns();
// Assert
Check.That(patterns).ContainsExactly("X");
patterns.Should().ContainSingle("X");
}
[Fact]
@@ -48,7 +47,7 @@ public class XPathMatcherTests
double result = matcher.IsMatch(xml).Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -80,7 +79,7 @@ public class XPathMatcherTests
double result = matcher.IsMatch(input).Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -113,7 +112,7 @@ public class XPathMatcherTests
double result = matcher.IsMatch(input).Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -130,6 +129,6 @@ public class XPathMatcherTests
double result = matcher.IsMatch(xml).Score;
// Assert
Check.That(result).IsEqualTo(0.0);
result.Should().Be(0.0);
}
}
}