This commit is contained in:
Stef Heyenrath
2019-11-19 18:54:28 +01:00
parent 9b3c750754
commit 9b323ab388
4 changed files with 86 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ namespace WireMock.ResponseBuilders
/// WithBody : Create a fault response.
/// </summary>
/// <param name="faultType">The FaultType.</param>
/// <param name="percentage">The percentage when this fault should occur. When null, it's always.</param>
/// <param name="percentage">The percentage when this fault should occur. When null, it's always a fault.</param>
/// <returns>A <see cref="IResponseBuilder"/>.</returns>
IResponseBuilder WithFault(FaultType faultType, [CanBeNull] double? percentage = null);
}