tests: stub out handler tests

This commit is contained in:
Stevan Freeborn
2025-05-23 15:38:07 -05:00
parent 30bac05ced
commit e5dec58274
@@ -1055,6 +1055,12 @@ public sealed class DiscordGatewayClientTests : IDisposable
act.Should().Throw<ArgumentNullException>(); act.Should().Throw<ArgumentNullException>();
} }
[Fact]
public Task On_WhenCalledWithValidEventAndHandler_ItShouldSubscribeHandlerToEvent()
{
throw new NotImplementedException();
}
[Fact] [Fact]
public void Off_WhenCalledWithInvalidEvent_ItShouldThrowException() public void Off_WhenCalledWithInvalidEvent_ItShouldThrowException()
{ {
@@ -1070,6 +1076,12 @@ public sealed class DiscordGatewayClientTests : IDisposable
act.Should().Throw<ArgumentNullException>(); act.Should().Throw<ArgumentNullException>();
} }
[Fact]
public Task Off_WhenCalledWithValidEventAndHandler_ItShouldUnsubscribeHandlerFromEvent()
{
throw new NotImplementedException();
}
private static void SetupReceiveMessageSequence( private static void SetupReceiveMessageSequence(
Mock<IWebSocket> mockWebSocket, Mock<IWebSocket> mockWebSocket,
Queue<(WebSocketReceiveResult, byte[])> messageQueue Queue<(WebSocketReceiveResult, byte[])> messageQueue