public void GetMissingSource()
        {
            // Given
            TestTestResult testResult = new TestTestResult();

            // When
            string source = LoggerQueue.GetSource(new[] { testResult });

            // Then
            source.ShouldBeNull();
        }
        public void GetSourceWithExtension()
        {
            // Given
            TestTestResult testResult = new TestTestResult
            {
                Source = "/a/b/Foo.Bar.dll"
            };

            // When
            string source = LoggerQueue.GetSource(new[] { testResult });

            // Then
            source.ShouldBe("Foo.Bar");
        }