1 write to _meterFactoryMock
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Windows\WindowsSnapshotProviderTests.cs (1)
35_meterFactoryMock = new Mock<IMeterFactory>();
4 references to _meterFactoryMock
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
Windows\WindowsSnapshotProviderTests.cs (4)
36_meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 45var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options); 57var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options); 66var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options);