@Test(expected = IabException.class) public void shouldConsumeInAppItemErrorResponse() throws Exception {

    shouldStartSetup_SuccessCase();
    Purchase purchase = mock(Purchase.class);
    when(purchase.getToken()).thenReturn("foo");
    when(purchase.getItemType()).thenReturn(INAPP);
    when(service.consumePurchase(API_VERSION, Robolectric.application.getPackageName(), "foo")).thenReturn(ERROR.code);
    helper.consume(purchase);
}