If I were to write T::MO again, I'd write Test::MockObject::Extends first, then perhaps generalize to T::MO. The less you need to mock, the better your tested API and the more robust your tests.
If you have to mock an accessor, you're probably mocking too much.
In reply to Re: RFC Mocking an Accessor with Test::MockObject
by chromatic
in thread RFC Mocking an Accessor with Test::MockObject
by ait
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |