nl_tokens: Mocker constructor
pl_tokens: function Mocker ( obj , methodName , mockFn ) { this . obj = obj ; this . methodName = methodName ; this . originalFn = obj [ methodName ] ; this . <mask> = [ ] ; //Assign new function mockFn = mockFn || this . originalFn ; obj [ methodName ] = wrapFn ( this , mockFn ) ; }