Verifying dependency injection.