@Test
public void transferFromDefaultAccountShouldAddAccountAsSigner() throws Throwable {

    setUpWireMockForCall("invokescript", "invokescript_transfer.json");
    setUpWireMockForInvokeFunction("decimals", "invokefunction_decimals_gas.json");
    setUpWireMockForGetBlockCount(1000);
    setUpWireMockForBalanceOf(account1.getScriptHash(),
            "invokefunction_balanceOf_300000000.json");
    Transaction tx = gasToken.transferFromDefaultAccount(Wallet.withAccounts(account1),
            RECIPIENT_SCRIPT_HASH, BigDecimal.ONE)
            .buildTransaction();
    assertThat(tx.getSigners().get(0).getScriptHash(), is(account1.getScriptHash()));
    assertThat(tx.getSigners().get(0).getScopes().get(0), is(WitnessScope.CALLED_BY_ENTRY));
    assertThat(tx.getSender(), is(account1.getScriptHash()));
}