WireMock.Net.RestClient.AwesomeAssertions (#1427)

* WireMock.Net.RestClient.AwesomeAssertions

* ok

* atpath

* fix test

* sonar fixes

* ports
This commit is contained in:
Stef Heyenrath
2026-02-22 10:12:32 +01:00
committed by GitHub
parent d8353fcd94
commit 06b5a7ab84
30 changed files with 2265 additions and 94 deletions
@@ -11,8 +11,6 @@ internal class WebSocketMessageBuilder : IWebSocketMessageBuilder
public byte[]? MessageBytes { get; private set; }
public object? MessageData { get; private set; }
public TimeSpan? Delay { get; private set; }
public WebSocketMessageType Type { get; private set; }
@@ -41,7 +39,7 @@ internal class WebSocketMessageBuilder : IWebSocketMessageBuilder
public IWebSocketMessageBuilder WithDelay(int delayInMilliseconds)
{
Guard.Condition(delayInMilliseconds, d => d >= 0, nameof(delayInMilliseconds));
Guard.Condition(delayInMilliseconds, d => d >= 0);
return WithDelay(TimeSpan.FromMilliseconds(delayInMilliseconds));
}