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>()))
45
var provider = new WindowsSnapshotProvider(_fakeLogger,
_meterFactoryMock
.Object, _options);
57
var provider = new WindowsSnapshotProvider(_fakeLogger,
_meterFactoryMock
.Object, _options);
66
var provider = new WindowsSnapshotProvider(_fakeLogger,
_meterFactoryMock
.Object, _options);