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

    shouldStartSetup_CheckForSubscriptions_Unavailable();
    Bundle response =  createInventoryResponseBundle("foo");
    Bundle skuDetails = new Bundle();
    skuDetails.putInt(RESPONSE_CODE, ERROR.code);
    when(service.getPurchases(API_VERSION, Robolectric.application.getPackageName(), "inapp", null))
            .thenReturn(response);
    when(service.getSkuDetails(eq(API_VERSION),
            eq(Robolectric.application.getPackageName()),
            eq("inapp"),
            any(Bundle.class)))
            .thenReturn(skuDetails);
    helper.queryInventory(true, null, null);
}