does
For expectations.
todo
cake
does doesn't discombobulate
stores expectations internally in a hash
shrtnd vname mayb bttr
defines instate() to anoint and object with expectatability
creates object.does fuction
does().spectate()
todo
creates function stubs on object
onto the root of exports
stores the object in expectations
keeps the original "replaced" functions in the expectation record
keeps the original "replaced" functions in the expectation record
realize
tags the spectateable with an identity
enables calling the oiginal function
call it spy