Clojure - Protocols - support spying on existing implementations
alexanderjamesking opened this issue · 1 comments
alexanderjamesking commented
Currently protocol spies are created via spy.protocol/spy
, however this is more of a stub/mock than a spy. I'd like to add the functionality to spy on an existing implementation of a protocol (just wrapping it), and to rename the current spy.protocol/spy
macro to either mock
or stub
.
alexanderjamesking commented
Fixed in f9eebc2