@Test
  public void testAddChaseUserListMfa() {

    try {
      Credentials testCredentials = new Credentials("plaid_test", "plaid_good");
      ConnectOptions options = new ConnectOptions();
      options.setList(true);
      TransactionsResponse response =
          plaidUserClient.addUser(testCredentials, "chase", "*****@*****.**", options);
    } catch (PlaidMfaException e) {

      MfaResponse mfaResponse = e.getMfaResponse();
      assertNotNull(mfaResponse);
      assertEquals("list", mfaResponse.getType());
      assertEquals("test_chase", mfaResponse.getAccessToken());
      assertTrue(mfaResponse instanceof DeviceListMfaResponse);
    }
  }
  @Test
  public void testAddChaseUserWithMfaStep() {

    try {
      Credentials testCredentials = new Credentials("plaid_test", "plaid_good");
      ConnectOptions options = new ConnectOptions();
      options.setLogin(true);
      plaidUserClient.addUser(testCredentials, "chase", "*****@*****.**", options);
    } catch (PlaidMfaException e) {

      MfaResponse mfaResponse = e.getMfaResponse();
      assertNotNull(mfaResponse);
      assertEquals("test_chase", mfaResponse.getAccessToken());
      assertEquals("device", mfaResponse.getType());
      assertTrue(mfaResponse instanceof DeviceChoiceMfaResponse);

      TransactionsResponse response = plaidUserClient.mfaConnectStep("1234", "chase");
      assertEquals("test_chase", response.getAccessToken());
      assertTrue(response.getAccounts().size() > 0);
      assertTrue(response.getTransactions().size() > 0);
    }
  }