Files
Heimdall/tests/Heimdall.Infrastructure.Tests/MdnsProbeServiceTests.cs
T

21 lines
629 B
C#
Raw Normal View History

using Heimdall.Infrastructure.Services.Discovery;
using Heimdall.Mdns;
using Microsoft.Extensions.Logging;
using NSubstitute;
using Shouldly;
namespace Heimdall.Infrastructure.Tests;
public class MdnsProbeServiceTests
{
private readonly ILogger<MdnsProbeService> _logger = Substitute.For<ILogger<MdnsProbeService>>();
private readonly IMdnsClient _mdnsClient = Substitute.For<IMdnsClient>();
[Fact]
public void Constructor_CreatesService()
{
var service = new MdnsProbeService(Substitute.For<IMdnsClient>(), Substitute.For<ILogger<MdnsProbeService>>());
service.ShouldNotBeNull();
}
}