This is not quite right since `injector.get(Application) != injector.get(MockApplication)` and I think you want them equal.

Do this instead:

```
bind(MockApplication);
bind(Application, toFactory: (i) => i.get(MockApplication));
```