1 write to _hostMock
Microsoft.Extensions.Telemetry.Tests (1)
Enrichment\ApplicationLogEnricherTests.cs (1)
25
_hostMock
= new Mock<IHostEnvironment>(MockBehavior.Strict);
4 references to _hostMock
Microsoft.Extensions.Telemetry.Tests (4)
Enrichment\ApplicationLogEnricherTests.cs (4)
26
_hostMock
.SetupGet(c => c.EnvironmentName).Returns(EnvironmentName);
27
_hostMock
.SetupGet(c => c.ApplicationName).Returns(AppName);
70
ApplicationName =
_hostMock
.Object.ApplicationName,
71
EnvironmentName =
_hostMock
.Object.EnvironmentName