docs: function (needle, haystack, index, message) {
  
          //try to find the value in the array
          for (var i=haystack.length; i >= 0; i--){
              if (haystack[i] === needle){
                  if (index != i){
                      YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value exists at index " + i + " but should be at index " + index + "."));
                  }
                  return;
              }
          }
  
          //if it makes it here, it wasn't found at all
          YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value doesn't exist in array."));
      }