@Test public void shouldConsumeAsyncSinglePurchase() throws Exception {

    shouldStartSetup_SuccessCase();
    Purchase purchase = mock(Purchase.class);
    when(purchase.getToken()).thenReturn("foo");
    when(purchase.getItemType()).thenReturn(INAPP);
    OnConsumeFinishedListener listener = mock(OnConsumeFinishedListener.class);
    when(service.consumePurchase(API_VERSION, Robolectric.application.getPackageName(), "foo")).thenReturn(OK.code);
    helper.consumeAsync(purchase, listener);
    verify(listener).onConsumeFinished(purchase, new IabResult(OK));
}