public void can_retrieve_data_from_package() { var text = "not the right thing"; thePackage.ForFiles(BottleFiles.DataFolder, "1.txt", (name, data) => { name.ShouldEqual("1.txt".ToFormat(Path.DirectorySeparatorChar)); text = new StreamReader(data).ReadToEnd(); }); // The text of this file in the AssemblyPackage data is just "1" text.ShouldEqual("1"); }