public void CreateListAddField()
{
if (!ContextSharePoint.VerifyServer(Site)) Assert.Inconclusive();
var contentType = new ContentType(Site.RootWeb, this.Logger, "TESTHELLO", "TEST", "Elemento");
contentType.Create(string.Empty);
ListSharePoint = new ListSharePoint(Site.RootWeb, Logger, "LISTATEST");
Assert.IsTrue(ListSharePoint.Create("descripcion", ListTemplateType.Contacts, true));
var siteColumn = new Entities.Artefacts.SiteColumn(new ParamsSiteColumnBaseExtended
{
AddPrefix = false,
FieldType = SPFieldType.Text,
Group = "Lista",
Logger = this.Logger,
MultiValue = false,
Name = "Field1",
Requiered = true,
Web = Site.RootWeb
});
Assert.IsTrue(ListSharePoint.AddField(siteColumn));
Assert.IsTrue(ListSharePoint.DeleteField(siteColumn));
Assert.IsTrue(ListSharePoint.Delete());
}