d373ff49ba
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
637 B
C#
22 lines
637 B
C#
using GmRelay.DiscordBot.Infrastructure.Discord;
|
|
using GmRelay.Shared.Platform;
|
|
using GmRelay.Shared.Rendering;
|
|
|
|
namespace GmRelay.Bot.Tests.Discord;
|
|
|
|
public sealed class DiscordPlatformMessengerTests
|
|
{
|
|
[Fact]
|
|
public void Constructor_ShouldAcceptRestClient()
|
|
{
|
|
var constructor = typeof(DiscordPlatformMessenger).GetConstructor(new[] { typeof(NetCord.Rest.RestClient) });
|
|
Assert.NotNull(constructor);
|
|
}
|
|
|
|
[Fact]
|
|
public void DiscordPlatformMessenger_ShouldImplementIPlatformMessenger()
|
|
{
|
|
Assert.True(typeof(IPlatformMessenger).IsAssignableFrom(typeof(DiscordPlatformMessenger)));
|
|
}
|
|
}
|