public void IList_NonGeneric_Insert_LastItemToNull(int count)
{
if (!IsReadOnly && !ExpectedFixedSize && NullAllowed)
{
IList list = NonGenericIListFactory(count);
object value = null;
int lastIndex = count > 0 ? count - 1 : 0;
list.Insert(lastIndex, value);
Assert.Equal(value, list[lastIndex]);
Assert.Equal(count + 1, list.Count);
}
}