I actually prefer this way rather than mocking; it can make things very nice and replaceable.  Zend\Http does a lot of the same type of thing when testing.