@Test public void shouldQueryInventoryWithoutSubscriptionsButSkuDetails() throws Exception {

    shouldStartSetup_CheckForSubscriptions_Unavailable();
    Bundle response = createInventoryResponseBundle("foo");
    Bundle skuDetails = createSkuDetailsResponseBundle("foo");
    when(service.getPurchases(API_VERSION, Robolectric.application.getPackageName(), "inapp", null))
            .thenReturn(response);
    when(service.getSkuDetails(eq(API_VERSION),
            eq(Robolectric.application.getPackageName()),
            eq("inapp"),
            TestHelper.BundleStringArrayListMatcher.bundleWithStringValues(GET_SKU_DETAILS_ITEM_LIST, "foo")))
       .thenReturn(skuDetails);
    Inventory inventory = helper.queryInventory(true, null ,null);
    assertThat(inventory.getAllPurchases()).hasSize(1);
    assertThat(inventory.getAllOwnedSkus()).hasSize(1);
    assertThat(inventory.getSkuDetails()).hasSize(1);
}