BloomTests.Book.BookStorageTests.GetInitialStorageWithCustomHtml C# (CSharp) Method

GetInitialStorageWithCustomHtml() private method

private GetInitialStorageWithCustomHtml ( string html ) : BookStorage
html string
return Bloom.Book.BookStorage
        private BookStorage GetInitialStorageWithCustomHtml(string html)
        {
            RobustFile.WriteAllText(_bookPath, html);
            var projectFolder = new TemporaryFolder("BookStorageTests_ProjectCollection");
            var collectionSettings = new CollectionSettings(Path.Combine(projectFolder.Path, "test.bloomCollection"));
            var storage = new BookStorage(_folder.Path, _fileLocator, new BookRenamedEvent(), collectionSettings);
            storage.Save();
            return storage;
        }