ReceiptRefreshTripPricesListener extends RefreshTripPricesListener<Receipt> implements ReceiptTableEventsListener { @Override public void onMoveFailure(@NonNull Receipt oldReceipt, @Nullable Throwable e) { } ReceiptRefreshTripPricesListener(@NonNull TableController<Trip> tripTableController); @Override void onMoveSuccess(@NonNull Receipt oldReceipt, @NonNull Receipt newReceipt); @Override void onMoveFailure(@NonNull Receipt oldReceipt, @Nullable Throwable e); @Override void onCopySuccess(@NonNull Receipt oldReceipt, @NonNull Receipt newReceipt); @Override void onCopyFailure(@NonNull Receipt oldReceipt, @Nullable Throwable e); @Override void onGetSuccess(@NonNull List<Receipt> list, @NonNull Trip trip); @Override void onGetFailure(@Nullable Throwable e, @NonNull Trip trip);  }
@Test public void onMoveFailure() { mReceiptRefreshTripPricesListener.onUpdateFailure(mReceipt, null, new DatabaseOperationMetadata()); verifyZeroInteractions(mTripTableController); }