lawrencelomax / LLReactiveMatchers

Expecta matchers for ReactiveCocoa
MIT License
46 stars 12 forks source link

Matcher - beSubscribedTo(count) #15

Closed lawrencelomax closed 10 years ago

lawrencelomax commented 10 years ago

A matcher for the number of subscriptions a Signal takes, important for testing side-effects for Signals that perform side-effects on Subscription.

This will probably not be orthogonal to the changes made to LLSignalTestRecorder, which now has multicasting behaviour. Ideally the monitoring of subscription counts would occur inside the recorder so as to avoid swizzling subscribe: on RACSignal

lawrencelomax commented 10 years ago

Closed by #18