mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-26 03:11:56 +01:00
Generate C# code from Mapping (#842)
* 1 * . * v * . * . * - * b * res b * Fix UT * . * Verify * v * ... * . * . * dir * m
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
Request: {
|
||||
ClientIP: ::1,
|
||||
Path: /,
|
||||
AbsolutePath: /,
|
||||
Url: http://localhost/,
|
||||
AbsoluteUrl: http://localhost/,
|
||||
Method: post,
|
||||
BodyAsBytes: AA==,
|
||||
DetectedBodyType: Bytes
|
||||
},
|
||||
Response: {
|
||||
BodyAsBytes: AA==,
|
||||
DetectedBodyType: Bytes
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
Request: {
|
||||
ClientIP: ::1,
|
||||
Path: /,
|
||||
AbsolutePath: /,
|
||||
Url: http://localhost/,
|
||||
AbsoluteUrl: http://localhost/,
|
||||
Method: get
|
||||
},
|
||||
Response: {
|
||||
BodyAsFile: test,
|
||||
DetectedBodyType: File
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
Request: {
|
||||
ClientIP: ::1,
|
||||
Path: /,
|
||||
AbsolutePath: /,
|
||||
Url: http://localhost/,
|
||||
AbsoluteUrl: http://localhost/,
|
||||
Method: post,
|
||||
BodyAsBytes: AA==,
|
||||
DetectedBodyType: Bytes
|
||||
},
|
||||
Response: {
|
||||
Body: Func<IRequestMessage, string>,
|
||||
DetectedBodyType: String
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
Request: {
|
||||
ClientIP: ::1,
|
||||
Path: /,
|
||||
AbsolutePath: /,
|
||||
Url: http://localhost/,
|
||||
AbsoluteUrl: http://localhost/,
|
||||
Method: get
|
||||
},
|
||||
Response: {
|
||||
BodyAsFile: test,
|
||||
DetectedBodyType: File,
|
||||
FaultType: EMPTY_RESPONSE,
|
||||
FaultPercentage: 0.5
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user