Well, it does the job. Probably instead of `OpenStruct.new` you could use regular double like: `double(:redis_pool)` or  `Object.new` but it's ok.