Practicing dependency injection