public void GetAllExtraListings_ExtraListingsReturned() { ICollection <string> filesToMake = new List <string> { @"Chapter01\Listing01.01A.SpecifyingLiteralValues.cs", @"Chapter02\Listing02.01B.Something.cs", @"Chapter02\Listing02.02.cs", @"Chapter02\Listing02.03C.cs" }; CreatedDirectories.Add("Chapter01"); CreatedDirectories.Add("Chapter02"); ICollection <string> expectedFiles = filesToMake; expectedFiles.Remove(@"Chapter02\Listing02.02.cs"); expectedFiles = ConvertFilenamesToFullPath(expectedFiles); WriteFiles(filesToMake); var extraListings = ListingManager.GetAllExtraListings(Environment.CurrentDirectory).ToList(); CollectionAssert.AreEquivalent((ICollection)expectedFiles, (ICollection)extraListings); }