コード例 #1
0
  @Test
  public void test_Wallets_Create() throws Exception {
    UserNatural john = this.getJohn();
    Wallet wallet = this.getJohnsWallet();

    assertTrue(wallet.Id.length() > 0);
    assertTrue(wallet.Owners.contains(john.Id));
  }
コード例 #2
0
  @Test
  public void test_Wallets_Get() throws Exception {
    UserNatural john = this.getJohn();
    Wallet wallet = this.getJohnsWallet();

    Wallet getWallet = this._api.Wallets.get(wallet.Id);

    assertEquals(wallet.Id, getWallet.Id);
    assertTrue(wallet.Owners.contains(john.Id));
  }