change to `throw 'MockApplications can not create injectors';` This will remove the dep on `DynamicInjector`