RejectOnMatch (wip)

This commit is contained in:
Stef Heyenrath
2018-05-06 10:40:42 +02:00
parent e7319a202a
commit ca5056aed3
10 changed files with 35 additions and 7 deletions

View File

@@ -32,6 +32,18 @@ namespace WireMock.Net.Tests.Matchers
Check.That(patterns).ContainsExactly("X");
}
[Fact]
public void RegexMatcher_GetIgnoreCase()
{
// Act
bool case1 = new RegexMatcher("X").IgnoreCase;
bool case2 = new RegexMatcher("X", true).IgnoreCase;
// Assert
Check.That(case1).IsFalse();
Check.That(case2).IsTrue();
}
[Fact]
public void RegexMatcher_IsMatch()
{