ConsumableInAppPurchaseConsumer implements InAppPurchaseConsumer<ConsumablePurchase> { @Override public boolean isConsumed(@NonNull ConsumablePurchase managedProduct, @NonNull PurchaseFamily purchaseFamily) { return false; } @Inject  ConsumableInAppPurchaseConsumer(@NonNull PurchaseManager purchaseManager); @Override boolean isConsumed(@NonNull ConsumablePurchase managedProduct, @NonNull PurchaseFamily purchaseFamily); @Override Completable consumePurchase(@NonNull ConsumablePurchase managedProduct, @NonNull PurchaseFamily purchaseFamily);  }
@Test public void isConsumed() { assertFalse(consumableInAppPurchaseConsumer.isConsumed(managedProduct, PurchaseFamily.Ocr)); }