Exemple #1
0
                public void Should_Return_New_Collection_When_Removing_Paths()
                {
                    // Given
                    var collection = new FilePathCollection(new FilePath[] { "A.txt", "B.txt", "C.txt" }, new PathComparer(false));

                    // When
                    var result = collection - new FilePath[] { "B.txt", "C.txt" };

                    // Then
                    collection.ShouldNotBeSameAs(result);
                }