public void test_supplyCredentials_delegates_to_stub() throws RemoteException {
    wrapper.onServiceConnected(COMPONENT_NAME, openVpnServiceStub);
    OpenVpnCredentials param = new OpenVpnCredentials("u", "p");

    wrapper.supplyCredentials(param);

    Mockito.verify(openVpnServiceStub).supplyCredentials(param);
  }
  public void test_supplyCredentials_RemoteException_disables_binding() throws RemoteException {
    Mockito.doThrow(new RemoteException())
        .when(openVpnServiceStub)
        .supplyCredentials(Mockito.any(OpenVpnCredentials.class));
    wrapper.onServiceConnected(COMPONENT_NAME, openVpnServiceStub);

    wrapper.supplyCredentials(new OpenVpnCredentials("u", "p"));

    assertFalse(wrapper.isBound());
  }