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

SetMetadata_CustomLicense_LicenseImageSrcAndAltAreEmpty() private method

		public void SetMetadata_CustomLicense_LicenseImageSrcAndAltAreEmpty()
		{
			TestSetLicenseMetdataEffectOnDataDiv(new Metadata()
			{
				CopyrightNotice = "foo",
				License = new CustomLicense()
			},
			startingPageContent: "<img data-derived='licenseImage' lang='*' alt='This picture, license.png, is missing or was loading too slowly.'>license.png</img>",
			xpath: "//img[@data-derived='licenseImage' and (not(@alt) or @alt='') and @src='']",
			expectedCount: 1);
		}
		private  HtmlDom TestSetLicenseMetdataEffectOnDataDiv(Metadata metadata = null, string startingDataDivContent = "", string startingPageContent = "", string xpath = "", int expectedCount = 1)
BookCopyrightAndLicenseTests