Hi Tom,

On 9 August 2014 12:35, Tom Oram <t...@scl.co.uk> wrote:

> Thoughts?
>

Possible? Probably, yes.

I'd actually argue that it may not be a good solution: it seems to me that
if you have to resort to this kind of mocking, then someone type-hinted
against a concrete implementation, which is a smell. Shouldn't that be
fixed instead?

What particular use-case denies using an interface or abstract type instead?

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

Reply via email to