17 lines
459 B
C#
17 lines
459 B
C#
using GmRelay.Shared.Domain;
|
|
|
|
namespace GmRelay.Bot.Tests.Domain;
|
|
|
|
public sealed class SessionNotificationModeTests
|
|
{
|
|
[Theory]
|
|
[InlineData(SessionNotificationMode.GroupAndDirect, true)]
|
|
[InlineData(SessionNotificationMode.GroupOnly, false)]
|
|
public void ShouldSendDirectMessages_ReturnsExpectedDecision(
|
|
SessionNotificationMode mode,
|
|
bool expected)
|
|
{
|
|
Assert.Equal(expected, mode.ShouldSendDirectMessages());
|
|
}
|
|
}
|