public void test_getStatus_RemoteException_returns_stopped() throws RemoteException {
    Mockito.when(openVpnServiceStub.getStatus()).thenThrow(new RemoteException());
    wrapper.onServiceConnected(COMPONENT_NAME, openVpnServiceStub);

    OpenVpnState status = wrapper.getStatus();

    assertFalse(status.isStarted());
  }
  public void test_getStatus_RemoteException_disables_binding() throws RemoteException {
    Mockito.when(openVpnServiceStub.getStatus()).thenThrow(new RemoteException());
    wrapper.onServiceConnected(COMPONENT_NAME, openVpnServiceStub);

    wrapper.getStatus();

    assertFalse(wrapper.isBound());
  }