public void Create_Creates_List_With_Custom_Fields_Test()
        {
            using (var factory = WebFactory.Open(_webUrl))
            {
                IQueryList <Item> list1;
                try
                {
                    list1 = factory.Create <Item>("ListForLookup");
                }
                catch (SPException)
                {
                    list1 = factory.GetByName <Item>("ListForLookup");
                }
                IQueryList <CustomItem> list = null;
                try
                {
                    list = factory.Create <CustomItem>("List755");

                    Assert.AreEqual(list.Title, "List755");

                    Assert.That(list1.ContainsContentType <Item>());

                    Assert.That(list.ContainsField(ci => ci.CustomField1), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomField2), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomFieldNumber), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomBoolean), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomUser), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomUsers), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomLookup), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomMultiLookup), Is.True);
                    Assert.That(list.ContainsField(ci => ci.CustomChoice), Is.True);
                    Assert.That(list.ContainsField(ci => ci.Тыдыщ), Is.True);

                    var choiceField = list.GetField(ci => ci.CustomChoice);
                    Assert.NotNull(choiceField.Choices);
                    Assert.That(choiceField.Choices.Count(), Is.EqualTo(3));
                    var choiceWithName = choiceField.Choices.Skip(1).First();
                    Assert.That(choiceWithName, Is.EqualTo("The Choice Number Two"));
                }
                finally
                {
                    if (list != null)
                    {
                        list.DeleteList(false);
                    }
                    list1.DeleteList(false);
                }
            }
        }