public void AlreadyHasBloomPlayerFile_ReplacesIt()
{
var bloomPlayerPath = Path.Combine(Path.GetDirectoryName(_eventualHtmlPath), "bloomPlayer.js");
File.WriteAllText(bloomPlayerPath, "Some initial text in the file");
Assert.True(File.Exists(bloomPlayerPath));
Assert.True(new FileInfo(bloomPlayerPath).Length < 100);
HydrateBookCommand.Handle(new HydrateParameters
{
Path = _bookFolder.FolderPath,
Preset = "app",
VernacularIsoCode = "en"
});
Assert.True(new FileInfo(bloomPlayerPath).Length > 100);
}