private static void FindAllBody(bool saveOrder) { var distributedArray = new BigArray <int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; distributedArray = distributedArray.FindAll(IsMultipleOf2, saveOrder); var resultArray = new BigArray <int> { 2, 4, 6, 8, 10 }; CheckEqual(distributedArray, resultArray); var emptyArray = new BigArray <int>(); Assert.IsEmpty(emptyArray.FindAll(IsMultipleOf2, saveOrder)); //Exceptions ExceptionManager.IsThrowFuncException <ArgumentNullException, Predicate <int>, bool, BigArray <int> > (distributedArray.FindAll, null, saveOrder); }