BloomTests.Book.BookCopyrightAndLicenseTests.GetMetadata C# (CSharp) Method

GetMetadata() private static method

private static GetMetadata ( string dataDivContent ) : Metadata
dataDivContent string
return Metadata
		private static Metadata GetMetadata(string dataDivContent)
		{
			var dom = MakeDom(dataDivContent);
			//normally, the branding is just a name, which we look up in the official branding folder
			//but in order to allow unit tests to test particular contents of it, we also allow
			//it to be a path to a constructed branding folder.
			//These unit tests can then write to a temp file and point to that.
			return BookCopyrightAndLicense.GetMetadata(dom, _brandingFolder.Path);
		}
BookCopyrightAndLicenseTests