public void GetLicenseMetadata_HasCCLicenseURLWithIGOQualifier_ConvertedToFulCCLicenseObject()
{
//nb: the real testing is done on the palaso class that does the reading, this is just a quick sanity check
string dataDivContent = @"<div lang='en' data-book='licenseUrl'>http://creativecommons.org/licenses/by/3.0/igo</div>";
var creativeCommonsLicense = (CreativeCommonsLicense)(GetMetadata(dataDivContent).License);
Assert.IsTrue(creativeCommonsLicense.AttributionRequired);
Assert.IsTrue(creativeCommonsLicense.CommercialUseAllowed);
Assert.IsTrue(creativeCommonsLicense.IntergovernmentalOriganizationQualifier);
}
[Test]