using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EnvelopeGenerator.Tests.Application; [TestFixture] public class DocumentStatusServiceTests { private IHost _host; [SetUp] public void SetUp() { _host = Mock.CreateHost(); } [TearDown] public void TearDown() { _host.StopAsync(); _host.Dispose(); } }