On 9 August 2014 12:35, Tom Oram wrote: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
What particular use-case denies using an interface or abstract type instead?