ArrayUtilityTest.prototype.test_removeItem_ReturnsOriginalArrayIfNoItemIsFound = function() { var testArray = [1, 2, 3]; assertEquals(ArrayUtility.removeItem(testArray, 42), testArray); };
function() { ArrayUtility.removeItem([1, 2, 3], NaN); },
ArrayUtilityTest.prototype.test_removeItem_RemovesAnItemThatIsInArray = function() { var testArray = [1, 2, 3]; assertEquals(ArrayUtility.removeItem(testArray, 1), [2, 3]); };
function() { ArrayUtility.removeItem('not an array', 42); },