(Int) => (Int) as a generic selector does not make sense since the 'hashing' could be applied to anything. Also, only the executor count is passed?!

Did you do it for mocking ? :)