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

    shouldStartSetup_SuccessCase();
    Bundle response = new Bundle();
    response.putInt(RESPONSE_CODE, DEVELOPER_ERROR.code);
    when(service.getPurchases(API_VERSION, Robolectric.application.getPackageName(), "inapp", null))
            .thenReturn(response);
    helper.queryInventory(false, null, null);
}