public void CtorTest1() { ContentWrapperAttribute attr = new ContentWrapperAttribute(typeof(ValueSerializer)); Assert.AreEqual("ValueSerializer", attr.ContentWrapper.Name); attr = new ContentWrapperAttribute(null); Assert.IsNull(attr.ContentWrapper); }
public void TypeId() { ContentWrapperAttribute attr = new ContentWrapperAttribute(typeof(ValueSerializer)); Assert.AreSame(attr, attr.TypeId); }