mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 18:28:27 +02:00
x
This commit is contained in:
@@ -17,7 +17,7 @@ public class RequestBuilderUsingMethodTests
|
||||
// Assert
|
||||
var matchers = requestBuilder.GetPrivateFieldValue<IList<IRequestMatcher>>("_requestMatchers");
|
||||
matchers.Count.Should().Be(1);
|
||||
((matchers[0] as RequestMessageMethodMatcher).Methods).Should().ContainSingle("CONNECT");
|
||||
(matchers[0] as RequestMessageMethodMatcher).Methods.Should().ContainSingle("CONNECT");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -29,7 +29,7 @@ public class RequestBuilderUsingMethodTests
|
||||
// Assert
|
||||
var matchers = requestBuilder.GetPrivateFieldValue<IList<IRequestMatcher>>("_requestMatchers");
|
||||
matchers.Count.Should().Be(1);
|
||||
((matchers[0] as RequestMessageMethodMatcher).Methods).Should().ContainSingle("OPTIONS");
|
||||
(matchers[0] as RequestMessageMethodMatcher).Methods.Should().ContainSingle("OPTIONS");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -41,7 +41,7 @@ public class RequestBuilderUsingMethodTests
|
||||
// Assert
|
||||
var matchers = requestBuilder.GetPrivateFieldValue<IList<IRequestMatcher>>("_requestMatchers");
|
||||
matchers.Count.Should().Be(1);
|
||||
((matchers[0] as RequestMessageMethodMatcher).Methods).Should().ContainSingle("PATCH");
|
||||
(matchers[0] as RequestMessageMethodMatcher).Methods.Should().ContainSingle("PATCH");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -53,7 +53,7 @@ public class RequestBuilderUsingMethodTests
|
||||
// Assert
|
||||
var matchers = requestBuilder.GetPrivateFieldValue<IList<IRequestMatcher>>("_requestMatchers");
|
||||
matchers.Count.Should().Be(1);
|
||||
((matchers[0] as RequestMessageMethodMatcher).Methods).Should().ContainSingle("TRACE");
|
||||
(matchers[0] as RequestMessageMethodMatcher).Methods.Should().ContainSingle("TRACE");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user