@Test(expected = IllegalArgumentException.class) public void handleDeleteForIllegalMarkedForDeletionState() { when(syncState1.isMarkedForDeletion(SyncProvider.GoogleDrive)).thenReturn(false); driveReceiptsManager.handleDelete(receipt1); }
public synchronized void handleDelete(@NonNull final Receipt receipt) { if (!mIsInitializing.get()) { handleDeleteInternal(receipt); } }
DriveReceiptsManager { public synchronized void handleDelete(@NonNull final Receipt receipt) { if (!mIsInitializing.get()) { handleDeleteInternal(receipt); } } }
DriveReceiptsManager { public synchronized void handleDelete(@NonNull final Receipt receipt) { if (!mIsInitializing.get()) { handleDeleteInternal(receipt); } } DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController, @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable, @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager, @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics);  DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController,
                                @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable,
                                @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager,
                                @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics,
                                @NonNull DriveStreamMappings driveStreamMappings,
                                @NonNull ReceiptBuilderFactoryFactory receiptBuilderFactoryFactory,
                                @NonNull Scheduler observeOnScheduler,
                                @NonNull Scheduler subscribeOnScheduler); }
DriveReceiptsManager { public synchronized void handleDelete(@NonNull final Receipt receipt) { if (!mIsInitializing.get()) { handleDeleteInternal(receipt); } } DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController, @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable, @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager, @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics);  DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController,
                                @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable,
                                @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager,
                                @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics,
                                @NonNull DriveStreamMappings driveStreamMappings,
                                @NonNull ReceiptBuilderFactoryFactory receiptBuilderFactoryFactory,
                                @NonNull Scheduler observeOnScheduler,
                                @NonNull Scheduler subscribeOnScheduler); @SuppressLint("CheckResult") synchronized void syncReceipts(); synchronized void enable(); synchronized void disable(); synchronized void handleInsertOrUpdate(@NonNull final Receipt receipt); synchronized void handleDelete(@NonNull final Receipt receipt); }
DriveReceiptsManager { public synchronized void handleDelete(@NonNull final Receipt receipt) { if (!mIsInitializing.get()) { handleDeleteInternal(receipt); } } DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController, @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable, @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager, @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics);  DriveReceiptsManager(@NonNull TableController<Receipt> receiptsTableController,
                                @NonNull TripsTable tripsTable,
                                @NonNull ReceiptsTable receiptsTable,
                                @NonNull DriveStreamsManager driveTaskManager,
                                @NonNull DriveDatabaseManager driveDatabaseManager,
                                @NonNull NetworkManager networkManager,
                                @NonNull Analytics analytics,
                                @NonNull DriveStreamMappings driveStreamMappings,
                                @NonNull ReceiptBuilderFactoryFactory receiptBuilderFactoryFactory,
                                @NonNull Scheduler observeOnScheduler,
                                @NonNull Scheduler subscribeOnScheduler); @SuppressLint("CheckResult") synchronized void syncReceipts(); synchronized void enable(); synchronized void disable(); synchronized void handleInsertOrUpdate(@NonNull final Receipt receipt); synchronized void handleDelete(@NonNull final Receipt receipt);  }