mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-24 17:06:55 +02:00
Updated Using WireMock in UnitTests (markdown)
@@ -31,8 +31,8 @@ public async void Should_respond_to_request()
|
||||
// then
|
||||
Check.That(response).IsEqualTo(EXPECTED_RESULT);
|
||||
|
||||
// and optionnaly
|
||||
Check.That(_server.SearchLogsFor(Request.WithUrl("/error*")).IsEmpty();
|
||||
// and optionally
|
||||
Check.That(_server.FindLogEntries(Request.WithUrl("/error*")).IsEmpty();
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
|
||||
Reference in New Issue
Block a user