private static DependencyInjectorModule createModuleForIntegrationTesting() {
    // We have to load these modules using Reflection since they are not present in the app package.
    // The class is present in the test package.
    String packageName = DependencyInjectorModule.class.getPackage().getName();
    String className = packageName + ".DependencyInjectorModuleForIntegrationTesting";
    try {
      return (DependencyInjectorModule) Class.forName(className).newInstance();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
Creates the module to be used when running automated tests.
java/com/google/android/apps/authenticator/testability/DependencyInjector.java