public void Setup()
{
_testFolder = new TemporaryFolder("hydration test");
_bookFolder = new TemporaryFolder(_testFolder,"original name");
_originalHtmlPath = _bookFolder.Combine("original name.html");
File.WriteAllText(_originalHtmlPath,
@"<html><head></head><body>
<div id='bloomDataDiv'>
<div data-book='bookTitle' lang='en'>
mudmen
</div>
<div data-book='topic' lang='en'>
Story Book
</div>
<div data-book='copyright' lang='*'>
Copyright © 2016, Joe Author
</div>
<div data-book='licenseUrl' lang='*'>
http://creativecommons.org/licenses/by/4.0/
</div>
<div data-book='originalAcknowledgments' lang='en'>
Some Acknowledgments
</div>
<div data-book-attributes='frontCover' data-backgroundaudio='audio/SoundTrack1.mp3' data-backgroundaudiovolume='0.17'></div>
</div>
<div id ='firstPage' class='bloom-page A5Landscape'>1st page</div>
</body></html>");
//NOTE: At the moment, if the bookTitle of the selected vernacular language does not match
//the name of the file and folder, the hydration process will rename the book's folder and file,
//just like opening it in Bloom does. At the moment, we set the name of the folder/file to be
//the same as the title in the requested vernacular, so it isn't an issue. But further tests
//could make it an issue. For now, these are the same:
//_eventualHtmlPath = _testFolder.Combine("mudmen", "mudmen.htm");
//decided that allowing a new name is just going to confuse the programs using this CLI, so
//let's expect the program to NOT change the names for now.
_eventualHtmlPath = _testFolder.Combine("original name", "original name.html");
}