> If the functionality you are testing does not directly involve the cache,
> and you just need an adequate mock, I find the memory (array) adapter works
> It has no dependencies and will always return what you place in it. You
> can also prime it with required data in your beforeEach statements.
> On 8 March 2014 00:55, Julian Vidal <[hidden email]> wrote:
>> In ZF1 there used to be a BlackHole adapter that was a dummy
>> meant for unit tests. I can't seem to find anything like that in ZF2 so I
>> created my own.
>> Since I might be looking in the wrong place or missing something, my
>> question is: how are people using ZF2 testing objects that need a zend
>> cache adapter?