@Test public void shouldLaunchPurchaseAndStartIntentAndThenHandleActivityResultWithErrorResponseCode() throws Exception {

    shouldStartIntentAfterSuccessfulLaunchPurchase();
    Intent data = new Intent();
    data.putExtra(RESPONSE_CODE, ERROR.code);
    assertThat(helper.handleActivityResult(TEST_REQUEST_CODE, Activity.RESULT_OK, data)).isTrue();
    verify(purchaseFinishedListener).onIabPurchaseFinished(new IabResult(ERROR, "Problem purchashing item."), null);
}