using Workflow.Domain.Common;
namespace BuildFlow.Workflow.Tests.Notification;
///
/// 测试用 no-op 平台通知发布器:转发逻辑由 Host 层实现,单元测试无需真实推送,
/// 此实现空跑返回 0,避免 NotificationService 构造依赖阻断。
///
internal sealed class NoOpPlatformNotificationPublisher : IPlatformNotificationPublisher
{
public Task PublishAsync(
string type, string title, string content, string source,
string? relatedId, string? relatedType,
IEnumerable recipientUserIds, CancellationToken ct = default)
=> Task.FromResult(0);
}