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

GetInitialStorageWithCustomHead() private method

private GetInitialStorageWithCustomHead ( string head ) : BookStorage
head string
return Bloom.Book.BookStorage
        private BookStorage GetInitialStorageWithCustomHead(string head)
        {
            File.WriteAllText(_bookPath, "<html><head>" + head + " </head></body></html>");
            var storage = new BookStorage(_folder.Path, _fileLocator, new BookRenamedEvent(), new CollectionSettings());
            storage.Save();
            return storage;
        }