mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-01 06:33:11 +02:00
Refactor: extract interfaces (#484)
* . * MatchDetail * rm * resp * log * f
This commit is contained in:
@@ -10,7 +10,7 @@ namespace WireMock.Serialization
|
||||
{
|
||||
internal static class LogEntryMapper
|
||||
{
|
||||
public static LogEntryModel Map(LogEntry logEntry)
|
||||
public static LogEntryModel Map(ILogEntry logEntry)
|
||||
{
|
||||
var logRequestModel = new LogRequestModel
|
||||
{
|
||||
@@ -124,7 +124,7 @@ namespace WireMock.Serialization
|
||||
};
|
||||
}
|
||||
|
||||
private static LogRequestMatchModel Map(RequestMatchResult matchResult)
|
||||
private static LogRequestMatchModel Map(IRequestMatchResult matchResult)
|
||||
{
|
||||
if (matchResult == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user