Practical Microservices: DI suggestion (p. 37, etc.)

I agree with you. With the concrete function being used, controlling the ID in test has to resort to unholy mocking practices. Thank you for pointing it out.