@Test public void shouldFailPurchaseWhenRemoteExceptionIsThrown() throws Exception {

    shouldStartSetup_SuccessCase();
    when(service.getBuyIntent(API_VERSION, Robolectric.application.getPackageName(), "sku", "inapp", "")).thenThrow(new RemoteException());
    helper.launchPurchaseFlow(null, "sku", INAPP, TEST_REQUEST_CODE, purchaseFinishedListener, "");
    verify(purchaseFinishedListener).onIabPurchaseFinished(
            new IabResult(IABHELPER_REMOTE_EXCEPTION),
            null);
}