[![IMAGE ALT TEXT](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE "Video Title")
#Maven tips and links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The code below takes a constructor and exposes its private functions | |
Useful for unit testing (not general use). An example usage is below it. | |
Access to the private functions available through the _privMems property. */ | |
/* Original credit goes to Rob Gravelle | |
http://www.htmlgoodies.com/beyond/javascript/accessing-private-functions-in-javascript.html */ | |
var Reflection = {}; | |
Reflection.createExposedInstance = function(objectConstructor, args) | |
{ |
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies