@Test
public void testTransfer_MultiSig_NotEnoughSignersPresent() throws IOException {

    setUpWireMockForCall("invokescript", "invokescript_transfer.json");
    setUpWireMockForGetBlockCount(1000);
    setUpWireMockForInvokeFunction("decimals", "invokefunction_decimals.json");
    setUpWireMockForBalanceOf(account1.getScriptHash(), "invokefunction_balanceOf_4.json");
    setUpWireMockForBalanceOf(multiSigAccount.getScriptHash(),
            "invokefunction_balanceOf_3.json");
    byte[] expectedScript = new ScriptBuilder().contractCall(NEO_TOKEN_SCRIPT_HASH,
            NEP5_TRANSFER, Arrays.asList(
                    ContractParameter.hash160(account1.getScriptHash()),
                    ContractParameter.hash160(RECIPIENT_SCRIPT_HASH),
                    ContractParameter.integer(2))).toArray();
    TransactionBuilder b = neoToken.transfer(Wallet.withAccounts(multiSigAccount,
            account1), RECIPIENT_SCRIPT_HASH, new BigDecimal("2"));
    assertThat(b.getScript(), is(expectedScript));
}