rem: [Array.prototype, String.prototype, Number.prototype].each( 
add:  Test.BDDMethods = {}; $H(METHODMAP).each(function(pair) { Test.BDDMethods[pair.key] = function() { var args = $A(arguments); var scope = args.shift(); makeAssertion.apply(scope, [pair.value, args, this]); }; });  [Array.prototype, String.prototype, Number.prototype, Boolean.prototype].each( 
context: Test.setupBDDExtensionMethods = function(){  var METHODMAP = {    shouldEqual:     'assertEqual',    shouldNotEqual:  'assertNotEqual',    shouldEqualEnum: 'assertEnumEqual',    shouldBeA:       'assertType',    shouldNotBeA:    'assertNotOfType',    shouldBeAn:      'assertType',    shouldNotBeAn:   'assertNotOfType',    shouldBeNull:    'assertNull',    shouldNotBeNull: 'assertNotNull',        shouldBe:        'assertReturnsTrue',    shouldNotBe:     'assertReturnsFalse',    shouldRespondTo: 'assertRespondsTo'  };  Test.BDDMethods = {};  for(m in METHODMAP) {    Test.BDDMethods[m] = eval(      'function(){'+      'var args = $A(arguments);'+      'var scope = args.shift();'+      'scope.'+METHODMAP[m]+'.apply(scope,(args || []).concat([this])); }');  }  [Array.prototype, String.prototype, Number.prototype].each(    function(p){ Object.extend(p, Test.BDDMethods) }  );}
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/2d4247a14ff4ce25ad80cbc65b787dfde7ddb16e/unittest.js/buggy/typo3/contrib/scriptaculous/unittest.js