public void Test_CompareTo_Different_Projects()
        {
            // Arrange.
            var discoverer = Mock.Of <ITestContainerDiscoverer>();

            var project = Mock.Of <IVsProject>();

            projects[project] = Mock.Of <IProjectInfo>(p => p.File == new FileInfo("Project1"));

            var otherProject = Mock.Of <IVsProject>();

            projects[otherProject] = Mock.Of <IProjectInfo>(p => p.File == new FileInfo("Project2"));

            using (var script = new TemporaryFile().Touch())
            {
                var container = new PowerShellTestContainer(
                    discoverer, script.File.FullName, project);

                var otherContainer = new PowerShellTestContainer(
                    discoverer, script.File.FullName, otherProject);

                // Act.
                int result = container.CompareTo(otherContainer);

                // Assert.
                Assert.NotEqual(0, result);
            }
        }
        public void Test_CompareTo_Null()
        {
            // Arrange.
            var discoverer = Mock.Of <ITestContainerDiscoverer>();
            var project    = Mock.Of <IVsProject>();

            projects[project] = Mock.Of <IProjectInfo>();

            using (var script = new TemporaryFile().Touch())
            {
                var container = new PowerShellTestContainer(
                    discoverer, script.File.FullName, project);

                // Act.
                int result = container.CompareTo(null);

                // Assert.
                Assert.Equal(-1, result);
            }
        }