__subject Class
Mock
Methods
extend
()
Define a function that when run will return an instance of its prototype object.
All arguments passed to the extend method
will be passed on to this.prototype.extend
method.
proto
()
Augments the prototype.
Properties
prototype
Object
The prototype object.
When the __subject function is run, it will
create an instance of this.prototype
and call its
initialize method.