DI 2.0.0

The tests for this file should be in test/generator_spec.dart