public void Parse_UsesDefaultManifestNameForManifest() { // Arrange var assembly = new TestAssembly( TestEntry.Directory("unused", TestEntry.File("sample.txt"))); // Act var manifest = ManifestParser.Parse(assembly); // Assert Assert.NotNull(manifest); }
public void Parse_FindsManifestWithCustomName() { // Arrange var assembly = new TestAssembly( TestEntry.Directory("unused", TestEntry.File("sample.txt")), manifestName: "Manifest.xml"); // Act var manifest = ManifestParser.Parse(assembly, "Manifest.xml"); // Assert Assert.NotNull(manifest); }