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

            Assert.That(processName, Is.EqualTo(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         = TrackingResolver.Create(MessageMock.Object);
            var processName = sut.ResolveProcessName();

            Assert.That(processName, Is.EqualTo(name));

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