@Test
public void consumePurchase() {

    final Completable completable = Completable.complete();
    when(purchaseManager.consumePurchase(managedProduct)).thenReturn(completable);
    assertEquals(completable, consumableInAppPurchaseConsumer.consumePurchase(managedProduct, PurchaseFamily.Ocr));
}