tests: stub out handler tests
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user