function makeMockClass(methodNames) {
  function MockConstructor() {}
  for (var i = 0; i < methodNames.length; i++)
    MockConstructor.prototype[methodNames[i]] = emptyFunction;
  return MockConstructor;
}
/**
 * Make a mock from the supplied |methodNames| array.
 * @param {Array<string>} methodNames Array of names of methods to mock.
 * @return {Function} Constructor with prototype filled in with methods
 *     matching |methodNames|.
 */
Make a mock from the supplied |methodNames| array.
@param {Array} methodNames Array of names of methods to mock.
@return {Function} Constructor with prototype filled in with methods
matching |methodNames|.
Make a mock from the supplied |methodNames| array . @param { Array } methodNames Array of names of methods to mock . @return { Function } Constructor with prototype filled in with methods matching |methodNames| .
function makeMockClass(methodNames) {
  function MockConstructor() {}
  for (var i = 0; i < methodNames.length; i++)
    MockConstructor.prototype[methodNames[i]] = emptyFunction;
  return MockConstructor;
}
function makeMockClass ( methodNames ) { function MockConstructor ( ) { } for ( var i = 0 ; i < methodNames . length ; i ++ ) MockConstructor . prototype [ methodNames [ i ] ] = emptyFunction ; return MockConstructor ; }
Make a mock from the supplied |methodNames| array.
Make a mock from the supplied |methodNames| array .