@Test
public void testTransferFundsWithNegativeNonceShouldThrowException() throws IOException, ClassNotFoundException {

    expected(IllegalArgumentException.class, "nonce>=0");
    accountsManager.transferFunds(accounts, "Sender", "Receiver", BigInteger.TEN, BigInteger.valueOf(-1), operation);
}