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

    expected(IllegalArgumentException.class, "accounts!=null");
    accountsManager.hasFunds(null, "Test", BigInteger.TEN);
}