Comprehensive NUnit test suite covering ChannelManager, CliChannel, TelegramChannel, DI registration, and integration scenarios. Uses Moq for mocking with test stubs for isolated unit testing.
12 lines
259 B
C#
12 lines
259 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Luna.Channels.Tests.Stubs;
|
|
|
|
public static class ServiceCollectionExtensionsStub
|
|
{
|
|
extension(IServiceCollection services)
|
|
{
|
|
public IServiceCollection AddChannels() => services;
|
|
}
|
|
}
|