BloomTests.Collection.CollectionSettingsTests.PageNumberStyle_NotInFile C# (CSharp) Method

PageNumberStyle_NotInFile() private method

private PageNumberStyle_NotInFile ( ) : void
return void
        public void PageNumberStyle_NotInFile()
        {
            var bloomCollectionFileContents =
            @"<?xml version=""1.0"" encoding=""utf-8""?>
            <Collection version=""0.2"">
            </Collection>";
            const string collectionName = "test";
            var collectionPath = CollectionSettings.GetPathForNewSettings(_folder.Path, collectionName);
            Directory.CreateDirectory(Path.GetDirectoryName(collectionPath));
            RobustFile.WriteAllText(collectionPath, bloomCollectionFileContents);
            var settings = CreateCollectionSettings(_folder.Path, collectionName);
            Assert.AreEqual("Decimal", settings.PageNumberStyle,
                "If the bloomCollection has no value for numbering style, assume 'decimal'");
        }