public void ResolveProcessNameToUnidentified()
        {
            var sut         = ProcessNameResolver.Create(MessageMock.Object);
            var processName = sut.ResolveProcessName();

            processName.Should().Be(Default.Processes.Unidentified);

            MessageMock.Verify(m => m.SetProperty(TrackingProperties.ProcessName, Default.Processes.Unidentified), Times.Never());
        }
        public void ResolveProcessNameViaContext()
        {
            const string name = "context-process-name";

            MessageMock.Setup(m => m.GetProperty(TrackingProperties.ProcessName)).Returns(name);

            var sut         = ProcessNameResolver.Create(MessageMock.Object);
            var processName = sut.ResolveProcessName();

            processName.Should().Be(name);

            MessageMock.Verify(m => m.SetProperty(TrackingProperties.ProcessName, name), Times.Never());
        }