Dagger has helped this project a lot but at the moment there is a hard coded dependency on the production DaggerComponent. This limits what we can do with tests.
- AppCenterRecorder class does not refer directly to production Dagger Component.
- Test Dagger Component is available.
- Integration tests are updated to reference the Test Dagger Component.
- Additional tests are added for Integration tests that attempt to parse the APK but fail because we don't supply a valid APK in tests.
- Optionally: Remove the set base url in the AppCenterRecorder. This is only here for testing purposes but if it could be injected that would be ideal.