/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.android.gnd;

import androidx.work.WorkManager;
import com.google.android.gnd.persistence.remote.FakeRemoteDataStore;
import com.google.android.gnd.persistence.remote.FakeRemoteStorageManager;
import com.google.android.gnd.persistence.remote.RemoteDataStore;
import com.google.android.gnd.persistence.remote.RemoteStorageManager;
import com.google.android.gnd.persistence.sync.FakeWorkManager;
import com.google.android.gnd.persistence.uuid.FakeUuidGenerator;
import com.google.android.gnd.persistence.uuid.OfflineUuidGenerator;
import com.google.android.gnd.system.auth.AuthenticationManager;
import com.google.android.gnd.system.auth.FakeAuthenticationManager;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
import javax.annotation.Nullable;
import javax.inject.Singleton;
import org.mockito.Mockito;

@Module
@InstallIn(SingletonComponent.class)
abstract class TestDependenciesModule {

  @Provides
  @Singleton
  static WorkManager provideWorkManager() {
    return new FakeWorkManager();
  }

  @Binds
  @Singleton
  abstract AuthenticationManager bindAuthenticationManager(
      FakeAuthenticationManager authenticationManager
  );

  @Binds
  @Singleton
  abstract RemoteDataStore bindRemoteDataStore(FakeRemoteDataStore remoteDataStore);

  @Binds
  @Singleton
  abstract RemoteStorageManager bindRemoteStorageManager(
      FakeRemoteStorageManager remoteStorageManager
  );

  @Binds
  @Singleton
  abstract OfflineUuidGenerator offlineUuidGenerator(FakeUuidGenerator uuidGenerator);
}

@@ -1435,86 +1435,24 @@
 vax.
-annotation.Nullable;%0Aimport javax.inject.Singleton;%0Aimport org.mockito.Mockito
+inject.Singleton
 ;%0A%0A@

Remove unused imports