Why not just `Paginator\Paginator::setCache($this->getMock('... cache interface ... '));`?