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

GetLicenseMetadata_HasOnlyCopyrightAndDescription_IsNullLicense() private method

		public void GetLicenseMetadata_HasOnlyCopyrightAndDescription_IsNullLicense()
		{
			//nb: the real testing is done on the palaso class that does the reading, this is just a quick sanity check
			var dataDivContent = @"<div lang='en' data-book='licenseDescription'>This could say anything</div>
			<div data-book='copyright' class='bloom-content1'>Copyright © 2012, test</div>";
			Assert.IsTrue(GetMetadata(dataDivContent).License is NullLicense);
		}
BookCopyrightAndLicenseTests