public void ListUtility_ThrowIfNullOrEmpty_10() { List <int> first = new List <int> { 1, 2, 3 }; List <int> second = (List <int>)ListUtility.ThrowIfNullOrEmpty(first, "first"); Assert.AreSame(first, second); }
public void ListUtility_ThrowIfNullOrEmpty_12() { int[] first = { 1, 2, 3 }; int[] second = ListUtility.ThrowIfNullOrEmpty(first, "first"); Assert.AreSame(first, second); }
public void ListUtility_ThrowIfNullOrEmpty_8() { int[] array = null; ListUtility.ThrowIfNullOrEmpty(array, "array"); }
public void ListUtility_ThrowIfNullOrEmpty_6() { List <int> list = null; ListUtility.ThrowIfNullOrEmpty(list, "list"); }
public void ListUtility_ThrowIfNullOrEmpty_4() { int[] array = new int[0]; ListUtility.ThrowIfNullOrEmpty(array, "array"); }
public void ListUtility_ThrowIfNullOrEmpty_2() { List <int> list = new List <int>(); ListUtility.ThrowIfNullOrEmpty(list, nameof(list)); }
public void ListUtility_ThrowIfNullOrEmpty_1() { List <int> list = new List <int>(); ListUtility.ThrowIfNullOrEmpty(list); }