Re: Multimethod mock using clojure.contrib.mock

2011-04-13 Thread pba
Brian, I'm not familiar with the format of midje tests, I'll take a look and provide you a couple of samples. On Apr 12, 7:52 pm, Brian Marick wrote: > On Apr 12, 2011, at 10:29 AM, pba wrote: > > > Is it possible to mock multimethods using clojure.contrib.mock ? I'm > > testing a controller imp

Re: Multimethod mock using clojure.contrib.mock

2011-04-12 Thread Brian Marick
On Apr 12, 2011, at 10:29 AM, pba wrote: > Is it possible to mock multimethods using clojure.contrib.mock ? I'm > testing a controller implementation and want to verify a defmethod for > "type A" calls another for "type B" where "type" is the dispatching > key. Thus far, I haven't seriously gra

Multimethod mock using clojure.contrib.mock

2011-04-12 Thread pba
Is it possible to mock multimethods using clojure.contrib.mock ? I'm testing a controller implementation and want to verify a defmethod for "type A" calls another for "type B" where "type" is the dispatching key. Thanks. -- You received this message because you are subscribed to the Google Group