public void ReturnsTrueWhenNoModules()
        {
            var comparer = new PowerShellModuleSnapshotComparer(path => new string[0]);

            Assert.True(comparer.AreEquivalent("SnapshotX", "SnapshotY", _mockLogger.Object));
            Assert.True(comparer.AreEquivalent("SnapshotY", "SnapshotX", _mockLogger.Object));
        }
        public void ReturnsTrueWhenSameModuleVersions(params string[] subdirStrings)
        {
            var subdirs  = ParseTestSubdirectories(subdirStrings);
            var comparer = new PowerShellModuleSnapshotComparer(path => subdirs[path]);

            Assert.True(comparer.AreEquivalent("SnapshotX", "SnapshotY", _mockLogger.Object));
            Assert.True(comparer.AreEquivalent("SnapshotY", "SnapshotX", _mockLogger.Object));
        }