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

GetLicenseMetadata_HasOnlyCopyrightAndLicenseNotes_IsCustomLicense() private method

		public void GetLicenseMetadata_HasOnlyCopyrightAndLicenseNotes_IsCustomLicense()
		{
			string dataDivContent = @"<div lang='en' data-book='licenseNotes'>my custom</div>
					<div data-book='copyright' class='bloom-content1'>Copyright © 2012, test</div>";
			Assert.IsTrue(GetMetadata(dataDivContent).License is CustomLicense);
		}
BookCopyrightAndLicenseTests