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
|
// then
|
||||||
Check.That(response).IsEqualTo(EXPECTED_RESULT);
|
Check.That(response).IsEqualTo(EXPECTED_RESULT);
|
||||||
|
|
||||||
// and optionnaly
|
// and optionally
|
||||||
Check.That(_server.SearchLogsFor(Request.WithUrl("/error*")).IsEmpty();
|
Check.That(_server.FindLogEntries(Request.WithUrl("/error*")).IsEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
[TearDown]
|
[TearDown]
|
||||||
|
|||||||
Reference in New Issue
Block a user