public void DeepCopy() { var m = new Metadata(); m.License = new CreativeCommonsLicense(true, true, CreativeCommonsLicense.DerivativeRules. DerivativesWithShareAndShareAlike); Metadata copy = m.DeepCopy(); Assert.AreEqual(m.License.Url,copy.License.Url); }